Jump to content

Radial Particle Emitter?


metalNumb
 Share

Recommended Posts

Do you want it to be that regular, like spokes on a bicycle wheel?

 

I would try creating a custom emitter subclass and overriding emitParticle. You'd duplicate almost all of the code in that method except for the part where you assign velocities to the particles; those you would assign via some trigonometry and an angle that increased by some step. Then make sure you tell it to explode when you start it.

 

The custom fadeout is possible too using setAlpha on the emitter. Since you know the velocity of your particles you can figure out how far they travel in what time; you can then use that time in your call to setAlpha with a linear easing (or whatever).

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...