How can I make a countdown...?

Hi everyone! How can I make and display a sixty minute countdown on the screen? I want that when that time passes I change the screen and put gameover.
Thanks in advance!:hugs:

Make a timer, on the beginning of the scene reset it and set a variable countdown to the number of seconds to make that time. Add an event with condition timer is >= 1 and actions reset timer and substract one of the variable countdown. For showing it divide the value of the variable by 60 and show the number before the period as minutes and the ones after as the seconds. Add an event variable countdown is = 0 and action change scene to game over.

1 Like

Thank you, I’ll try itπŸ˜…

Well gdevelop has a new example on that. If you are not clear on how that works or you need another method checkout this tutorial

1 Like