O'Reilly logo

LibGDX Game Development By Example by James Cook

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 6. Onto the Next Platform...Game

In this chapter, we are going to look at making our next game! This is going to be based off a classic game, Super Mario Bros. Yes, that's right! We are going to look at making a platformer, a genre made famous and popularized by the famous plumber and the big N. In this chapter, we will look at reusing everything we have learned to give us a head start, and then we will get introduced to a new tool named Tiled—a tile map editor to help us build a simple level. We will then take the output generated from that tool, and import it into our game using the Tile Map API that LibGDX has. Next, we will add our character and introduce collision detection between our character and the tile map we have. Finally, ...

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