Counter counting down

How do I make a countdown that counts down from 1 minute using an game overlay?
Screenshot 2025-03-05 12.09.26

Most of the guides I searched up don’t have any pictures so it would be nice if you include some pictures on how to do it. Thank you

I recently set this system up. I’ll get you the photo real quick…

Lifecycle: set on game start
Trigger, trigger when receive on channel x, trigger on channel x when triggered, make the delay 1 second.
Property set on numbers, name = [Property A]
Counter default value 60, target value 0, update on [Property A] property
Overlay → go to blocks and create a block when received on channel x:

Set overlay [create text with - Get property (Property A)]

Wires:

Lifecycle (event occurs) - trigger (trigger)
Trigger (triggered) - counter (decrement value)

1 Like

1 Piece of block code is required for this system

  • First Thing I did was set up a Lifecycle to send a channel signal on Game Start. For simplicity, I set the channel name to “Game Start.” If you want to start the timer through a different channel or through a different device, replace any “Game Start” names to your own and transmit that signal when your chosen device is activated!
    Screenshot 2025-03-05 11.48.27 AM
  • Next, you want to get a property. I will show you the Starting timer, since it isn’t as complicated as the sand timer.
    Screenshot 2025-03-05 11.49.57 AM
  • Set your property to these settings. The Name is up to you. Just remember it for later!
    Screenshot 2025-03-05 11.51.07 AM
    Now you have the properties and the starting channel set up. Now you can move on to the coding part.
  • First, set up a trigger loop, with both triggers activating each other through wires.
    Screenshot 2025-03-05 11.48.35 AM
    Screenshot 2025-03-05 11.47.39 AM
  • For the First Trigger set it to these settings. The channel names are up to you, but I name it simple to transmit through the channel “Timer”. Make sure Player Collision is off so it won’t break anything!!
    Screenshot 2025-03-05 12.05.12 PM
    Screenshot 2025-03-05 12.05.27 PM
  • Set the delay to 0 for the second trigger and have no channels set up! Channels on the second trigger will break the whole loop. Keep the config settings

Now it is on to the counter, which will store the correct number data.

  • Here are my settings for the counter. Since you want the timer to decrease, you would want to put the trigger loop channel (Timer) in the “Decrement Counter” channel and make sure to set the scope to global so everyone can see it.
    Screenshot 2025-03-05 11.51.43 AM
  • Now you want to connect the counter to the property we set up earlier by putting the name in the “Property to update.”
    Screenshot 2025-03-05 11.51.55 AM
  • Now it is time for the onscreen overlay! Make sure it is set to “text.” Make sure you don’t set the text to anything. That will be covered in the next step. I find the playthrough to be better when the overlay shows on the channel that starts the timer. For me, that would be “Game Start.”
    Screenshot 2025-03-05 11.54.00 AM
  • In the Overlay, create a new block, run the block on your Trigger Loop channel (Timer), and put this code in it. You can set the top sentence to whatever you want to fit your needs, but make sure to add a space after to separate the number.
    Screenshot 2025-03-05 11.54.21 AM

There you have it! It will now display a countdown on the Screen Overlay in game! If you would like a breakdown of the system or any components just ask!