0 votes

so, is it possible to make a timmer count how much time the game is closed and then change the game.

if it is how do I do it

Godot version 3.3.2
in Engine by (34 points)

1 Answer

0 votes

Short answer


Work around

You could do on

  • Windows use vbScripts
  • Linux use bash scripts
  • Android use a service / notifications
  • MaC related products idk

with OS.execute() something like


sleep, 5000
run, awesome_game.exe

Correct Approach

Save the time when your application is closed and on open subtract the current time from the saved time then take appropriate actions

by (4,982 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 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 webmaster@godotengine.org with your username.