Starting a timer when a button is clicked

Hello,

I am trying to make a Escape Room Box which will be a physical game but in order to move on with certain parts of the game, the players must enter codes they find in the game, on the website/app.

But one issue I have currently, and the biggest probably. Is creating a timer
which will start counting down when the player starts the game.

So once “Start Game” button is clicked, the timer will start counting down from 60 or 90 minutes. Once the countdown ends, they will get a pop-up that the countdown ended, but will have a button written “Continue Game” and the countdown will count up, So it doesn’t ruin the game experience by the game just ending.

If anyone could help me build it, it’ll be really appreciating.

You can just create a custom trigger on the page and when the user clicks the button you would schedule the custom trigger for 60 or 90 minutes later

Try this for a spin!

Demo here.

I built this to imitate a stopwatch :slight_smile:
– May have to tweak it to “count-down”.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.