Category: IGI (in-game GUI) — Text and buttons
Syntax:
igiButtonSized:Int(label:String, w:Int, h:Int)
1 on the frame the button is clicked, otherwise 0.
A button of a given size.
Call it every frame, between drawing your game and b2dFlip. See the IGI guide.
If igiButtonSized("OK", 100, 0) Then CloseDialog()
BambooBasic © 2026 Michael Denathorn