I'm creating a platform game, in ehich I would like my player to remain exactly in the same spot throughout the game, and have only the background and objects move.
The problem is that if the player doesn't jump fast enough over an object, the object continues scrolling and the player is dragged backwards.
I want the horizontal scroll to stop the moment that the player collides with an object.
I would also like for the screen to move vertically when the player jumps and lands....
Any help please?