Book Image

Learning AndEngine

By : Martin Varga
Book Image

Learning AndEngine

By: Martin 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 (19 chapters)
Learning AndEngine
About the Author
About the Reviewers


Concept is an important part in making a game. Not only do you get an idea of how your game is going to look, but it will also show you most of the resources that you are going to need. It's also important to think your idea through before coding and identify any possible caveats. Later, when you start coding and get stuck, get back to your concept.

In this chapter, we have drafted our game and its rules. We have also designed our game screen using the real assets that we are going to use in our game. The concept will serve as the blueprint to our game.

In the next chapter, we will load the assets to memory in order to use them. We will list the different ways of loading the graphics and types of textures. We are going to see the most common unwanted artifacts that can appear in AndEngine games, and we will discuss how to prevent them. Finally, we are going to use the assets to create our main character and add it to the game.