So I'm making a platformer and I want the finish/ goal line to only appear after the player has collected all of the coins, but I'm not sure how to do that. Can anyone help?
Develop games in your browser. Powerful, performant & highly capable.
Have a global variable for total number of coins. Add 1 to a different global variable every time you pick up a coin. When the second variable equals the first variable then show game end logic.