Renderer
DrawText
Renders a string within bounds of game screen
Renderer.DrawText('Verdana', 'Hello!', Vector2D(100, 100), false, true, Color(255, 255, 255, 255))LoadFontFromFile
Initializes a downloaded font
Renderer.LoadFontFromFile('font', 'verdana', 24, true) Name
Type
Description
Instance
String
Custom name for font
Font
String
Name of font
Size
Integer
Font size
Anti-aliased
Boolean
Is text anti-aliased
DrawLine
Renders a line within bounds of game screen
DrawCircleFilled
Renders a filled circle on game screen
DrawCircleGradient3D
Renders a circle with a gradient on game screen
DrawCircle3D
Renders a circle on game screen
DrawRect
Renders a rectangle on game screen
DrawRectFilled
Renders a filled rectangle on game screen
GetScreenSize
Returns dimensions of screen
CreateTextureFromBase64
Creates an image from base64 string
Name
Type
Texture Data
String
Initial Size
CreateTextureFromBytes
Creates an image from byte array
Name
Type
Texture Data
Byte Array
Initial Size
DrawTexture
Renders texture on screen
Last updated

