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

Creating a production APK

The first thing that must be done is creating a production APK. The difference between a developer and production version is that the developer one is signed by a debug certificate while the production one is signed by its own certificate. This is necessary to identify an APK in the store with something that is hard to duplicate.

The certificate can be a self-signed certificate, which means we are going to create it ourselves and we don't need to use a certificate from a certification authority.

The following are the steps needed to create a production certificate and sign it with a newly-created certificate:

  1. We are going to use the Export option in the project context menu available after right-clicking on the project name in the Project Explorer window in Eclipse. First, we select the right export option, which is hidden under Android | Export Android Application. This is shown in the following screenshot:

  2. After clicking on the Next button, the wizard checks our...