Category: IGI (in-game GUI) — Trees, tabs and menus
Syntax:
igiBeginPopup:Int(id:String)
1 while the popup is open.
A small popup (for example a right-click menu). It opens with igiOpenPopup and closes when the user clicks elsewhere or igiCloseCurrentPopup is called. When it returns 1, add its contents and call igiEndPopup.
Call it every frame, between drawing your game and b2dFlip. See the IGI guide.
If igiBeginPopup("actions") Then
If igiMenuItem("Drop") Then DropItem()
igiEndPopup()
EndIf
BambooBasic © 2026 Michael Denathorn