Download

Virtual Joystick/Swipe to emulate Keyboard Buttons

Hi There,

I’m currently developing an endless runner game for Android. On corners when I press A and D the character turns 90 degrees in the desired direction when in an overlap event box component.
However when using the virtual joystick my character just keeps running straight.

Keyboard mappings
keyboard.jpg

Joystick mapping (Incomplete)
Gamepad.jpg

Is there a way for the Gamepad left and right to emulate the A and D keys?

Or alternatively is there a way for the gamepad left and right to turn 90 degrees in whichever direction on the corner overlap?