Skip to content

From the Ground Up: Scene2D.UI Tutorials

raeleus edited this page Oct 11, 2019 · 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.

01 Buttons

Button, ImageButton, TextButton, ImageTextButton

02 Checkboxes and Radio Buttons

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

03 Labels and TextTooltips

Labels, titles, backgrounds, and tooltips, TypingLabel.

04 TextField and TextArea

TextFields, passwords, and TextAreas.

05 Tree and List

Trees, directory file structures, basic selectable lists.

06 ScrollPane

Scrollpane and using scrollpanes in conjunction with labels.

07 SelectBox

SelectBoxes and Lists for SelectBox.

08 Progress Bar and Slider

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

09 SplitPane, HorizontalGroup, and VerticalGroup

SplitPanes, HorizontalGroup, VerticalGroup, and dynamically sized content.

10 Images and Touchpad

Title images, separating lines, pictures, touchpads.

11 Window and Dialog

Windows, dialogs, confirmation windows, UI organization strategies.

12 Advanced Layout

Containers, stacks, horizontal groups, vertical groups.

13 Custom Widgets

External libraries, creating your own widgets.

14 Skin JSON

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

Clone this wiki locally