Animations - interpolate between values over time for most UIDrawable fields #59
Labels
No labels
Alpha Release Requirement
Bugfix
Demo Target
Documentation
Major Feature
Minor Feature
priority:tier1-active
priority:tier2-foundation
priority:tier3-future
priority:tier4-deferred
Refactoring & Cleanup
system:animation
system:documentation
system:grid
system:input
system:performance
system:procgen
system:python-binding
system:rendering
system:ui-hierarchy
Tiny Feature
workflow:blocked
workflow:needs-benchmark
workflow:needs-documentation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
john/McRogueFace#59
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
40 feat: Animate arbitrary fields on all the UIDrawables [depends on all UIDrawables use consistent member names]
The purpose of an Animation is for Python code to set up a starting value, ending value, and duration - then get a callback (or an automatic continuation to another Animation) when the animation is done.
Use cases to cover:
nmilliseconds, set the value to the index closest tot/n. The animated value is in one state or the next one. Frames of a sprite's animation and "scrolling in" text are examples of thist/nevery frame. The value must always be set to the exact target value at the end of the animation.t/n), some easing functions would be nice. It's just a single function,float interp(float). Providing these functions from Python is not a high priority, it would violate McRogueFace's tenet of "Don't call Python every frame".Data types to cover:
Advanced features to ponder:
Depends on #56.