Category: 2D Overlay
Syntax:
b2dLoadAnimImage:Int(filePath:String, frameWidth:Int, frameHeight:Int)
Int
Loads animation sprite sheet (calculates frame count from dimensions, use with b2dDrawAnimImage).
Takes filePath (sprite sheet file path, string), frameWidth (width of single frame in pixels, integer), frameHeight (height of single frame in pixels, integer).
Returns image handle (positive integer, 0 on failure).
View detailed documentation online
;No example implemented yet
BambooBasic © 2026 Michael Denathorn