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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access