countdown running even after leaving the stage

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Umut_alp

I have a play work that includes many scenes. “Timer” starts counting down when I switch from one scene to another. My goal here is a way to keep the countdown going even if I go to other screens.

Thanks.

:bust_in_silhouette: Reply From: GameSchool

Hi
Sounds like something an autoload will solve. I don’t know how you switch between scenes so I can’t help you with your specific case, but maybe an autoload will do the job.

I also suggest checking out the video How to Pass Data Between Scenes in Godot by jmbiv. It could be a good start.

plucafs | 2023-07-04 19:35

func _on_button_pressed(): #üretim alanına geri dön butonu
get_tree().change_scene_to_file(“res://business_management.tscn”)

this is how i use scene transition as back button on every page.

Umut_alp | 2023-07-05 05:34