I'm working on an Android game but i'm a little stuck on how to create the level selection screen. Now I plan on placing some Scene2D text buttons inside a table and then placing that onto the stage. So on the first page, 9 levels might be shown. How would I go about allowing the user to scroll over to the next set of levels? Would I simply create a stage that is twice the width of the screen and then pan the camera?

Also how would I implement a star based completion system? So telling each level how many stars the user got and then feeding that information into Scene2D to display and deciding if the next level can be unlocked

Thank you Craft, I was heading in that direction . Will I manually have to add a listener to every single level button? Or is there a better way of handling which level is selected and then loading up that leevel

Thank you Craft, I was heading in that direction . Will I manually have to add a listener to every single level button? Or is there a better way of handling which level is selected and then loading up that leevel

In my game I did something similar (without the stars), I had 40 characters to create a selection screen (with lock/unlock), so create 40 specific listeners is bad, that was my solution.

- I verify which characters are unlocked in Preferences to create the buttons.- When the button is created you can set a name, so you can use this value to know the selected character:

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org