[Solved]How do I create a new object for each instance?

Get help using Construct 2

Post » Sun Jul 20, 2014 7:14 pm

Hi!

I'm trying to make a matching game, but I'm having trouble adding FX to it. After a color is matched, I want both matched items to explode and disappear. The problem is that when I create the explosion, it's only created for one the items being destroyed. I'd like the explosion to appear for both items being destroyed.

I tried to search the forums about this, but most the the keywords I use are being ignored. Any help will be greatly appropriated.

Link to my game project (remove the spaces):
www. dropbox .com/s/oodgrdmq7nip158/matchGameProblem.capx
Last edited by Fwumpy on Sun Jul 20, 2014 8:12 pm, edited 1 time in total.
B
3
S
1
Posts: 39
Reputation: 405

Post » Sun Jul 20, 2014 7:55 pm

Create a sub event and use "System > for each" > Destroy
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,293

Post » Sun Jul 20, 2014 8:10 pm

TheDom wrote:Create a sub event and use "System > for each" > Destroy


Excellent! I'll remember that for later projects. Thank you!
B
3
S
1
Posts: 39
Reputation: 405


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 11 guests