My game is pretty simple, it consists in avoiding some falling objects. When the player collides with the object three times, a message appears saying "Game Over". And here comes my problem, I want to add a restart button, but I don't understand how to actually restart the game.
I've tried using scenes, but I don't understand how they work, can someone explain them to me?
Since the game is a single level, I've also tried avoiding them, and almost succeed, but I was unable to stop the collision detection. Is there a real alternative to scenes to restart the game?
Can someone please help me? Any tip is appreciated