How to create button in game

I came to know nifty is used as GUI to create button, text boxes, etc. But what nifty does is that it creates those for each screen. It is convenient for the menu of the game when the game has not yet started. But I am designing poker game and I want some buttons to interact while game is on. For example, buttons for raise money, fold, check, quit, etc.
Can anyone help on it. I would appreciate it.

You can still use nifty for that…

1 Like

Can you give some direction for it? I am just slightly confused about it.

The nifty docs and nifty manual will teach you this, set the alpha component to 0 for the backgroundColor of the layer/container panels, then you can see your game behind your buttons.

1 Like

No troubleshooting discussions here. Learn reading, it will help for coding.