How to make a timer that continues throughout levels?

Hello, I want to make a timer in my game that tells the player how long they are taking to finish the game. I have to timer, but after each level it resets. Does anyone know how to make the timer keep going even after reaching a new level? Thank you.

Here is my game https://flowlab.io/game/play/2422861

1 Like

Hi, @RainyNights !
ā€œGlobalsā€ are like numbers, but save between levels. You can set one, with a timer to the ā€˜+ā€™ function. This will add however much the input number is. When you then go to the next level, it will still be the same. Hope this helps!

If you need more explanation, I can explain it furthermore, but I might not be able to. If I do not respond.

3 Likes
  1. Copy the Timer bundle from the player object and delete it. Then, create a separate timer object and paste the bundle in.
  2. Place the timer object in the first level only (make sure its offscreen or invisible).
  3. Set the timer object to ā€œKeep Between Levelsā€.

(if you donā€™t want to create a new object and reduce your object limit, you can use Globals like @Good_Games suggested; also you can click the help icon inside any behavior to learn how to use it)

1 Like