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
Our educational partners
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
Hello, I have created a family group, enemy family that I have set as conditions every time my player's bullet touches an enemy family character, the enemy comes out with a sound, he screams, but I would like to know if I can make the enemy's sound randomize and add other sounds, how to make the enemy give a random sound, I would like at least 4 different sounds. Thank you in advance for your help.
Develop games in your browser. Powerful, performant & highly capable.
For example, you name your sounds:
ScreamPart1-1, ScreamPart1-2, ScreamPart1-3, ScreamPart2-1,ScreamPart2-2,ScreamPart2-3...
Then use Audio action play by name
"ScreamPart1-" & choose(1,2,3) - this will play you random sound of those three
Thank you very much for solving my problem, I'll do it like that