Book Image

Mastering LibGDX Game Development

By : Patrick Hoey
Book Image

Mastering LibGDX Game Development

By: Patrick Hoey

Overview of this book

Table of Contents (18 chapters)
Mastering LibGDX Game Development
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we were able to start creating the foundation for our game and actually see some real progress with moving around the world of BludBourne. We first learned about tile-based maps and how to create them with the Tiled editor. We then learned about the high-level architecture of the classes we would create for this chapter and implemented starter classes that allowed us to hook into the LibGDX application lifecycle. After that, we learned about textures, TMX formatted tile maps, and how to manage them with the asset manager. We then learned how the orthographic camera works within our game and how to display the map within the render loop. We implemented a map manager that dealt with collision layers, spawn points, and a portal system that allowed us to transition between different locations seamlessly. Finally, we implemented a player character with animation cycles and input handling for moving around the game map.

In the next chapter, we will begin to populate our...