Commit graph

21 commits

Author SHA1 Message Date
Zed A. Shaw
89ca204f3d Now the Animation system is no more. Next is cleaning up the quick hacks I needed to finally get rid of it, like animate2::has. 2026-02-23 23:41:14 -05:00
Zed A. Shaw
d56b4bd335 Added invariants to the Sequence to hunt down a bug in the tests but I'll leave it there for future testing. 2026-02-21 13:24:39 -05:00
Zed A. Shaw
1baca783fc Sorted out the animation vs. easing contradiction I believe. Now there's a separate easing_duration that's calculated from the total duration of all frames. Then a easing_position determines where in the total the animation is, which is fed to the asing functions as a ration of easing_position / easing_duration. 2026-02-21 01:57:33 -05:00
Zed A. Shaw
364f66bffb Camera is now using Animate2 and it's mostly working, but there's a few more refactors needed. 2026-02-20 00:15:19 -05:00
Zed A. Shaw
46cc21ec7b Camera is now using animate2 but isn't actually using it yet. Just converted. 2026-02-17 00:55:41 -05:00
Zed A. Shaw
2484802d93 Torches are now flipped, but next is that same crash. 2026-02-13 11:10:13 -05:00
Zed A. Shaw
80f100f223 Can now apply a shader using the animation's timer but not sure if there should be shaders on animations or outside or both. 2026-02-09 13:58:28 -05:00
Zed A. Shaw
0d481a5ab7 Animator won't crash anymore when there's an error, and instead displays an error message. 2026-02-07 13:05:24 -05:00
Zed A. Shaw
46f34828e4 Sound is now working, and the animator tools will play them and also has mute. 2026-02-06 13:39:34 -05:00
Zed A. Shaw
4356b1535e Animation tool now lets you cycle through different sequence/transform 'forms' and shows you which one you're viewing. 2026-02-04 15:10:07 -05:00
Zed A. Shaw
07b2102f59 The gorious Lord Keith the Rat King can now have easing and motion functions that are defined in json and hot-reloaded. 2026-02-04 00:59:26 -05:00
Zed A. Shaw
dea0607901 Now loading the new animations out of assets/animate2.json 2026-02-03 00:30:49 -05:00
Zed A. Shaw
ca335d21e5 All of the original features now work: simple, flipped, scaled, toggled, looped and stationary is replaced by ease2::scale_only. 2026-01-31 11:40:45 -05:00
Zed A. Shaw
34e4a34f65 Nearly perfect sync between transform and animation, but not sure how to replicate that reliably. 2026-01-30 23:57:02 -05:00
Zed A. Shaw
d4e79f1d3d Animation API getting better but now need to resolve how it works with the frames. 2026-01-30 23:26:35 -05:00
Zed A. Shaw
785d0240da Animator now can apply transforms using the timer alpha which mostly works. 2026-01-28 00:29:39 -05:00
Zed A. Shaw
7f14a39edf Most of the transforms kind of work now need to hook in the new timer. 2026-01-27 23:39:09 -05:00
Zed A. Shaw
b7394f832d Now have a timer for animations that does ticks with deltatime...maybe it works. 2026-01-27 12:52:33 -05:00
Zed A. Shaw
c0f69ed026 Ease2 is the new way to do easing functions. 2026-01-22 22:32:13 -05:00
Zed A. Shaw
31b815d43e Animation motion() almost works but need to tweak the calculations so they go for the length of the animation? 2026-01-21 23:53:13 -05:00
Zed A. Shaw
60c405b1fc Refactor the animate2 and then start working on the motion feature. 2026-01-21 13:13:58 -05:00