Games How can I do a simple Yes/No dialog box in LibGDX?

andymc

Well-Known Member
Licensed User
Longtime User
I use msgbox in my libgdx games to request user input, but this sometimes causes crashes. I've tried googling libgdx dialog boxes, but can't see how to implement this in B4A using the libgdx library.
Any help would be much appreciated.
 
Hi, a Simple way I don't know but I use a modal window. It works like a table. Then I add two buttons.
 
Last edited:
You can use scene2D for all the GUI stuff. I've not used it in my games, but it looks very good. In the examples you have one called "Scene2D_Windows" where you have a dialog window. Hope it helps...
 
Back
Top