Files
YataiDONNijiiro/Scripts/background/bg_data/bg_anim/b_007_n.lua
T
TaikoZhongandClaude Opus 5.5 8d13c3a393 background: fix the collab bands and backdrops found by a frame compare
Every exported part was compared frame by frame with the cabinet renderer,
which showed:

- donbg bands: the state groups were taken as the first three root sprites
  (normal / fever / miss) and root-level shapes were dropped, so mario's
  and lovelive's bands lost their sky plate and layers (black band with
  smeared notes).  Groups now come from the root's own `normal` / `fever`
  label frames: shown on the normal frame -> normal; fever only -> fever;
  shown in both and above every fever layer -> top (drawn over the
  crossfade).  Root shapes are included.
- backdrops whose root timeline moves its children (mario's scrolling
  stage) are dumped through the root, so the scroll is kept.
- a normal backdrop's switched-off layer (alpha 0 on the root, e.g. imas's
  spotlight cones) stays hidden.
- loops longer than the old 2700-frame dump (mario 3840, i7 natsu 1604) are
  dumped twice over and kept exact instead of being cut at 1920 frames.
- colour-multiply placements (tinted spotlights, bands) carry cr/cg/cb and
  are drawn with `color`; the donbg miss-streak darkening now multiplies an
  existing colour instead of replacing it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 17:05:39 +08:00

31 lines
5.4 KiB
Lua

-- GENERATED by scratchpad/lyric/movie_export.py from enso/background/bg_nomal_b_007.nulm -- do not hand-edit.
-- 1920x540 stage @60fps (screen y 540). Per leaf: shape, period, channels tx/ty/sx/sy/rot/a
-- (number = constant, table = per frame of the loop; a = 0 means not placed), optional on/on_period mask.
-- shapes[c] = {w, h, ox, oy}: png size and the shape origin inside it.
return {
shapes = {
[1] = {1920, 384, 960, 192},
[3] = {1920, 384, 960, 192},
[6] = {1920, 540, 960, 270},
[8] = {720, 456, 360, 228},
[10] = {720, 456, 360, 228},
[12] = {720, 456, 360, 228},
[15] = {896, 540, 448, 270},
[17] = {896, 540, 448, 270},
[20] = {1920, 540, 960, 270},
[22] = {1920, 136, 960, 68},
},
normal = {
{ shape = 1, period = 80, tx = 960, ty = 348, sx = 1, sy = 1, rot = 0, a = {1,1,1,1,1,1,1,1,1,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.125,0.25,0.375,0.5,0.625,0.75,0.875,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0.875,0.75,0.625,0.5,0.375,0.25,0.125,0} }, -- #14@2/#12@2
{ shape = 15, period = 40, tx = 960, ty = 270, sx = 1, sy = 1, rot = 0, a = {0.301,0.316,0.328,0.344,0.359,0.371,0.387,0.402,0.414,0.43,0.445,0.457,0.473,0.488,0.5,0.516,0.531,0.543,0.559,0.574,0.586,0.602,0.586,0.566,0.551,0.535,0.52,0.5,0.484,0.469,0.453,0.434,0.418,0.402,0.383,0.367,0.352,0.336,0.316,0.301} }, -- #19@3/#15@0
{ shape = 17, period = 40, tx = 960, ty = 270, sx = 1, sy = 1, rot = 0, a = {0.699,0.664,0.633,0.598,0.566,0.531,0.5,0.465,0.434,0.398,0.367,0.332,0.301,0.266,0.234,0.199,0.168,0.133,0.102,0.066,0.035,0,0.039,0.078,0.117,0.156,0.195,0.234,0.273,0.312,0.352,0.387,0.426,0.465,0.504,0.543,0.582,0.621,0.66,0.699} }, -- #19@3/#17@1
{ shape = 20, period = 1, tx = 960, ty = 270, sx = 1, sy = 1, rot = 0, a = 1, cr = 0.898, cg = 0.898, cb = 0.898 }, -- #20@4
{ shape = 22, period = 1, tx = 960, ty = 472, sx = 1, sy = 1, rot = 0, a = 1 }, -- #22@5
},
}