Hi! i have the following situation. i have a player moving to the right (always). It would be a platform like game.
So i need the world to be created on the go as he keeps advancing. What would the logic be?
I was thibking the following.
1)Keep moving him to the right and of course camera follows him.
2)Every frame check his position and the distance traveled from the last "checkpoint"
3)When this distance from check point is x ( that would be when he is about to reach a point there is no platform) create one
4)Also remove those platforms as they are passed by.
Any ideas?