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
Game development stories & opinions
I'm not sure if the title accurately describes the problem, but nonetheless, I need help. How would I set up an event that states "if all of these sprites have been destroyed, send the player to the next layout"?
Sprite.Count=0 -> go to layout
See, the problem with that is, besides the unclarity of how to execute that, it only applies to a certain number of the sprites I'm using. Not all of my sprites are being destroyed.
Develop games in your browser. Powerful, performant & highly capable.
just add a count value of the sprite you want in var
on my_sprite destroy : add 1 to my var
system compare var myvar= (the number you want) : go to layout_X
With families, you could do this in one line. It still might be easier to check all relevant sprite.count values rather than added the extra code to do a counter to do the same thing.