timelinefx:timelinefx
Structs
tlCollisionResult Class for storing the results of a collision
tlMatrix2 A simple 2D matrix class
tlVector2 A 2d vector class
Classes
tlBox Collision box class
tlCircle Collision circle class, extends _tlBox
tlComponent Abstract component class you can use to add functionality to your game objects
tlEffect The effect class which is the main parent class for emitters.
tlEffectsLibrary Effects library for storing a list of effects and particle images/animations.
tlEmitter Emitter Class.
tlGameObject The base class for all particle objects, can also be used for general game entities
tlLine Collision line class
tlParticleManager The particle manager class for TimelinFX. This class manages all effects you create and is used to update and render all particles.
tlPolygon Collision polygon class
tlQuadTree Quadtree type for managing a quadtree
tlShape A shape class for storing and working with mojo.image
Consts
tlBOX_COLLISION Used as the value representing a Box collision
tlCIRCLE_COLLISION Used as the value representing a Circle collision
tlLINE_COLLISION Used as the value representing a Line collision
tlPOLY_COLLISION Used as the value representing a Polygon collision
Functions
AngleDifference Get the difference between 2 angles.
CheckCollision Check for a collision between 2 Boundaries
CheckRayCollision See if a ray collides with a boundary
CopyEffect Copy an effect
CopyEmitter Makes a copy of the emitter passed to it
CountBits Count the number of bits that are set in a number.
CreateBox Create a new tlBox
CreateCircle Create a tlCircle
CreateLine Create a tlLine
CreateParticleManager a new tlParticleManager.
CreatePolygon Create a tlPolygon
DegRad Convert degrees to radians
GetDirection get the direction from 1 point to another.
GetDistance The distance between 1 point and another.
GetDistanceFast This gets the distance but doesn't perform a square root.
GetNearestPowerOf2 Round up to the nearest power of 2.
LineToCircle Do a Line to Circle collision check
LinesCross Do a Line to Line collision check
LoadAnimation Load a tlShape sequence of images.
LoadEffects Load a TimelineFX Library
LoadShape Load a tlShape
NearestPointToCircle Return the nearest point on a line to the center of a circle
PreventOverlap Prevent boundaries from overlapping, based on a tlCollisionResult
Round rounds a number to the nearest int.
SetUpdateFrequency Set the update frequency of the particles
TweenValues Interpolate between 2 values.
WithinFieldOfView Check if a point is with a field of view