`Tweenable`-based design
Add a `Tweenable<T>` trait describing a generic animatable tween-like element. Expose the three types of tweenables and implement `Tweenable<T>` for them: - `Tween<T>`, a single animation - `Sequence<T>`, a sequence of consecutive animations - `Tracks<T>`, a batch of animations running in parallel Clean-up animators to hold a single top-level `Tweenable<T>` and let the user build any kind of animation hierarchy for themselves.
Showing
- CHANGELOG 12 additions, 4 deletionsCHANGELOG
- examples/colormaterial_color.rs 44 additions, 41 deletionsexamples/colormaterial_color.rs
- examples/sequence.rs 103 additions, 40 deletionsexamples/sequence.rs
- examples/sprite_color.rs 44 additions, 40 deletionsexamples/sprite_color.rs
- examples/transform_rotation.rs 45 additions, 41 deletionsexamples/transform_rotation.rs
- examples/transform_translation.rs 44 additions, 40 deletionsexamples/transform_translation.rs
- examples/ui_position.rs 54 additions, 50 deletionsexamples/ui_position.rs
- src/lib.rs 264 additions, 165 deletionssrc/lib.rs
- src/plugin.rs 8 additions, 12 deletionssrc/plugin.rs
Loading
Please register or sign in to comment