Experiencing 'coders block' - particle system.

Blitz3D Forums/Blitz3D Programming/Experiencing 'coders block' - particle system.

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.

You should use a counter variable to do this ....


global PARTICLEcurrent.particle

Function PARTICLEcreate( x, y, z, etc... )

  p.particle = PARTICLEcurrent

  p\x = x
  p\y = y
 etc....

 PARTICLEcurrent = after PARTICLEcurrent
 if PARTICLEcurrent = null PARTICLEcurrent = first particle

end function




This is how I do it anyway.