So I have this game that I want to work like this Tron game.
disney.go.com/games
Basically it works like this.
Players idle animation looks like he is running but he is actually static.
Player can not move left or right.
Player can jump and tumble. Both of these will not move the player forward.
Solid floors are moving below the player but do not carry him backwards as would normally happen. Causing it to look like the player is moving forward across the level.
The way I am currently doing it is sorta buggy. I have a solid invisible wall behind the player and I have him moving right at the same speed that the floors are moving left. When he jumps I set his speed to 0 so that he doesn't jump forward and when he lands his speed is set back to normal.
There has go to be a better way of achieving this.
Any help?