New Particle Engine for BlitzMax

BlitzMax Forums/BlitzMax Programming/New Particle Engine for BlitzMax

Answers to my own questions :
Why does 'Launch Rate = 11' stop the default particle?

Because 'Emitter duration' is set to 10.

Is there a way to get the sliders really mean '0' when the slider is at zero? Currently 'Emission Rate=0' means 1 and 'Emission Rate=1' means 2.


In TParticle change
				For Local i:Int = 0 To EmissionRate

to
				For Local i:Int = 0 To EmissionRate-1

Also, what is 'Frames'?

Frame number in the Emitter duration. The frame 'counter' should really stop when the emitter is finished and loop mode is not enabled.
<edit> e.g.
		If tp.loopfx Or Not tp.Emitter[0].finished()
			DrawText("Frame: "+String(tp.Emitter[0].frame),10,10)
		EndIf