Category: IGI (in-game GUI) — Trees, tabs and menus
Syntax:
igiBeginMenu:Int(label:String)
1 while the menu is open.
A menu in a menu bar (or a sub-menu inside another menu). When it returns 1, add items and then call igiEndMenu.
Call it every frame, between drawing your game and b2dFlip. See the IGI guide.
If igiBeginMenu("View") Then
If igiMenuItem("Map") Then showMap = True
igiEndMenu()
EndIf
BambooBasic © 2026 Michael Denathorn