Files
YataiDONNijiiro/Scripts/background/bg_data/bg_anim/b_010_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

15 lines
1.1 KiB
Lua

-- GENERATED by scratchpad/lyric/movie_export.py from enso/background/bg_nomal_b_010.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, 540, 960, 270},
[3] = {1224, 72, 612, 36},
},
normal = {
{ shape = 1, period = 1, tx = 960, ty = 270, sx = 1, sy = 1, rot = 0, a = 1 }, -- #1@0
{ shape = 3, period = 80, blend = 8, tx = 960, ty = 409, sx = 1, sy = 1, rot = 0, a = {1,0.973,0.949,0.922,0.898,0.871,0.848,0.82,0.793,0.77,0.742,0.719,0.691,0.668,0.641,0.617,0.59,0.562,0.539,0.512,0.488,0.461,0.438,0.41,0.383,0.359,0.332,0.309,0.281,0.258,0.23,0.207,0.18,0.152,0.129,0.102,0.078,0.051,0.027,0,0.023,0.051,0.074,0.102,0.125,0.148,0.176,0.199,0.227,0.25,0.273,0.301,0.324,0.352,0.375,0.398,0.426,0.449,0.477,0.5,0.523,0.551,0.574,0.602,0.625,0.648,0.676,0.699,0.727,0.75,0.773,0.801,0.824,0.852,0.875,0.898,0.926,0.949,0.977,1} }, -- #5@1/#3@0
},
}