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
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
I tried searching and looked at the manual and couldn't find anything so I'll go ahead and post. Basically I want to play one of 3 sound effects every second. It needs to be randomly selected. How do I do this?
Develop games in your browser. Powerful, performant & highly capable.
Use the 'Play (by name)' action in the Audio object and use an expression like this:
choose("sound1", "sound2", "sound3")
choose() picks one of the parameters at random, so it will pick a random sound to play.
You might also want to check the How do I FAQ
In the section "Audio" :
lay a random sound - LINK
Which should contain some other examples capx.
Thank you! Sorry I must have missed that!