Left, Right, Up Lose: fall in lava Win: get to cheesy puffs at end
This project was made just as an example of how you can create a platformer. There isn't much creativity put into it, but I hope someone finds the methods involved useful. Create a list for x positions and a list for y positions. Each time the player moves, update a variable keeping track of the player's x position, this is not the player's on-screen position, as that never changes. For each platform's x, if it's on-screen (close enough to the player x), stamp a platform there.