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 am destroying a player sprite based on it's UID. But I also want to destroy everything pinned to the sprite..
Ideas?
Develop games in your browser. Powerful, performant & highly capable.
Add all the pinned items to a container with the player sprite. Not only will the items be spawned with the player automatically, but they'll be destroyed along with it.
https://www.scirra.com/manual/150/containers
Made a "fix" where I added another Array for the Pinned Sprite. Might just do a 2D array instead.
Oh. Cheers. Ill look that up :)