Sprite, text and other primitive drawing functions.
Title | Description |
---|---|
SetupSpriteRects | Cuts the sprite into a custom number of |
SetSpriteRect | Selects a sprite frame for a sprite which has been cut by the |
SetSpriteOrigin | Sets the normalized origin point for the sprite named |
PlayParticleEffect | Inserts a temporary particle effect the the sprite layer. This function loads a... |
LoadSprite | Load sprite bitmaps into video memory which can be used to draw in-game menus and such items.... |
GetSpriteSize | Returns the sprite bitmap actual size in pixels. Sample: void... |
GetSpriteFrameSize | Returns the sprite current frame size. Sample: void onSceneLoaded() { //... |
DrawText | Draw text strings to screen. This function supports bitmap fonts exported by the AngelCode's... |
DrawSprite | Draw a non-entity sprite from a bitmap file. Optionally, a custom color value may be... |
DrawShapedSprite | Draws a sprite at position |
DrawRectangle | Draws a rectangle at position |
DrawLine | Draws a line connecting |
DrawFadingText | Draws a temporary fading text string that will last |
ComputeTextBoxSize | Computes and returns the text bounding box size. const string text = "the quick brown... |
ComputeCarretPosition | Computes and returns the carret 2D coordinates based on the... |