Better Platformer Movement
dmiller
Member Posts: 2
Hey all,
I'm working on a Platformer (how I've got my rules set up - http://imgur.com/0WO4Md1).
With my current control scheme if you switch quickly between "D" and "A" the player actor will stop moving, instead of moving in the direction of the key press.
Does anyone know if there is a an approach I could take to get a tighter, more responsive control set up?
Any help would be much appreciated.
Thanks!
Comments
Try this:
If A is down AND D is up
Change velocity X to -150
Otherwise
If A is up AND D is down
Change velocity X to 150
Otherwise
Change velocity X to 0
Mental Donkey Games
Website - Facebook - Twitter
@MentalDonkeyGames you are a god walking amongst mere mortals. That worked perfectly. Thank you!