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
I need to do a pick at random X amount of times, but I don't see a condition in the object properties. Doing a Peggle style game and I need to find a way to generate 10 random colored orbs.
Not sure I get what you need exactly, but you should probably create a loop that runs 10 times and into this loop you pick a random instance and do whatever you want to do with it.
I don't see the option to create a loop (unless it's paid option only). I'm using the free version. The only thing I see as a loop is "Stop Loop" in the actions.
Add an event.
Double click 'System'.
Start typing 'f-o-r' to narrow the choices; you will see For loop is an option.
Are you using Pick Random Instance?
Develop games in your browser. Powerful, performant & highly capable.
Yeah, I'm using Pick Random Instance. I found it. I was looking in the wrong place.
System > Loops
There are 5 methods for creating loops. In your case I guess the best one is For. Give a name to your loop and use the default settings (1 to 10) which will already give you 10 loop iteractions.