Game Development Community

Particle explosion

by Michael Balogh · in Torque Game Builder · 04/22/2008 (8:15 pm) · 2 replies

Hey all...anybody know how to make the particles come to life in a circle? I know they all can't be at the same time, but I could program them to all being a millisecond apart, and that'd be close enough for me ;)

Something kind of like this, where "0" is the object and the lines are the particles and they all spread away from the object at the same rate (or close enough):



0


\ | /
-- 0 --
/ | \


\ | /

-- 0 --

/ | \


Ugh...even I'm embarassed to look at that...but do you understand what I mean? I toyed with Emission Arc Base and Emission Angle Base for a bit, but to no avail.

Is there a way to do this, or would I be better off making an animated sprite?

Thanks for your help!

Mike

#1
04/27/2008 (8:28 am)
You can do something like this by utilizing that enough particles with random start will form a circle. Just leave all parameters as they are, use a very high quantity base (depending on your particle size and change visibiliy life to start at 0 at go directly to 1 at about 1/3 time.

Another possibility (if you want to create a halo) is to use a sprite that is a circle and scale it over time without letting it move.
#2
05/15/2008 (9:41 pm)
Start with a very high quantity base over 1000, and then drop this to zero after 100 miliseconds. This should produce enough particles to expand in a hollow circle. You'll also want the particle speed to slow over time to zero so that they stay in a neat circle and don't get too spread out.