Sound loops unintentionally
Seraj
Member Posts: 10
Hello everyone,
I have a spaceship that shoots a bullet when a button gets pressed. The bullet is supposed to play a sound effect when it spawns.
My problem is, that the sound loops, even though loop is unchecked.
I´m working on a Windows computer if that makes any difference.
If you need any more information let me know, help is greatly appreciated.
Seraj
Answers
Here are some things that you could try to troubleshoot:
-Delete the block of code and input it again
-Select "run to completion"
-Put the play sound behavior before the spawn actor
For Example:
when touch is pressed
-play sound
-spawn actor
Inputing the code this way may stop the sound from somehow repeating since the rules may be getting confused with the spawn behavior
www.mbstudios.co | Free Stuff
@MattButlerStudios
Thanks for the suggestions, sadly none of them seem to work for me.
Are you able to say how the suggestion didn't seem to work for you ?
Put the play sound behavior in the touched actor, not in the spawned actor. I had that issue before.
Well I tried out his suggestions but there seems to be no change, the sound is still looping. Or did I misunderstand your question?
Sadly no difference after that change neither.
@Seraj
Sorry I just realized you are using the PC version. I try to replicate your error later and see what I can find out.
@yattamove Thank you very much, looking forward to your results!
@Socks @Seraj I think its a problem with the Windows version, since the latest up date the code @Socks made for my engine noise using pitch no longer works.
@ManxMann I´m still using 0.10.4.1 since the newer versions of GameSalad didn´t work fluently for me, do you think that´s the problem? Or did I get wrong what you said about the Windows version?
@Seraj I don't know about 0.10.4.1 as I was using an older version until yesterday and everything was working fine. I downloaded 0.10.5 and the sounds in my game have messed up without changing anything.
@ManxMann Oh okay, I didn´t change my version since I started, so it probably shouldn´t be an issue with the version, but thanks for letting me know.
Still looking for a solution, anyone able to help me out?
Bump
maybe you did the uncheck on the prototype, but not the actor in the scene. FYI, does anyone no how to create a counter? i'm a newbie around here.