#Animation not playing and input blocking not working
1 messages · Page 1 of 1 (latest)
Anyone ?
What is the await in is_dead() for?
And the one in the body_entered() function
Um.. Welp i changed my script here it is.
The animation of death works
But the player needs to move to activate it, but i want it to be automatic, and i want to restart my scene
But i have a bunch of errors
I show you
Everything is on the player script
It was supposed to verify if the animation ended, the animation last 1.1 seconds it's why, but i changed it with a signal
When is is_dead() called?
And is the Death animation looped?
Is_dead is called there
And the death animation isn't looped but since the death screen appears directly after the animation is over, it's not a problem
It acts like if i emit a signal from my state machine to transition to a new state