Animations - interpolate between values over time for most UIDrawable fields #59
Labels
No Label
Alpha Release Requirement
Bugfix
Demo Target
Documentation
Major Feature
Minor Feature
Refactoring & Cleanup
Tiny Feature
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: john/McRogueFace#59
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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:
n
milliseconds, 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/n
every 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.