How can I make the player reset to the start when it is off screen and how do I make the lives (on a global variable) go down?
If the player falls off the screen how do I make the player sprite die and loose a life?
How do I make it so that the player starts with 3 lives and when the player dies they lose one?
Develop games in your browser. Powerful, performant & highly capable.
How do I pick up an object (key) then the door opens and the player can get to a different level?
What is a Boolean variable?
for example, I pick up a key, and somehow that makes the door open up so I can go to it.
How does the player pick the key up and then the door opens