GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Coin animation, How is it done?

Well its maybe a stupid question but I wounder how to make actors "explode"?
Lets say you got a block that you hit.. I want it to explode smooth in all different ways.

Is it 8-12 picture animation or is there a function that "explode" an actor?
I found this video as an example when he picks the coins the coin explodes.
By explode I mean like in supermario when you hit a block and it goes in 100 pieces etc..

Maybe thats not the best example but I hope you understand what I mean.

Comments

  • Spalding004Spalding004 Posts: 89Member, BASIC

    The coin effect is achieved using particles.

  • crestwoodgamescrestwoodgames Posts: 191Member

    I would look into particles. Probably your best bet for simple explosions.

  • GnarlyGnarly canadaPosts: 840Member
    edited January 2016

    I use actors. 5 or 6 little circles of same colour. Then spawn them at desired time. Each circle would move out in a different direction. Then destroy the little circles after .8 seconds or whatever you want. Sometimes interpolate alpha to 0 looks nice as well.

    You can play with details. But it works for the coin effect.

    Sometimes I will cut up the actor in many little pieces. And have those spawned and fly away. Maybe a smoke or fire exolosion animation at same time.

  • jamie_cjamie_c ImagineLabs.rocks Posts: 5,548Member

    the video is for one of my templates and as mentioned the effect is created using particles.

  • KIIVIINKIIVIIN Posts: 159Member

    @jamie_c said:
    the video is for one of my templates and as mentioned the effect is created using particles.

    I will test my way , thank you!

  • KIIVIINKIIVIIN Posts: 159Member

    @jamie_c said:
    the video is for one of my templates and as mentioned the effect is created using particles.

    You got any good advice of actors / particles spawning when death is active? I mean so my character explode like in pixel art? Or should I just make actors in different colors as suggested? I already got tons of actors so adding 5-6 more seems bit much for the game, Idk?

  • jamie_cjamie_c ImagineLabs.rocks Posts: 5,548Member

    @KIIVIIN, my best advice is first figure out what effect you want to achieve and then figure out the best way to do that. IF you want to achieve the same effect you see in my video above the Particle Effect Behavior works perfectly fine for that. However if you want to achieve a different effect, maybe one that looks or acts differently, a different method may be better.

    I know there is no direct action in that statement but its often asked "what is the best way to do something" and there is usually not a single BEST way. It depends on the needs of your specific game. If you wanted to see how powerful particles can be I offer a package of prebuilt particle effects and a particle effect editor on my website.

    You can certainly create a similar effect with an animation or with spawning your own actors, as I mention it all just depends on what works best for your project.

Sign In or Register to comment.