I am working on a side-scroller and encountered a problem.
I started from the example auto-runner and moved on trough the project.
My problem is this,the game gradually get speed over time and everything is fine until I jump.When jumping at high speed the player seems to get extra .x and when landing on ground he slides back to the last position.
This might be hard to understand so I will post a capx with enough speed to see the problem.
dropbox.com/s/xahico8onxuzzsh/SiSc.capx
It's a bit messy and got another problem(which I would like someone to explain for me) where the player jumps about 5 time forward to about 10 pixels if it is hold back.