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... |
SetupSpriteRects | Cuts the sprite into a custom number of |
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... |
DrawLine | Draws a line connecting |
DrawRectangle | Draws a rectangle at position |
DrawShapedSprite | Draws a sprite at position |
DrawFadingText | Draws a temporary fading text string that will last |
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() { //... |
SetSpriteRect | Selects a sprite frame for a sprite which has been cut by the |
SetSpriteOrigin | Sets the normalized origin point for the sprite named |