I need time to go by - no regard for changing layers.
Sorry for my English.
Every 1 Second
-> Add 1 to a global variable
Every Tick
Set Text object's Text to global variable's value
Develop games in your browser. Powerful, performant & highly capable.
We use a JavaScript variable injection (or an AJAX call in preview mode) to inject the server time directly.
Then we just use a periodic NTP sync the server clock with nist.time.gov.