example.md 514 B


tags: timer title: Repeating timer example brief: This example shows how to create timer that repeats endlessly every second author: Pawel Jarosz

scripts: repeating_timer.gui_script

The example shows how to use Defold built-in timer and uses two indicators:

  1. A numerical time text with seconds counter created using a text node
  2. A circular time indicator created using a pie node

The timer trigers updates of those two indicators every 1s to form a counter.

repeating_timer