How to delete just some objects or entire layer?

Get help using Construct 2

Post » Sat May 24, 2014 2:49 pm

Hello,

I have dozen instances of the same object and i use system create object to spawn new instances... but how can i delete only them (newly spawned)?
iw tryed spawning them on new layer but theres no way to delete certain layer... any ideas?
B
26
S
11
G
2
Posts: 669
Reputation: 5,038

Post » Sat May 24, 2014 3:08 pm

After spawning, add a "Destroy" action after some secondes.
like this:
Every X secondes : Player Destroy
2D Game GUI Designer
B
12
S
4
G
3
Posts: 130
Reputation: 3,778

Post » Sat May 24, 2014 3:10 pm

@Irina I'm not sure about the issue. I agreed with @Manarsoft destroy is the way to go. If you want to destroy a particular instance, you may need to add an identifier to it. If you are just clicking on it, then you can "On Click" Object -> destroy.

What are you trying to accomplish?
B
8
S
3
G
1
Posts: 135
Reputation: 2,209

Post » Sat May 24, 2014 3:13 pm

situation is like this:
its a board and i am increasing it size so that i scale layer to 0.7 and i add new rows of tiles...
and now i want to reverse state of board and delete those newly created tiles.
B
26
S
11
G
2
Posts: 669
Reputation: 5,038

Post » Sat May 24, 2014 7:47 pm

irina wrote:situation is like this:
its a board and i am increasing it size so that i scale layer to 0.7 and i add new rows of tiles...
and now i want to reverse state of board and delete those newly created tiles.

...
hey,
if you attach a sample, purhaps we can help
otherwise, we can't understand you.
:mrgreen:
2D Game GUI Designer
B
12
S
4
G
3
Posts: 130
Reputation: 3,778


Return to How do I....?

Who is online

Users browsing this forum: plinkie, zenox98 and 14 guests