Animator now can apply transforms using the timer alpha which mostly works.

This commit is contained in:
Zed A. Shaw 2026-01-28 00:29:39 -05:00
parent 7f14a39edf
commit 785d0240da
4 changed files with 29 additions and 31 deletions

View file

@ -180,7 +180,7 @@ TEST_CASE("confirm transition changes work", "[animation-new]") {
start = clock.getElapsedTime();
anim.update();
anim.motion(pos, scale);
anim.motion(pos, scale, 0.8f);
std::this_thread::sleep_for(10ms);
fmt::println("POSITION: {},{}; SCALE: {},{}; current: {}; subframe: {}",
pos.x, pos.y, scale.x, scale.y, anim.$sequence.current, anim.$sequence.subframe);