Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
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.
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.
Develop games in your browser. Powerful, performant & highly capable.
Yes, I'm using the tag, not the filename.