Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering LibGDX Game Development

You're reading from   Mastering LibGDX Game Development Leverage the power of LibGDX to create a fully functional, customizable RPG game for your own commercial title

Arrow left icon
Product type Paperback
Published in Nov 2015
Publisher
ISBN-13 9781785289361
Length 420 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Patrick Hoey Patrick Hoey
Author Profile Icon Patrick Hoey
Patrick Hoey
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. As the Prophecy Foretold, a Hero is Born 2. Welcome to the Land of BludBourne FREE CHAPTER 3. It's Pretty Lonely in BludBourne… 4. Where Do I Put My Stuff? 5. Time to Breathe Some Life into This Town 6. So Many Quests, So Little Time… 7. Time to Show These Monsters Who's the Boss 8. Oh, No! Looks Like Drama! 9. Time to Set the Mood 10. Prophecy Fulfilled, Our Hero Awaits the Next Adventure Index

Chapter 7. Time to Show These Monsters Who's the Boss

A core component of any RPG is a battle system in which a player's character fights an enemy (or enemies) in hostile territory for the purpose of gaining experience and gold and completing quests. This chapter will cover the topics involved in creating this system, starting with the look and feel of the battle system as it relates to BludBourne. Our retro look and feel is inspired by elements of Dragon Warrior with a simple, but effective UI design. Other topics covered include handling leveling for the player as they progress, updating status during a battle, creating randomized monsters, and creating a flexible script for adding monsters in specific battle zones.

In summary, we will cover the following topics in this chapter:

  • A battle system with enemy NPC creation and battle mechanics
  • A battle UI used for encounters with monsters
  • HUD updates tied with state changes in an environment such as damage (health bar, magic...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime