Category: IGI (in-game GUI) — Text and buttons
Syntax:
igiImageButton:Int(id:String, image:Int, w:Int, h:Int)
1 on the frame it's clicked, otherwise 0.
A button showing a b2d image.
Call it every frame, between drawing your game and b2dFlip. See the IGI guide.
If igiImageButton("bomb", bombImage, 48, 48) Then UseBomb()
BambooBasic © 2026 Michael Denathorn