Canvas
📄️ Animations
Turbo makes animation easy by storing your animations and progressing them automatically. You can set and retreive the status of any animation with an animation_key. Once you have the key, you can adjust any settings on your animation, then call the sprite! macro using that animation key, and turbo will continue to progress the animation forward every frame.
📄️ Camera
Get camera position
📄️ Circles
circ!
📄️ Background Color
Use clear() to set the background color of the canvas.
📄️ Ellipses
ellipse!
📄️ Lines
path!
📄️ Nine-Slice
Use nine_slice sprites to create UI elements, like buttons and text boxes, that can be resized without distorting the borders.
📄️ Rectangles
rect!
📄️ Resolution
Gets the pixel width and height of the game canvas.
📄️ Sprites
Follow these simple steps to integrate sprites into your Turbo game:
📄️ Text
text!