Using modifiers and entity modifiers
AndEngine provides us with what are known as
modifiers and entity modifiers. Through the use of these modifiers we can apply neat effects to our entities with great ease. These modifiers apply specific changes to an Entity
object over a defined period of time, such as movement, scaling, rotation, and more. On top of that, we can include listeners and ease functions to entity modifiers for full control over how they work, making them some of the most powerful-to-use methods for applying certain types of animation to our Scene
object in AndEngine.
Note
Before continuing, we should mention that a modifier and an entity modifier in AndEngine are two different objects. A modifier is meant to be applied directly to an entity, causing modifications to an entity's properties over time, such as scaling, movement, and rotation. An entity modifier on the other hand, is meant to act as a container for any number of modifiers, which handle the order in which a group...