Sprites on Path

Controls:

  • Click on screen to add more sprites.

This demo features the following elements:

  • Path Behaviors.
  • Path Behavior lifecycle.
  • CompoundImage management.
  • SpriteActor definition.
  • Dynamic sprite addition to the scene.
  • Gradient optimization by caching it as bitmap.
  • Avoid erasing the background since it's going to be overwritten by the background.