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
Ashley This isn't necessarily a bug as much as a design issue/possible oversight, so I'll post here.
I have an object that is in both "Family A" and "Family B". Since I use "Recreate Initial Objects" on both families, my object is recreated twice. Is there any way this can be fixed? I don't think there's anything I can do on my end with events..
Hmm, that would be the correct result given the design of the feature, since the initial instance belongs to both families. Could you create a third family of just the ones you want to recreate? Or maybe just hack it so if it spawns at exactly the same position as another instance then destroy it again...
Develop games in your browser. Powerful, performant & highly capable.
Just learning, since haven't used yet, but cannot this be done sequentially since you have to destroy residuals first: Destroy A, make A, destroy B, make B. The second destroy then removing the shared items before recreate.
Mh. Yeah, creating a 3rd family specifically for using "Recreate Initial Objects" works, I just wanted to avoid it because that's a lot of objects to account for. Easier to just recreate all the families so nothing gets missed.
If you want only 1 instance of the object to be on the level you can try setting that if that object is not on layer then recreate.