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


In this chapter, we have learned how to load graphics and audio files into the Android device's memory. We've seen different types of textures and the texture options that influence the quality of the displayed images. Common mistakes, texture and alpha bleeding, were described and solutions for both were provided.

We have also defined basic terms such as entity, scene, background, and sprite and two types of entity hierarchies. We have designed the basic player entity and we have learned about the factory pattern that can be used to create entities. In the end, we have put everything together to put a sprite on the screen.

In the next chapter, we will explore other basic entities, namely text and HUD. We are going to discuss the limitations of text in AndEngine in greater detail and give a basic overview about localization and national alphabets.