b2dLoadFont

Category: 2D Overlay

Syntax:

b2dLoadFont:Int(bitmapPath:String, metricsPath:String)


Parameters

Returns

Int



Summary

Loads bitmap font from texture atlas and metrics file.

Takes bitmapPath (path to font texture atlas image file, PNG format), metricsPath (path to font metrics data file, .fnt format).

Returns font handle (positive integer for success, 0 for failure).

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn