KeyboardMovement.SetMode(eKeyboardMovement_Pressing); problem

Started by Slasher, Sun 04/12/2016 21:00:03

Previous topic - Next topic

Slasher

I'm using the keyboard for my games interactions/events, guis etc etc and done away with the mouse.

however, the player only moves a step if i keep the arrow keys pressed even though
KeyboardMovement.SetMode(eKeyboardMovement_Pressing); is selected.
if i change it to  KeyboardMovement.SetMode(eKeyboardMovement_Tapping);  it kind of works.


any thoughts?

Cassiebsg

One walks while you continue pressing the key, while the other you press it and release the key, and the character will walk in the pressed direction until an obstacle is meet.

There are those who believe that life here began out there...

Slasher

Quote from: Cassiebsg on Sun 04/12/2016 21:22:47
One walks while you continue pressing the key, while the other you press it and release the key, and the character will walk in the pressed direction until an obstacle is meet.
or preset distance x y is reached.
This I know... but it appears to have reversed!

SMF spam blocked by CleanTalk