Category: 2D Overlay
Syntax:
b2dSetMaxFPS:Void(fps:Int)
Void
Caps the frame rate in the modes without vsync (vsync caps it to the display already).
Takes fps (Int); 0 (the default) is no cap, and a negative value is 0. b2dFlip waits out the rest of each frame's time. On Windows the value is kept and reported, but not applied.
Returns nothing.
View detailed documentation online
;No example implemented yet
BambooBasic © 2026 Michael Denathorn