Book Image

Learning AndEngine

By : Varga
Book Image

Learning AndEngine

By: Varga

Overview of this book

AndEngine is a very popular open source OpenGL (open graphics library) Android game engine, used to create mobile games quickly while maintaining the ability to fully customize them. This book will guide you through the whole development process of creating a mobile game for the Android platform using one of the most popular and easy-to-use game engines available today. Beginning with the very basics, you will learn how to install AndEngine, gather graphics, add sound and music assets, and design game rules. You will first design an example game and enhance it by adding various features over the course of the book. Each chapter adds more colors, enhances the game, and takes it to the next level. You will also learn how to work with Box2D, a popular 2D physics engine that forms an integral part of some of the most successful mobile games. By the end of the book, you will be able to create a complete, interactive, and fully featured mobile game for Android and publish it to Google Play.
Table of Contents (13 chapters)
12
Index

Summary


In this chapter, we learned three advanced concepts in the physics engine. First, we talked about assembling bodies from multiple fixtures that can produce better fitting bodies. We have also seen how to use different types of fixtures in a single body to produce interesting effects. Secondly, we have learned what collision filtering is and how to use it to specify which bodies should collide and which should not. Finally, a brief introduction to joints was given and one of the joints was implemented.

In the next chapter, we are going back to our game and will add additional scenes: the splash, the menu, and the loading scene. We are going to see how to load resources in the background and show a message or an image in the meantime. We will also learn how to create persistent data in the game.