Godot Version
Question
Why is the timer not starting. The function is getting called and does everything up to the part where the timer is supposed to start. but the timer does not start and signal when it ends
Why is the timer not starting. The function is getting called and does everything up to the part where the timer is supposed to start. but the timer does not start and signal when it ends
is the signal connected. does the on_death_animation_timeout have the green door next to it.
yes
Autostart to True
that won;t work i need to start it when the player dies needs to be one shot no auto
and where is the point of using a timer for this purpose? maybe it would be better for you to use AnimationPlayer where you call the Call Method to change the scene
when the player dies the timer is supposed to start and while it is running play the death particles. then the signal of it timing out is supposed to call a end lost screen
in this case it is better to use AnimationPlayer, you have better control and you get the result you need than to bind it to Timer
or bind it to a particle and call end_scene
when is particle finished()
Have you checked, that kill()
only gets called once? If it’s called multiple times, the timer is reset each time and it might never reach 0.
This was the problem. made a variable and fixed it
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.