AndEngine is a popular Android 2D OpenGL game engine. There are various extensions available for AndEngine that extends its functionality, for example, the Box2D Physics extension and the Live Wallpaper extension. One problem in getting started with AndEngine game development is its lack of proper documentation. There is a good collection of AndEngine examples but most of them are not updated and of not much help for a beginner without a proper documentation to go with it. So, the next best thing you can look at for learning to develop games in AndEngine is tutorials. This is a list of some of the best AndEngine tutorials that you may find helpful.
A very popular and one of the most comprehensive series of tutorials on AndEngine. Useful for both beginner and advanced developers, the tutorial covers a wide variety of AndEngine topics right from introduction to how to setup and get started with AndEngine to performance tips. The first section of the series deals with basics like introduction to AndEngine, setup, important concepts, comparison between GLES1 versus GLES2 etc. The next section covers various entities such as Sprites, Tiled Sprites and Animated Sprites, how to remove entities, entity modifiers, how to handle touch events, HUD, scenes management, how to handle collision between entities, creating text etc. The topic of handling touch events is discussed in details in the next section, including how to use the scene touch listener, how to create left/right game controller buttons, handle native Android key events, catch continuous touch etc.
Rest of the series covers topics such as sound and music, how to load game resources like graphics, sounds, fonts etc., splash screen and how to handle onResume, onPause and onDestroy. Physics dominates one of the section that covers various important topics including creating bodies, differences between body types, creating sensors, collision between bodies, how to overcome gravity forces etc. The tutorials also contain miscellaneous useful topics that may not be exclusively related to AndEngine, such as data storage, improving performance, Texture Packer, how to restart scene/level etc.
It ends with a full game tutorial that walks you through the complete process of developing a platform jumping game (the player jumps between tiles to collect coins avoiding obstacles) with AndEngine using the Physics Box2D extension. The source code for this full game is available for download.
This tutorial guides you through the development of a simple Android game with AndEngine. Learn how to use AndEngine to create a game based on the mathematical puzzle “The Tower of Hanoi”. The tutorial helps you in getting started with AndEngine, shows how to setup your development environment for AndEngine, provides a short explanation of the tower of Hanoi puzzle and then moves on to the specifics of the project, explaining important AndEngine concepts. It also cover vital topics such as loading game assets to VRAM, creating the game scene and the game logic in detail.
Another good tutorial series on AndEngine. The tutorials are accompanied by videos. The series is made up of eight different AndEngine tutorials that cover topics such as installing AndEngine, Box2d Extension, running AndEngine on the emulator, Android game project setup, creating a camera, scene, sprite etc., physics and collisions, using the scene manager etc. The tutorials are very detailed and includes all relevant source code examples.
A tutorial series on Android game development with AndEngine. The series covers both basic and advanced topics related to AndEngine game development and also touches upon various topics that are not exclusively related to AndEngine but can still be helpful, for example it features tutorials on using Git and GitHub and android logging and logging in AndEngine. Apart from basic tutorials such as how to get started with AndEngine, it also features some useful tutorials on advanced topics such as dealing with screen sizes and ratios, render texture and fragment shaders etc.
Did you know you can create awesome Android live wallpapers with AndEngine? This tutorial shows you how to create live wallpapers with AndEngine. Source code of the project is also available as a github repository.
Follow this tutorial for a good understanding of AndEngine PathModifier. This is not a beginner tutorial and it assumes that you are at least somewhat familiar with AndEngine and have basic understanding of concepts such as creating sprites and the like.
Leaderboards and achievements are standard features you would expect in a game now a days. This tutorial shows how to implement leaderboards and achievements using Google Play Game Services (GPGS) in your AndEngine game.
This tutorials walks you through the development of a space invaders themed game in AndEngine. The aim is to create a space invader themed game without using any external images, making sure the code is neat and well written in OOP and to include at least a full structure of the game. The complete project source code is available as a Github repository.
Many games integrate various Facebook related functionality that adds a social element to your games. For example, games often lets you share your game scores on Facebook or invite your Facebook friends to try the game out. Here’s a tutorial from an AndEngine forum thread that explains how to integrate Facebook functionality in your AndEngine games using the Facebook SDK.