Sprite, text and other primitive drawing functions.
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 |
DrawLine | Draws a line connecting |
DrawRectangle | Draws a rectangle at position |
DrawShapedSprite | Draws a sprite at position |
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 |
SetSpriteRect | Selects a sprite frame for a sprite which has been cut by the |
SetupSpriteRects | Cuts the sprite into a custom number of |