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

Particle systems

A particle system is a method used to create effects such as fire, smoke, or snow. The technique involves rendering a lot of small particles at once. A particle is a small picture. It's hard to define what it should represent. In the case of snow, it should be a single snowflake. When creating smoke or fire a small fire ball or a puff of smoke would be a good start.

A particle system usually creates a particle at a given point using initial parameters such as scale, opacity, and rotation. A set of modifiers is also created and each particle is modified by all modifiers over time. A particle system also defines the lifespan of a particle and how many particles are to be spawned.

Making particle systems look good is an art and there is no single way to do it. We are going to see how we can create two completely different effects using the same picture. Our game doesn't really need particle systems and so we will add one of these effects to the menu scene just for illustration...