Clone and identify cloned objects?

Get help using Construct 3!

Post » Tue Aug 01, 2017 2:33 pm

Hi, I'm making instances of enemies (one sprite).
When enemy overlap end of layout it creates a clone on second side ( ability to go left wall and appear on right side, like on screen).
Image
When I have a single player instance(and max one of cloned objects) it works fine because I just check for count of player instances(max of 2 allowed, 1 = allow clone).
Image


But what can I do to allow only 1 clone of object when there are multiple of it, so they event will not create infinity objects when I stay on it?
B
5
Posts: 4
Reputation: 266

Post » Tue Aug 01, 2017 3:34 pm

Ok I did it somehow, added cloned variable to monster instance, and checking if it is not set before creating new one.
B
5
Posts: 4
Reputation: 266


Return to How do I...?

Who is online

Users browsing this forum: No registered users and 0 guests