Title Description
ComputeCarretPosition 

Computes and returns the carret 2D coordinates based on the...

ComputeTextBoxSize 

Computes and returns the text bounding box size.

const string text = "the quick brown...
DrawFadingText 

Draws a temporary fading text string that will last lifeTimeMS...

DrawLine 

Draws a line connecting p0 and p1. If two different colors are set, the...

DrawRectangle 

Draws a rectangle at position pos and with size...

DrawShapedSprite 

Draws a sprite at position pos and with size dimensions. If...

DrawSprite 

Draw a non-entity sprite from a bitmap file.

Optionally, a custom color value may be...

DrawText 

Draw text strings to screen. This function supports bitmap fonts exported by the AngelCode's...

GetSpriteFrameSize 

Returns the sprite current frame size.

Sample:

void onSceneLoaded()
{
	//...
GetSpriteSize 

Returns the sprite bitmap actual size in pixels.

Sample:

void...
LoadSprite 

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

PlayParticleEffect 

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

SetSpriteOrigin 

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

SetSpriteRect 

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

SetupSpriteRects 

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