Update Animation System

John McCardle 2025-12-16 21:21:40 +00:00
commit ce202e7c39

@ -5,9 +5,9 @@ The Animation System provides property-based animations with 24+ easing function
## Quick Reference ## Quick Reference
**Related Issues:** **Related Issues:**
- [#120](../../issues/120) - Animation Property Locking (Tier 1 - Active) - [#120](../issues/120) - Animation Property Locking (Tier 1 - Active)
- [#119](../../issues/119) - Animation Completion Callbacks (Closed - Implemented) - [#119](../issues/119) - Animation Completion Callbacks (Closed - Implemented)
- [#100](../../issues/100) - Add Rotation Support - [#100](../issues/100) - Add Rotation Support
**Key Files:** **Key Files:**
- `src/AnimationManager.h` / `src/AnimationManager.cpp` - Animation execution engine - `src/AnimationManager.h` / `src/AnimationManager.cpp` - Animation execution engine
@ -15,7 +15,7 @@ The Animation System provides property-based animations with 24+ easing function
- `src/UIDrawable.h` - Animatable properties defined here - `src/UIDrawable.h` - Animatable properties defined here
**API Reference:** **API Reference:**
- See [mcrfpy.animate()](../../docs/api_reference_dynamic.html#animate) in generated API docs - See [mcrfpy.animate()](../docs/api_reference_dynamic.html#animate) in generated API docs
## Architecture Overview ## Architecture Overview
@ -77,9 +77,9 @@ mcrfpy.animate(sprite, "scale_x", 2.0, 800, "bounce_out")
## Current Issues & Limitations ## Current Issues & Limitations
**Known Issues:** **Known Issues:**
- API inconsistency: position vs frame animation differs (see [FINAL_RECOMMENDATIONS.md](../../FINAL_RECOMMENDATIONS.md)) - API inconsistency: position vs frame animation differs (see [FINAL_RECOMMENDATIONS.md](../FINAL_RECOMMENDATIONS.md))
- Property locking: Multiple animations can conflict on same property ([#120](../../issues/120)) - Property locking: Multiple animations can conflict on same property ([#120](../issues/120))
- Rotation not yet supported ([#100](../../issues/100)) - Rotation not yet supported ([#100](../issues/100))
**Recommendations from Strategic Review:** **Recommendations from Strategic Review:**
Per FINAL_RECOMMENDATIONS.md, animation bugs contributed to tutorial burnout. Current system is feature-complete but needs: Per FINAL_RECOMMENDATIONS.md, animation bugs contributed to tutorial burnout. Current system is feature-complete but needs:
@ -127,7 +127,7 @@ def on_complete(runtime_ms):
mcrfpy.animate(sprite, "x", 400, 1000, "linear", callback=on_complete) mcrfpy.animate(sprite, "x", 400, 1000, "linear", callback=on_complete)
``` ```
**Implementation:** [#119](../../issues/119) - Callbacks fire when animation completes **Implementation:** [#119](../issues/119) - Callbacks fire when animation completes
## Related Systems ## Related Systems