This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

Hi everyone,

working on a mobile project, I have a countdown running (a Label displaying the child's (Timer) wait_time). The timer "pauses" (interrupts) when switching to another app (not closing the game, just "shifting" to the background...), so the counter continues on re-opening the game from where it paused.

What I want is the counter not to interrupt. Is that possible?

Godot version 3.3
in Engine by (525 points)

1 Answer

0 votes

I believe this is helpful:
https://godotengine.org/qa/22990/how-to-detect-when-the-game-loses-and-gains-focus

So I assume it's not really possible to keep things running in the background and necessary calculations etc. need to be refreshed on focussing-in again...

by (525 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.