b2dCls

Category: 2D Overlay

Syntax:

b2dCls:Void()



Returns

Void



Summary

Clears the back buffer to the current cls colour and begins a new frame.

View detailed documentation online



Example
b2dCls()
b2dDrawText("Hello", 10, 10, False, font)
b2dFlip()

BambooBasic © 2026 Michael Denathorn