Skip to Main Content
Mastering LibGDX Game Development
book

Mastering LibGDX Game Development

by Patrick Hoey
November 2015
Beginner to intermediate content levelBeginner to intermediate
420 pages
9h 2m
English
Packt Publishing
Content preview from Mastering LibGDX Game Development

BattleUI

As mentioned previously, BludBourne uses a simple interface for fighting monsters, inspired from the first person's perspective of Dragon Warrior. The following screenshot (Figure 9) represents the individually labeled components of the BattleUI class:

BattleUI

Figure 9

The BattleUI class is composed primarily of an AnimatedImage custom class and a Table with action TextButton widgets used by the player during the battle. The BattleUI window is configured so that the player's StatusUI is always on top, which gives the player access to their inventory so that they can equip items or use consumables during battle. The StatusUI also indicates the current ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Libgdx Game Development

Learning Libgdx Game Development

Andreas Oehlke
Libgdx Cross-platform Game Development Cookbook

Libgdx Cross-platform Game Development Cookbook

David Saltares Márquez, Alberto Cejas Sánchez
Learning LibGDX Game Development - Second Edition

Learning LibGDX Game Development - Second Edition

Suryakumar Balakrishnan Nair, Andreas Oehlke

Publisher Resources

ISBN: 9781785289361Supplemental Content