Waiting for a Sound to End Before Next Sound Starts Playing
guillopuyol
Member Posts: 5
Hello,
I just discovered GameSalad yesterday, so I am pretty new to this (not to programming).
I am making a small game for my kids where I need a sound to play immediately followed by another sound: "Tap on the " followed by "red circle." or "blue square", etc...
Right now I have one Play Sound for the first one and a Play Sound for the second one. Both sounds start pretty much at the same time and I need to set a delay... How can I either check the first sound finished before starting the other one, or use timers to 'manually' delay the second sound?
Thanks in advance!
I just discovered GameSalad yesterday, so I am pretty new to this (not to programming).
I am making a small game for my kids where I need a sound to play immediately followed by another sound: "Tap on the " followed by "red circle." or "blue square", etc...
Right now I have one Play Sound for the first one and a Play Sound for the second one. Both sounds start pretty much at the same time and I need to set a delay... How can I either check the first sound finished before starting the other one, or use timers to 'manually' delay the second sound?
Thanks in advance!
Best Answer
-
gyroscope I am here.Posts: 6,598
Hello @guillopuyol and welcome to GSC and the Forums. :-)
There isn't any sound length aspects that can be changed/accessed via the Play Sound behaviour so the only workaround is the one you suggested: find out the exact length of each sound in an audio editor, then put a Timer behaviour, set to after, before the next sound plays.""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps