b2dLoadAnimImage

Category: 2D Overlay

Syntax:

b2dLoadAnimImage:Int(filePath:String, frameWidth:Int, frameHeight:Int)


Parameters

Returns

Int



Summary

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



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn