ox icon indicating copy to clipboard operation
ox copied to clipboard

Define the Sprite API

Open ThaisRobba opened this issue 10 years ago • 1 comments

Ideally, a sprite should offer the following options:

  • Anchor/Pivot
  • Masking
  • Crop
  • Scale
  • Rotation
  • Transform
  • Animation
  • Event listeners.

ThaisRobba avatar Mar 24 '15 16:03 ThaisRobba

Right now it offers only spritesheet animation through an easy API. I think I might postpone this for v0.3 as it is quite a bit of work to add the others in a clear, concise manner.

ThaisRobba avatar Apr 20 '15 16:04 ThaisRobba