Skip to content

From the Ground Up: Scene2D.UI Tutorials

raeleus edited this page Jan 4, 2023 · 28 revisions

Scene2D.UI

So you want to make slick menus for your games right? Customized HUD widgets? Level editing interfaces? It just so happens that UI is libGDX's strong suit! This tutorial series is going to cover the basics of UI design in Scene2D, libGDX's premiere scene graph and layout toolkit.

Learn the basics of Scene2D and Table layout.

Button, ImageButton, TextButton, ImageTextButton

Design checkboxes, radio buttons. Implement these in selectable groups.

Labels, titles, backgrounds, tooltips, and TypingLabel.

TextFields, passwords, and TextAreas.

Trees, directory file structures, basic selectable lists.

Scrollpanes and their various options.

SelectBoxes and Lists/Scrollpanes for SelectBox.

Progress Bars, Health Bars, Sliders, Mana Orbs, and other variations.

SplitPanes, HorizontalGroup, VerticalGroup, and dynamically sized content.

Title images, separating lines, backgrounds, pictures.

Touchpads and alternative inputs.

Windows, dialogs, confirmation windows, UI organization strategies.

Container and Stack

External libraries, creating your own widgets.

Using Actions to make an animated menu.

Exploring Skin JSON's and tricks/techniques with the libGDX skin loader

Using debug mode to draw lines around widgets

Clone this wiki locally