How to play music after player death

No problem,thanks

Sorry in godot 3.5 it has to be this:

func play(from_position: float = 0.0) -> void:
    print("Start-Playing")
    .play(from_position)
1 Like

same, dont know why dont working

Have you tried this out?

Yes,playing same 3 times

Yes but what does it print?

Okay now we know that this audiostreamplayer only gets called ONCE. → There is somewhere else another audiostreamplayer that plays the same sound. Go through your project and look for anything that could possibly play a sound

1 Like

There is an my background audio player its in autoload,in my project are only these 2 audio players



What about the player and the enemy?


Can you click on the audio-file in your file_manager and then click on the import-tab above the scene-tree? Then check if theres a loop option.

Yeah yeah i udnerstand yes there is loop

is it activated?

Yes i think it was the problem

Bruhhhh how its still the same

Turn it off and click reimport

1 Like

Finally,thank you very much,you inspire me to finish my game,thanks​:trophy::trophy::trophy:

1 Like