From 165a9f616c9b762d1f1b7159fe5362f4d4253ae5 Mon Sep 17 00:00:00 2001 From: gamer147 Date: Wed, 8 Jul 2026 22:09:02 -0400 Subject: [PATCH] feat(godot): drive the anim interpolator off FrameClock (paced spritesheet+glow) Co-Authored-By: Claude Opus 4.8 --- godot/Main.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/godot/Main.cs b/godot/Main.cs index a43ab30..b155aed 100644 --- a/godot/Main.cs +++ b/godot/Main.cs @@ -255,7 +255,7 @@ public partial class Main : Godot.Control double clockDur = System.Math.Max(1, _vm.Gfx.AnimClockDurationTicks) * GameTickSeconds; bool clockReset = clockGen != _lastClockGen; _lastClockGen = clockGen; - foreach (var v in _vm.Gfx.SnapshotVisibleObjects()) // already ascending-handle = z-order + foreach (var v in _vm.Gfx.SnapshotVisibleObjects(_clock.NowMs)) // interpolate at the throttled clock { float a = AlphaFor(v, clockReset, clockDur) * (v.Alpha / 255f); if (v.SurfaceResId == 0)