O'Reilly logo

Libgdx Cross-platform Game Development Cookbook by Alberto Cejas Sánchez, David Saltares Márquez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. The 2D Maps API

In this chapter, we will cover the following recipes:

  • Creating maps with Tiled and loading them into Libgdx
  • Adding and querying map metadata
  • Developing your own map loaders and renderers

Introduction

Most games lay a collection of levels in front of the player for him or her to beat them. The design of those levels is crucial for the final result to be an enjoyable and engaging experience. If they are not challenging enough or too frustrating, the player will just throw away the controller or the phone and move on to something else!

We will not discuss level design; there are great specialized sources out there such as The Art of Game Design. You can refer to http://artofgamedesign.com for more details.

One thing is sure, though; ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required