Author Topic: Adventure Game Controls  (Read 2013 times)

I think he MIGHT want the movement keys separated from the view (W always moves north, S always moves south).

Not entirely sure.


This should make it simpler to understand. The arrows represent which directional button is being pressed, and the bots represent which way my character will face before moving.

So like a top-down style game?

So like a top-down style game?
Or a 3rd person action adventure game.


I never said I was terrified. I said the control scheme sounds horrifying. If you want to "make the player turn and move left when I hold A" then what you mean is neither a strafing movement to the left, nor a rotational movement to the left. It means both. At the same time. Which is, technically, what the code I gave you does.

If you want to be an starfish to me because I give you code that works while simultaneously pointing out that I don't want to ram some strange control scheme down the throats of every single person who joins every single server you run this mod on, fine. Just don't expect to get to both do that and have my help in future.
I think he MIGHT want the movement keys separated from the view (W always moves north, S always moves south).

Not entirely sure.

He wants a script that makes pressing the "a" key the same as moving the mouse left
So
When he holds down "A" for say, 1 second, the player will have rotated a full 180 degrees to the left

He wants a script that makes pressing the "a" key the same as moving the mouse left
So
When he holds down "A" for say, 1 second, the player will have rotated a full 180 degrees to the left

No.