How do I Remove a number of instances? [SOLVED]

Get help using Construct 2

Post » Sat Nov 28, 2015 9:33 pm

korbaach wrote:@LittleStain try this one Test.capx


Yeah, I noticed when I tried to create my example..

I guess first setting them up for destruction and destroying them after would work better

Haha, forgive me my snail-like speed..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat Nov 28, 2015 9:36 pm

korbaach wrote:that will never work fine...
.because c2 destroys sprites on the next tick..so loop can choose one sprite several times...
you need a boolean instance variable.."destroyMe" :D

Image



you are right.. can you post a corrected .capx file?
B
14
S
1
Posts: 66
Reputation: 771

Post » Sat Nov 28, 2015 9:42 pm

It works!!! Thank you very much all of you!!!
B
14
S
1
Posts: 66
Reputation: 771

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 12 guests