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

Summary

Well, that's the end of our Snake game. Over the course of this chapter, we took our humble Snake game from a very simple concept and fleshed it out with some game concepts, high scores, game states, and better collision handling. We had a chance to look at a couple of concepts that will make game development easier going forward: the ShapeRenderer class for debugging, and viewports for managing different screen sizes and allowing us to work in a consistent world.

In the next chapter, we will start building a game similar to the one that was a viral smash when it came out. Don't worry; it isn't something to get into a flap about. We will look at using LibGDX's Scene2D for easy UI development, spritesheets to compact our artwork, and screens ...

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