Additional helper functions for the engine that don't fit in a dedicated module.
More complex mathematical functions.
Cos | [2, 3] | [Init, Action, Manual] |
---|---|---|
Returns the cosine of an angle (in milliradians) multiplied by a variable.
| ||
Sin | [2, 3] | [Init, Action, Manual] |
Returns the sine of an angle (in milliradians) multiplied by a variable.
| ||
CosD | [2, 3] | [Init, Action, Manual] |
Returns the cosine of an angle (in tenths of degrees) multiplied by a variable.
| ||
SinD | [2, 3] | [Init, Action, Manual] |
Returns the sine of an angle (in tenths of degrees) multiplied by a variable.
|
Functions relating to the animation system. This will be moved later to graphics.
Anim | [1, 2] | [Init, Action, Manual] |
---|---|---|
Plays an animation frame by frame. The animation updates only when this function is called, and starts at the first frame the function is called.
| ||
AnimFrame | [1, 2] | [Init, Action, Manual] |
Plays an animation frame by frame. The animation updates only when this function is called, and if not specified will use the amount of frames you were in that state..
| ||
AnimProgress | [0, 1] | [Init, Action, Manual] |
Progresses an already playing animation. Can also be used to scroll.
| ||
AnimLoop | [1, 2] | [Init, Action, Manual] |
Loops an animation around by setting it to the start point when reaching the specified frame.
| ||
AnimReset | [0] | [Init, Action, Manual] |
Resets the animation variables. |
_Anim | Null | [] |
---|---|---|
Currently playing animation. | ||
_AnimFrame | 0 | [] |
Current frame of the animation to show. | ||
_AnimStartFrame | 0 | [] |
Remembers when the animation started, for the Anim function | ||
_AnimOffset | Null | [] |
Remembers an offset for the Anim function |