Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Is there an easy way to play sounds in a sequence without using the wait command? For example I want to play first.wav and when it finishes play second.wav
audio on ended "tag" - play audio.
just give the audio file a tag when setting play so it can be compared with the tag in the on ended event.
I tried that and it's giving me an error.
UncaughtTypeError: Cannot call method 'tick' of undefined localhost/Audio_plugin.js, line 2575 (col undefined)
I guess I'll keep playing around with it. Thanks.
Develop games in your browser. Powerful, performant & highly capable.
I think I figured it out. It's forcing me to have it look for the sound in the Sounds folder, rather then the Music folder, even though the sound is in the Music folder.
You should add a tagname to the audiofile you are playing and use that tag in the audio on ended. Using the name of the audio file won't work, just the tag.
Yes, I'm using the tag, not the filename.