it is just printed once. I commented: ### $LosePlaying.play()
Mmm, anyway I want playing that sound…i sm stuck on this point
Tnat’s good, because it means the problem is not with the electricON
variable or the Glob
autoload that you focused on before.
Look into the $LosePlaying
node instead, because the problem seems to be there.
E.g. try adding a simple script to it, so that it plays right at the beginning of the scene. Do you hear the audio track once or twice?
func _ready() -> void:
play()
Also, is it playing 2x at the same time, or one after another?
Do you also have any other autoloads other than Glob
?
Hi, i by adding this script linked to LosePlaying item:
extends AudioStreamPlayer2D
func _ready() -> void:
play()
I hear the audio track twice. it is playing 2x one after another. Further I have only one autoloads: Glob
Cam you try a different track to see if the issue still stays?
I change sound and It get to be played just once… so, I will replace the sound then