Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Slasher on Sun 04/12/2016 21:00:03

Title: KeyboardMovement.SetMode(eKeyboardMovement_Pressing); problem
Post by: Slasher on Sun 04/12/2016 21:00:03
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?
Title: Re: KeyboardMovement.SetMode(eKeyboardMovement_Pressing); problem
Post by: 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.

Title: Re: KeyboardMovement.SetMode(eKeyboardMovement_Pressing); problem
Post by: Slasher on Sun 04/12/2016 21:31:08
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!