Particle Candy is very nice and fast, just a tad too pricy. However, I desire similar spiral and helix movement in my non-single surface particle system. Heres my Particle Structure:
I update each living particle with a particleEffect Function.
The particleEffect is where I like to put code to manipulate particles with spiral and helix movement. I will glady modify the Particle structure to meet the need. Any assistance is valued.
Type particle entity% texture% position.vector[2] ;from-to (vector = x#,y#,z#) angle.vector[2] ;from-to scale.vector[2] ;from-to speed.vector[2] ;velocity ;from-to color.color[2] ;from-to alpha#[2];from-to frame% life% state% End Type
I update each living particle with a particleEffect Function.
Function particleUpdate() For this.particle = Each particle If this\state% this\life%=this\life%-1 If this\life% particleEffect(this);<-- performs movement, rotation, scale, color, alpha transitions Else particleDelete(this) EndIf EndIf Next End Function
The particleEffect is where I like to put code to manipulate particles with spiral and helix movement. I will glady modify the Particle structure to meet the need. Any assistance is valued.