Soul-max crowd: replay the per-group movie instead of a flat overlay #10

Merged
Yonokid merged 6 commits from GanYiZhong/YataiDONNijiiro:fever-crowd-anim into main 2026-09-09 17:10:36 +02:00
Showing only changes of commit 4196e7e0f5 - Show all commits
+2 -2
View File
@@ -9,13 +9,13 @@
-- gauge reaches 魂 max, `fever_normal` when it drops below -- so the state machine is
-- wait -> (start) enter [normal_fever, fever) -> loop [fever, fever_normal)
-- -> (stop) exit [fever_normal, nframes) -> wait
-- at the original's fixed 120 Hz step. Every crowd group is its own sprite (bob + squash),
-- at the original's fixed 60 Hz step. Every crowd group is its own sprite (bob + squash),
-- and their depth order comes from the data, so the turtle/shiba groups sit exactly
-- where and how the cabinet layers them.
local FeverAnim = {}
FeverAnim.__index = FeverAnim
local FRAME_MS = 1000.0 / 120.0 -- the original steps the movie at 120 Hz
local FRAME_MS = 1000.0 / 60.0 -- 60 Hz (checked against the original)
local STAGE_Y = 540 -- the 1920x540 crowd stage covers the lower half of the screen
function FeverAnim.available(index)