Modifying AoS

Jul 22, 2012 at 3:31 AM

I'm needing some help as am wanting to change the controls in AoS to use two virtual thumbsticks one for moving and the other to rotate the player the direction on the stick and also shoot. When trying to do this I tested just the left stick first by adding the y direction but the player will continue to rotate in circles instead of just  moving to the direction being pressed on the stick and stopping in that direction but am unsure as to what I should do. Any suggestions and advice will be appreciated.

Jul 22, 2012 at 8:48 AM

The actual mapping for the virtual gamepad is assigned in the AceOnSteroidsApplication class in Initialize.

If you take a look at the player class, different behaviours are defined in Logic/Behaviours and added to the player.

One of these is PlayerInputBehaviour which defines the behaviour based on input like you described.