Hey all!
Intro
TheComet's Library is a project of mine (duh) which will provide you with a useful set of functions to create cool effects in your games. It is very easy to use and comes with a full documentation and example for every effect. I will be adding more functions in the future, so always make sure to check out the first post. Download is at the very bottom.
Most of these effects will be used in the
Open Source Shooter, which was the original motivator for this project.
Content
Done
Working On

2D Collision Lines

2D Particles

3D Fire

3D Smoke

3D Trails

3D Sparks (95% done)

Download
Command list
return value = TCL_Create2DColLine( x1 , y1 , x2 , y2 , ID , index )
return value = TCL_Destroy2DColLine( index )
TCL_DestroyAll2DColLines()
return value = TCL_Position2DColLine( index , x1 , y1 , x2 , y2 )
TCL_Control2DColLines()
Example Video
Command List
return value = TCL_Create2DParticle( x , y , angle# , speed# , life , friction# , color )
return value = TCL_Destroy2DParticle( index )
TCL_DestroyAll2DParticles()
return value = TCL_SetForce2DParticle( index , x# , y# )
return value = TCL_SetGravity2DParticle( index , x# , y# )
return value = TCL_SetGravityConst2DParticle( index , x# , y# )
return value = TCL_Color2DParticle( index , color )
TCL_Control2DParticle()
Example Video
Command List
return value = TCL_Create3DFire( x# , y# , z# , life , size , Obj , Limb )
return value = TCL_Destroy3DFire( index )
TCL_DestroyAll3DFires()
return value = TCL_SetForce3DFire( index , x# , y# , z# )
TCL_Control3DFire()
Example Video
Command List
return value = TCL_Create3DSmoke( x# , y# , z# , life , size , Obj , Limb )
return value = TCL_Destroy3DSmoke( index )
TCL_DestroyAll3DSmoke()
return value = TCL_SetForce3DSmoke( index , x# , y# , z# )
TCL_Control3DSmoke()
Example Video
Command List
return value = TCL_Create3DTrail( divisions )
return value = TCL_Destroy3DTrail( index )
TCL_DestroyAll3DTrails()
return value = TCL_Position3DTrail( index , x1# , y1# , z1# , x2# , y2# , z2# )
return value = TCL_Reset3DTrail( index , x# , y# , z# )
return value = TCL_SetFollow3DTrail( index , Obj1 , Limb1 , Obj2 , Limb2 )
return value = TCL_Color3DTrail( index , color )
return value = TCL_SetUpdate3DTrail( index , update )
return value = TCL_SetForce3DTrail( index , x# , y# , z# )
TCL_Control3DTrails()
Example Video
By downloading the file(s) below, you agree to the
GNU license, and must give me credit when using it.
TheComet's Library_14_10_11.7z
TheComet