Summary

In this chapter, we learned how to implement our game objects. We also learned how to create compound game objects using several textures. Additionally, the implementation of the level loader has been discussed. Afterwards, we assembled the game world using the level loader, which in turn will create all our game objects from now on. We learned how to use bitmap fonts and used Libgdx's built-in font for the game's GUI texts. In addition, GUI elements have been added to display the game's status, such as the player's current score and extra lives.

Remember, we are still using our camera helper class that allows us to easily move around inside our scene. You can also still zoom in and out.

The next chapter will continue to implement the rest ...

Get Learning Libgdx Game Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.