Title Description
Windowed 

Returns true if the application is on windowed mode.

...
UsePixelShaders 

Enables or disables pixel shaders.

...
UnitsPerSecond 

Returns the approximate distance that an object should move during the current frame to keep a...

StopSample 

Stops an audio sample playback.

Example:

void DoGameOverStuff()
{
   ...
Standard math functions 

Standard math functions. All functions operate with the float type

...
SharedDataExists 

Returns true if the shared data named key exists.

...
SetZBuffer 

Toggles hardware depth sorting.

...
SetZAxisDirection 

Sets Z-axis direction to the current scene. More about z-axis...

SetWindowProperties 

Resets window properties.

SetWindowProperties("My Game", 1280, 720, true, true,...
SetupSpriteRects 

Cuts the sprite into a custom number of rows and columns. Useful if you...

SetTimeStepScale 

Sets the current time step scale. Scaling the time step is useful to create slow motion...

SetSpriteRect 

Selects a sprite frame for a sprite which has been cut by the SetupSpriteRects...

SetSpriteOrigin 

Sets the normalized origin point for the sprite named spriteName. The default origin...

SetSharedData 

Creates or changes a shared data value named key with the given string-based...

SetScaleFactor 

Sets the current global scale factor value....

SetSampleVolume 

Sets the sample volume.

  • 0.0f completely...
SetSampleSpeed 

Sets the sample playback frequency scale. Some systems have software or hardware limitations that...

SetSamplePan 

Set sample pan.

  • -1.0 completely to the...
SetPositionRoundUp 

Toggles the position roundup for sprites. When enabled, the engine will render sprites using...

SetPersistentResources 

Toggles persistent resources. More about resource...

SetParallaxOrigin 

Sets the parallax origin spot for the scene. The default value is vector2(0.5f,...

SetParallaxIntensity 

Changes parallax intensity value. The default parallax intensity is the one set in the Scene...

SetNumIterations 

Sets the number of velocity and position iterations of the simulator. The default velocity...

SetGravity 

Sets a new gravity value for the current scene. The current gravity value is vector2(0,...

SetGlobalVolume 

Sets the global volume. 0.0f means complete silence and 1.0f means full...

SetFixedWidth 

This functions is used to compute and set the global scale factor to a value that will...

SetFixedTimeStepValue 

Sets the fixed time step in seconds. The default value is 1.0f / 60.0f. By default,...

SetFixedTimeStep 

Enables or disables fixed time stepping. By default, fixed time step is disabled in...

SetFixedHeight 

This functions is used to compute and set the global scale factor to a value that will...

SetFastGarbageCollector 

Toggles the faster incremental garbage collecting.

When the fast garbage collector is...

SetCameraPos 

Sets the camera position. The camera movement can be used to scroll game...

SetBorderBucketsDrawing 

Toggles border bucket processing. More about border...

SetBackgroundColor 

Sets the background color. The background color is used to fill the entire back-buffer at the...

SetAmbientLight 

Sets the ambient light color. x, y and z attributes are...

SeekEntity 

Returns a handle to the entity with the given id.

Returns null...

SeekEntity 

Returns a handle to the entity whose name equals entityName. Returns...

scale 

Builds a matrix that scales along the x-axis, the y-axis, and the z-axis.

...
Scale 

Scales the value using the current global scale...

Scale 

Scales the v vector using the current global scale...

Scale 

Scales the v vector using the current global scale...

SaveStringToFile 

Saves str content to a file. If the file already exists it will be...

SaveScene 

Saves the current scene into a new scene file. All custom data stored in the entities (except...

SampleExists 

Returns true if the given sound effect sample has already been...

rotateZ 

Builds a matrix that rotates around the z-axis.

...
rotateX 

Builds a matrix that rotates around the x-axis.

...
ResolveJoints 

Scans all joint declarations in the entities in scene and connects all entities if their parts...

RemoveSharedData 

Deletes a shared data entry named key and returns true if it was...

ReleaseResources 

Release all graphic and buffered audio resources loaded so far. ...

randF 

Generates and returns a random floating point value between 0.0f and...

randF 

Generates and returns a random floating point value between min and...

rand 

Generates and returns a random number between 0 and n.

...
rand 

Generates and returns a random number between min and max.

...
radianToDegre 

Converts radians to degrees.

...
print 

Prints to the console window.

...
print 

Prints a float primitive value to the output console.

...
print 

Prints an int primitive value (decimal) to the output console.

...
print 

Prints an uint primitive value (decimal) to the output console.

...
PlaySample 

Plays a preloaded audio sample.

Example:

void onSceneCreated()
{
   ...
PlayParticleEffect 

Inserts a temporary particle effect the the sprite layer. This function loads a...

PauseSample 

Pauses a sample playback.

if (DoPauseGameStuff())
{
   ...
parseUInt 

Parses a string into an uint...

parseInt 

Parses a string into an int primitive.

Sample:

string...
parseFloat 

Parses a string into a float.

Sample:

string str =...
normalize 

Returns the normalized vector.

...
normalize 

Returns the normalized vector.

...
multiply 

Returns the product of matrices a and b.

...
multiply 

Returns the product of vector v and matrix m.

...
multiply 

Returns the product of vector v and matrix m.

...
LoopSample 

Toggles the sound or music looping.

void onSceneCreated()
{
   ...
LoadSprite 

Load sprite bitmaps into video memory which can be used to draw in-game menus and such items....

LoadSoundEffect 

Loads a sound effect sample. Unlike LoadMusic, this function loads the entire sound...

LoadScene 

Send a request to load a scene from the file named fileName.

The new...

LoadScene 

Send a request to load the scene and assigns an onSceneCreated and/or an...

LoadScene 

Send a scene load request and assigns an onSceneCreated, an...

LoadScene 

Send a scene load request and assigns...

length 

Returns the vector length.

...
length 

Returns the vector length.

...
IsSharedDataConstant 

Returns true if the shared data named key is constant. Constant data...

IsSamplePlaying 

Returns true if the sample is playing.

if...
IsPixelShaderSupported 

Returns true if the GPU supports the required pixel shader model.

...
IsFixedTimeStep 

Returns true if the fixed time step is enabled. By default, fixed time step is...

IsDrawingBorderBuckets 

Returns true if the border bucket processing is enabled. ...

HideCursor 

Hides or shows the default mouse cursor on desktop environments.

...
GetZBuffer 

Returns true if the hardware depth sorting is enabled.

...
GetZAxisDirection 

Returns the current scene Z-axis direction vector. More about Z-axis...

GetWorldSpaceCursorPos2 

Returns the current cursor position in world space (considering the camera...

GetVisibleEntities 

Fills &outArray with handles to all visible entities.

All entities...

GetVideoModeCount 

Returns the number of supported video modes.

The snippet above lists all supported video...

GetVideoMode 

Returns the supported video mode n.

The snippet above lists all supported...

GetTimeStepScale 

Returns the current time step scale. Scaling the time step is useful to create slow motion...

GetTimeF 

Returns the current elapsed time in milliseconds. The timer starts running when the application...

GetTime 

Returns the current elapsed time in milliseconds. The timer starts running when the application...

GetSystemScreenSize 

Returns the system's screen size (if the application is running on windowed mode, the system...

GetStringFromFileInPackage 

Returns the entire content from a file as a string. This function looks for the file in the game...

GetStringFromFile 

Returns the entire content from a file as a string.

If it fails, an empty string is...

GetSpriteSize 

Returns the sprite bitmap actual size in pixels.

Sample:

void...
GetSpriteFrameSize 

Returns the sprite current frame size.

Sample:

void onSceneLoaded()
{
	//...
GetSharedData 

Returns the value of the shared data named key. Returns an empty string if...

GetScreenSize 

Returns the current back-buffer size where x describes its width and y...

GetSceneFileName 

Returns the currently loaded scene file name.

 
...