EPS 2 (Eole Particules System 2) is out . . .

Miscellaneous Forums/Blitz Showcase/EPS 2 (Eole Particules System 2) is out . . .

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

This is excellent, but there was a major bug if you tried to use more than one emitter that fired particles simultaneously then only one emitter fired.

To fix it

comment out

;Global EPS_EmitterTimer


Add to the emitter type:
Field eps_emittertimer

In EPS_Update_Emitter change the code to
		; GEstion du timer d'emission
		If (e\Emitting_Timer>0 And EPS_TimeOut(e\EPS_EmitterTimer))  Then

			If e\Kill_Emitter = True Then
				nb_create_particule = 0
			Else
				nb_create_particule = e\particule_seconde# / 2
		
			EndIf
			e\EPS_EmitterTimer=EPS_SetTimer( e\Emitting_Timer * 1000 )
			
		Else If e\Emitting_Timer>0 Then
			Return
		EndIf


And all works fantastic

EXCELLENT WORK !!!!