How to add Game Over and Restart button in my Kodular game?

Hello everyone,
I am creating a simple game in Kodular using Canvas and Clock component.
I want to add a Game Over screen and a Restart button when the player loses.

Can anyone guide me how to do this with blocks?
Also, how can I reset the game screen to the beginning?

Thank you in advance! :blush:

1 Like

Hi saiman,

You have several options

Game over screen:

  • You can use a notifier with a message indicating the loss and the score achieved
  • Or you can hide all components and make a hidden Layout visible with a โ€˜Game Overโ€™ message (this option allows you to customize your screen more)
  • Or by using a snackbar

Game reset:
Regarding this, you should explain a bit more about what your game is about.