ox
ox copied to clipboard
Define the Sprite API
Ideally, a sprite should offer the following options:
- Anchor/Pivot
- Masking
- Crop
- Scale
- Rotation
- Transform
- Animation
- Event listeners.
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.