How do I Make A Sprite Expand -> Explode?

Get help using Construct 2

Post » Mon Oct 26, 2015 10:33 pm

I'm wondering how to accomplish this for an effect, along with destroying the enemy with a particle effect. How exactly would you know the proper size of the sprite to then have an event cause it to be destroyed/explode with particles?
B
196
S
109
G
7
Posts: 134
Reputation: 19,439

Post » Tue Oct 27, 2015 1:49 am

Couldn't you scale the enemy size...

destroy it, then make particles appear?
Eat ALL THE BACON!
B
45
S
17
G
3
Posts: 290
Reputation: 4,993

Post » Tue Oct 27, 2015 2:54 am

i think u can using @rexrainbow ‘s timer behaviour to do it,
B
72
S
25
G
5
Posts: 89
Reputation: 7,275

Post » Tue Oct 27, 2015 1:23 pm

Not sure exactly what your trying to do with the exact size but you can grab them from their instance variable (spritename.Height or spritename.Width)...
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
65
S
17
G
8
Posts: 635
Reputation: 9,331

Post » Tue Oct 27, 2015 11:15 pm

Well, I'm looking to have a player hit an object/sprite, which will then increase in size. When it reaches a certain size, the object/sprite will be destroyed with a shower of particles. I'll look over the plugins when I get a chance. Thanks.
B
196
S
109
G
7
Posts: 134
Reputation: 19,439

Post » Wed Oct 28, 2015 2:59 am

Like a balloon... you could use set scale incrementally over x seconds then hide and spawn pieces (several ways to do this).
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
65
S
17
G
8
Posts: 635
Reputation: 9,331


Return to How do I....?

Who is online

Users browsing this forum: davidbox, Mayfly and 5 guests