Hello. I am developing my first platformer game and have problem with character moving logic using Chipmunk.
Please help me
I have buttons “left” and “right” and I need character move only if button is pressed. Moreover if character impact to the barrier and jump after this, character should continue moving(above the barrier) because “right” button is still pressed. I mean constant moving if button is pressed and path is clear.
How can I implement this moving?
PS I have tried many ways but every has some problems.