Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
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
Hi guys! Im using the create object on a family to get random sprites in my game. Is there a way to create random objects without duplicates? Thanks!
You need to provide more detail. Like how many different types of sprites are there? how many sprites do you need to generate?
There is 10 sprites in the family and creating one at a time. Im using create object on the family to generate a random one which is working fine. I just dont want it creating the same one twice in a row.
Develop games in your browser. Powerful, performant & highly capable.
You need to use the array plugin.
Check this examples :
I figured out my problem using an array. Thank you
i am currently trying to do the same thing but cant get it to work
could you post and example capx of how you did it