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?
Couldn't you scale the enemy size...
destroy it, then make particles appear?
i think u can using rexrainbow ‘s timer behaviour to do it,
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)...
Develop games in your browser. Powerful, performant & highly capable.
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.
Like a balloon... you could use set scale incrementally over x seconds then hide and spawn pieces (several ways to do this).