Category: 2D Overlay
Syntax:
b2dDrawText:Void(text:String, x:Int, y:Int, centre:Int, font:Int)
Void
Draws text string at specified position using loaded font.
Takes text (string to display, any UTF-8 text), x (X position in pixels, integer), y (Y position in pixels, integer), centre (alignment: 0=left-aligned, 1=centered on x position), font (font handle from b2dLoadFont, positive integer).
Returns nothing.
View detailed documentation online
;No example implemented yet
BambooBasic © 2026 Michael Denathorn