"for each object" doesnt help

For questions about using Classic.

Post » Thu Nov 10, 2011 8:03 pm

Here's problem, when I jump on sprite it destroys (thats what I need), but same sprites removes too. I've added "for each object", but it doesnt help ;(


Thanks.
B
11
S
3
G
6
Posts: 193
Reputation: 4,234

Post » Thu Nov 10, 2011 8:33 pm

I don't think you need the for each there - if the condition is at the start only overlapped objects would be picked.

The wait object confuses the system, just do it like this:
B
19
S
6
G
6
Posts: 1,101
Reputation: 5,646

Post » Thu Nov 10, 2011 8:49 pm

^ Yeah as Somebody said you don't need for each for picked objects.
For each picks them for you.

Also the wait object breaks picking, on flash finished, or the timer behavior works pretty good for destroying stuff later.
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Thu Nov 10, 2011 9:04 pm

Works great. Thanks! :)
B
11
S
3
G
6
Posts: 193
Reputation: 4,234


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 6 guests