I use "trigger once" but still, when the fail screen appears and when the complate screen appears, the sound is played more than once, sometimes it is played 1 time
I want it to ring only 1 time when a screen appears
It's because of the wait, remove it
Thank you for the help
yes the problem is solved but why add seconds it doesn't work I was curious
Develop games in your browser. Powerful, performant & highly capable.
I'm not sure why you used it, did you want to wait 0.1 seconds for some delay before showing the screen to the player and playing the sound? Quite a small delay but if you need it the wait should go above the play sound action not at the top level. Also if you had put it all in one block without indenting trigger once and action into the sub event it would've worked as intended. Adding the wait as you did is not a normal structure for Construct events, what you are effectively doing is 'waiting to get to the trigger once'