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?
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.
Develop games in your browser. Powerful, performant & highly capable.
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!