The animation tool now works and I used it to design an idle animation with the classic bounce.

This commit is contained in:
Zed A. Shaw 2026-02-11 13:00:57 -05:00
parent 80f100f223
commit 547e8ec993
3 changed files with 9 additions and 15 deletions

View file

@ -81,7 +81,7 @@ namespace animate2 {
bool frame_change = false;
if(elapsed < duration) {
// BUG: subframe will just run crazy because I don't actually do delta time difference here vvvvv
// BUG: subframe will just run crazy because I don't actually do delta time difference here
sequence.subframe = std::lerp(sequence.subframe, 1.0, sequence.timer.DELTA * transform.ease_rate);
} else {
sequence.timer.restart();