I have a main menu screen, which has 4 options, New Game
, Load Game
, Options
and Exit
.
Then:
New Game
has more options such as difficulty
, # of players
+ Start
button.
Load Game
has multiple saves to choose from together with Load
and Delete
options.
Options
has Graphics level
and Volume
radio/ slider + Apply
, Discard
buttons.
At last, the game screen would have a pannable game window, together with an overlaying UI on the side of the screen.
My problem is, I don't know what class to use for those UI parts.
From this answer I understand that Screen
is a full UI page, but it seems that creating a new Screen
and then a Stage
for each of those main menu options seems like an overkill, but maybe that's the way to go. I don't know if I should use Group
and show/hide those depending on what the user clicks. I was also told to use Table
to lay out the game screen. I'm utterly confused by all the guides I've found online. Every one seems different than the other.
The documentation is really good, but it never states how the individual parts are meant to be integrating with each other.
Is there any consensus on how to use those classes in LibGDX? Or is it a personal preference?