Confusion with Libgdx UI

Posted by BrotherJack on Game Development See other posts from Game Development or by BrotherJack
Published on 2013-05-21T13:55:08Z Indexed on 2013/10/22 10:16 UTC
Read the original article Hit count: 282

Filed under:
|

I've started with Libgdx and am currently stumbling about trying to understand how to set up the interface. I have generated the base projects in Eclipse ( < proj-name >,< proj-name >-android, < proj-name >-desktop, < proj-name >-html), and can get the program to display a simple background, play a looping sound file, and draw a tank. I have been having some problems implementing the UI though.

I want to make a collapsible interface bar at the bottom of the screen that would contain buttons for movement, and selecting weapons. I'm confused since there appears to be several ways of doing this and the documentation (or tutorials explaining it) tend to be obsolete. How would one go about this? Use a stage for the bar and actors for the widgets? I'm a little lost on this.

© Game Development or respective owner

Related posts about libgdx

Related posts about ui-design