Hey everyone :)
Trying to create my first Doodle Jump clone, and I want the player to be able to move with touch.
Unodrtunnly I'm having trouble understanding how to do it. The only option I seem to find is to set position - Which means whenever the player clicks on a new location, the character will teleport there and not move in that direct position.
Any suggestion on how to fix that?
Develop games in your browser. Powerful, performant & highly capable.
As you need the jump I guess my approach would be to give the player the platform behaviour. Then logic for movement would be 'Is in touch', touch.x < player.x then platform simulate control left, else simulate control right.
Thank you very much!
It helped A LOT - If someone is looking for this in the future - God knows I still look at posts from 2015, That's what I did.