Search found 1 match

by ShaharHarshuv
29 October 2025, 02:51
Forum: Developers
Topic: Confirm action with timer?
Replies: 10
Views: 182

Confirm action with timer?

In games like Catan after doing an action you have 3 seconds (timer visible on the action buttons) to cancel or it does it automatically. I'm wondering how do I do that in my own game? Do I implement it from scratch in javascript or is there a built-in utility for this behavior? Code examples welcome.

Go to advanced search