forked from Yonokid/YataiDONNijiiro
Collab songs (#SCENEPRESET) now get their own cabinet backdrop, replayed by
the same objects as the default backdrop instead of the parent's collab art:
miku, toho, gumi, ia, lovelive, i7 (id7 / tri / rev / natsu), imas
(765 / cg / ml / sidem), yo-kai (base / matsuri / hatsukoi / tokoroten /
yougota), mario, a3
Each preset is a pack in bg_data/collab_packs.lua naming its parts: donbg
band (1P and 2P), normal and clear backdrops, troupe, stand under the
troupe, drumroll effect and soul-max crowd. Shared parts (the i7, imas
and yo-kai families) are shared the way the cabinet shares them. A pack is
used only when every part it names is present, otherwise the preset falls
back to the collab script as before. Packs also apply in 2P (donbg bands).
The objects take a part name where they took a random index:
DonBG.create_named, BGNormal.create_named, BGFever.create_named,
ArcadeDancerGroup.new("<name>"), Fever.Anim.new("<name>"). New:
renda_clip.lua (each hit replays one of the effect's parts along its own
path), and a beat-synced BGAnim for the whole-troupe dancer movies (i7,
a3). Collab troupes stand in fixed positions (lead in the centre) and
grow from 1 to the full troupe with the gauge.
Exported placements may now mirror: bg_anim, donbg and dancer data carry a
mirror flag (drawn with mirror = horizontal and the origin moved to the
other side of the png). Existing data has no flag and draws as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
318 lines
11 KiB
Lua
318 lines
11 KiB
Lua
-- GENERATED by scratchpad/arcade_collab/ac_dancer.py from enso/dancer/dance_b_005.nulm -- do not hand-edit.
|
|
-- Collab troupe: slot i (pos{i-1}) shows variant i-1 (Dancer{i}).
|
|
-- keys = {arcade_frame, {{slot,tx,ty,sx,sy,rot,alpha[,mirror]}, ...}}
|
|
-- o[slot+1] = {ox,oy}: sprite-local (0,0) inside that frame PNG
|
|
return {
|
|
fixed = true,
|
|
pos = {960,600,1320},
|
|
posy = 1005,
|
|
variants = {
|
|
[0] = {w=334,h=495,n=320,dance=80,out=240,
|
|
o={{141,240},{164,233},{177,234},{137,243},{114,249},{91,242},{118,237},{163,239},{182,237},{196,235}},
|
|
keys={
|
|
{0,{}},
|
|
{5,{{0,0,282,1,1,0,1}}},
|
|
{6,{{0,0,239.45,1,1,0,1}}},
|
|
{7,{{0,0,198.55,1,1,0,1}}},
|
|
{8,{{0,0,159.35,1,1,0,1}}},
|
|
{9,{{0,0,121.8,1,1,0,1}}},
|
|
{10,{{0,0,85.95,1,1,0,1}}},
|
|
{11,{{0,0,51.7,1,1,0,1}}},
|
|
{12,{{0,0,19.2,1,1,0,1}}},
|
|
{13,{{0,0,-11.7,1,1,0,1}}},
|
|
{14,{{0,0,-40.9,1,1,0,1}}},
|
|
{15,{{0,0,-68.4,1,1,0,1}}},
|
|
{16,{{0,0,-94.3,1,1,0,1}}},
|
|
{17,{{0,0,-118.45,1,1,0,1}}},
|
|
{18,{{0,0,-141,1,1,0,1}}},
|
|
{19,{{0,0,-161.85,1,1,0,1}}},
|
|
{20,{{0,0,-181.05,1,1,0,1}}},
|
|
{21,{{0,0,-198.55,1,1,0,1}}},
|
|
{22,{{0,0,-214.4,1,1,0,1}}},
|
|
{23,{{0,0,-228.6,1,1,0,1}}},
|
|
{24,{{0,0,-241.1,1,1,0,1}}},
|
|
{25,{{0,0,-251.95,1,1,0,1}}},
|
|
{26,{{0,0,-261.15,1,1,0,1}}},
|
|
{27,{{0,0,-268.65,1,1,0,1}}},
|
|
{28,{{0,0,-274.5,1,1,0,1}}},
|
|
{29,{{0,0,-278.65,1,1,0,1}}},
|
|
{30,{{0,0,-281.15,1,1,0,1}}},
|
|
{31,{{0,0,-282,1,1,0,1}}},
|
|
{32,{{0,0,-281.35,1,1,0,1}}},
|
|
{33,{{0,0,-279.3,1,1,0,1}}},
|
|
{34,{{0,0,-275.95,1,1,0,1}}},
|
|
{35,{{0,0,-271.3,1,1,0,1}}},
|
|
{36,{{0,0,-265.25,1,1,0,1}}},
|
|
{37,{{0,0,-257.9,1,1,0,1}}},
|
|
{38,{{0,0,-249.15,1,1,0,1}}},
|
|
{39,{{0,0,-239.1,1,1,0,1}}},
|
|
{40,{{0,0,-227.75,1,1,0,1}}},
|
|
{41,{{0,0,-215,1,1,0,1}}},
|
|
{42,{{1,0,-215,1,1,0,1}}},
|
|
{43,{{1,0,-211.6,1,0.98473,0,1}}},
|
|
{44,{{1,0,-208.9,1,0.97221,0,1}}},
|
|
{45,{{1,0,-206.75,1,0.96249,0,1}}},
|
|
{46,{{1,0,-205.25,1,0.95555,0,1}}},
|
|
{47,{{1,0,-204.3,1,0.95139,0,1}}},
|
|
{48,{{1,0,-204,1,0.95,0,1}}},
|
|
{49,{{1,0,-204.25,1,0.95137,0,1}}},
|
|
{50,{{1,0,-205.2,1,0.95552,0,1}}},
|
|
{51,{{1,0,-206.7,1,0.96246,0,1}}},
|
|
{52,{{1,0,-208.85,1,0.9722,0,1}}},
|
|
{53,{{1,0,-211.6,1,0.98471,0,1}}},
|
|
{54,{{1,0,-215,1,1,0,1}}},
|
|
{80,{{2,0,-215,1,1,0,1}}},
|
|
{100,{{3,0,-215,1,1,0,1}}},
|
|
{120,{{4,0,-215,1,1,0,1}}},
|
|
{140,{{5,0,-215,1,1,0,1}}},
|
|
{160,{{6,0,-215,1,1,0,1}}},
|
|
{180,{{7,0,-215,1,1,0,1}}},
|
|
{200,{{8,0,-215,1,1,0,1}}},
|
|
{220,{{9,0,-215,1,1,0,1}}},
|
|
{240,{}},
|
|
}},
|
|
[1] = {w=355,h=483,n=320,dance=80,out=240,
|
|
o={{141,234},{146,217},{188,217},{181,229},{136,238},{103,236},{139,217},{182,211},{191,206},{207,212},{146,217},{164,217}},
|
|
keys={
|
|
{0,{}},
|
|
{5,{{0,0,282,1,1,0,1}}},
|
|
{6,{{0,0,239.45,1,1,0,1}}},
|
|
{7,{{0,0,198.55,1,1,0,1}}},
|
|
{8,{{0,0,159.35,1,1,0,1}}},
|
|
{9,{{0,0,121.8,1,1,0,1}}},
|
|
{10,{{0,0,85.95,1,1,0,1}}},
|
|
{11,{{0,0,51.7,1,1,0,1}}},
|
|
{12,{{0,0,19.2,1,1,0,1}}},
|
|
{13,{{0,0,-11.7,1,1,0,1}}},
|
|
{14,{{0,0,-40.9,1,1,0,1}}},
|
|
{15,{{0,0,-68.4,1,1,0,1}}},
|
|
{16,{{0,0,-94.3,1,1,0,1}}},
|
|
{17,{{0,0,-118.45,1,1,0,1}}},
|
|
{18,{{0,0,-141,1,1,0,1}}},
|
|
{19,{{0,0,-161.85,1,1,0,1}}},
|
|
{20,{{0,0,-181.05,1,1,0,1}}},
|
|
{21,{{0,0,-198.55,1,1,0,1}}},
|
|
{22,{{0,0,-214.4,1,1,0,1}}},
|
|
{23,{{0,0,-228.6,1,1,0,1}}},
|
|
{24,{{0,0,-241.1,1,1,0,1}}},
|
|
{25,{{0,0,-251.95,1,1,0,1}}},
|
|
{26,{{0,0,-261.15,1,1,0,1}}},
|
|
{27,{{0,0,-268.65,1,1,0,1}}},
|
|
{28,{{0,0,-274.5,1,1,0,1}}},
|
|
{29,{{0,0,-278.65,1,1,0,1}}},
|
|
{30,{{0,0,-281.15,1,1,0,1}}},
|
|
{31,{{0,0,-282,1,1,0,1}}},
|
|
{32,{{0,0,-281.35,1,1,0,1}}},
|
|
{33,{{0,0,-279.3,1,1,0,1}}},
|
|
{34,{{0,0,-275.95,1,1,0,1}}},
|
|
{35,{{0,0,-271.3,1,1,0,1}}},
|
|
{36,{{0,0,-265.25,1,1,0,1}}},
|
|
{37,{{0,0,-257.9,1,1,0,1}}},
|
|
{38,{{0,0,-249.15,1,1,0,1}}},
|
|
{39,{{0,0,-239.1,1,1,0,1}}},
|
|
{40,{{0,0,-227.75,1,1,0,1}}},
|
|
{41,{{0,0,-215,1,1,0,1}}},
|
|
{42,{{1,0,-215,1,1,0,1}}},
|
|
{43,{{1,0,-211.6,1,0.98473,0,1}}},
|
|
{44,{{1,0,-208.9,1,0.97221,0,1}}},
|
|
{45,{{1,0,-206.75,1,0.96249,0,1}}},
|
|
{46,{{1,0,-205.25,1,0.95555,0,1}}},
|
|
{47,{{1,0,-204.3,1,0.95139,0,1}}},
|
|
{48,{{1,0,-204,1,0.95,0,1}}},
|
|
{49,{{1,0,-204.25,1,0.95137,0,1}}},
|
|
{50,{{1,0,-205.2,1,0.95552,0,1}}},
|
|
{51,{{1,0,-206.7,1,0.96246,0,1}}},
|
|
{52,{{1,0,-208.85,1,0.9722,0,1}}},
|
|
{53,{{1,0,-211.6,1,0.98471,0,1}}},
|
|
{54,{{1,0,-215,1,1,0,1}}},
|
|
{80,{{2,0,-215,1,1,0,1}}},
|
|
{100,{{3,0,-215,1,1,0,1}}},
|
|
{120,{{4,0,-215,1,1,0,1}}},
|
|
{140,{{5,0,-215,1,1,0,1}}},
|
|
{160,{{6,0,-215,1,1,0,1}}},
|
|
{180,{{7,0,-215,1,1,0,1}}},
|
|
{200,{{8,0,-215,1,1,0,1}}},
|
|
{220,{{9,0,-215,1,1,0,1}}},
|
|
{240,{{10,0,-215,1,1,0,1}}},
|
|
{241,{{10,0,-211.05,1,0.9825,0,1}}},
|
|
{242,{{10,0,-208.25,1,0.97,0,1}}},
|
|
{243,{{10,0,-206.55,1,0.96249,0,1}}},
|
|
{244,{{10,0,-206,1,0.95999,0,1}}},
|
|
{245,{{10,0,-206.95,1,0.9644,0,1}}},
|
|
{246,{{10,0,-209.95,1,0.97775,0,1}}},
|
|
{247,{{10,0,-215,1,1,0,1}}},
|
|
{248,{{10,0,-224.7,1,1,0,1}}},
|
|
{249,{{10,0,-233.8,1,1,0,1}}},
|
|
{250,{{10,0,-242.35,1,1,0,1}}},
|
|
{251,{{10,0,-250.3,1,1,0,1}}},
|
|
{252,{{10,0,-257.65,1,1,0,1}}},
|
|
{253,{{10,0,-264.4,1,1,0,1}}},
|
|
{254,{{10,0,-270.6,1,1,0,1}}},
|
|
{255,{{10,0,-276.2,1,1,0,1}}},
|
|
{256,{{10,0,-281.2,1,1,0,1}}},
|
|
{257,{{10,0,-285.6,1,1,0,1}}},
|
|
{258,{{10,0,-289.4,1,1,0,1}}},
|
|
{259,{{10,0,-292.65,1,1,0,1}}},
|
|
{260,{{10,0,-295.3,1,1,0,1}}},
|
|
{261,{{10,0,-297.35,1,1,0,1}}},
|
|
{262,{{10,0,-298.8,1,1,0,1}}},
|
|
{263,{{10,0,-299.7,1,1,0,1}}},
|
|
{264,{{10,0,-300,1,1,0,1}}},
|
|
{265,{{11,0,-300,1,1,0,1}}},
|
|
{266,{{11,0,-299.4,1,1,0,1}}},
|
|
{267,{{11,0,-297.6,1,1,0,1}}},
|
|
{268,{{11,0,-294.55,1,1,0,1}}},
|
|
{269,{{11,0,-290.3,1,1,0,1}}},
|
|
{270,{{11,0,-284.85,1,1,0,1}}},
|
|
{271,{{11,0,-278.2,1,1,0,1}}},
|
|
{272,{{11,0,-270.35,1,1,0,1}}},
|
|
{273,{{11,0,-261.25,1,1,0,1}}},
|
|
{274,{{11,0,-250.95,1,1,0,1}}},
|
|
{275,{{11,0,-239.45,1,1,0,1}}},
|
|
{276,{{11,0,-226.7,1,1,0,1}}},
|
|
{277,{{11,0,-212.8,1,1,0,1}}},
|
|
{278,{{11,0,-197.65,1,1,0,1}}},
|
|
{279,{{11,0,-181.3,1,1,0,1}}},
|
|
{280,{{11,0,-163.75,1,1,0,1}}},
|
|
{281,{{11,0,-144.95,1,1,0,1}}},
|
|
{282,{{11,0,-125,1,1,0,1}}},
|
|
{283,{{11,0,-103.8,1,1,0,1}}},
|
|
{284,{{11,0,-81.4,1,1,0,1}}},
|
|
{285,{{11,0,-57.75,1,1,0,1}}},
|
|
{286,{{11,0,-32.95,1,1,0,1}}},
|
|
{287,{{11,0,-6.9,1,1,0,1}}},
|
|
{288,{{11,0,20.35,1,1,0,1}}},
|
|
{289,{{11,0,48.85,1,1,0,1}}},
|
|
{290,{{11,0,78.5,1,1,0,1}}},
|
|
{291,{{11,0,109.4,1,1,0,1}}},
|
|
{292,{{11,0,141.5,1,1,0,1}}},
|
|
{293,{{11,0,174.8,1,1,0,1}}},
|
|
{294,{{11,0,209.35,1,1,0,1}}},
|
|
{295,{{11,0,245.05,1,1,0,1}}},
|
|
{296,{{11,0,282,1,1,0,1}}},
|
|
{297,{}},
|
|
}},
|
|
[2] = {w=340,h=467,n=320,dance=80,out=240,
|
|
o={{120,212},{114,219},{162,219},{147,219},{118,214},{70,214},{93,219},{132,220},{137,221},{139,223},{114,219},{159,219}},
|
|
keys={
|
|
{0,{}},
|
|
{5,{{0,0,282,1,1,0,1}}},
|
|
{6,{{0,0,239.45,1,1,0,1}}},
|
|
{7,{{0,0,198.55,1,1,0,1}}},
|
|
{8,{{0,0,159.35,1,1,0,1}}},
|
|
{9,{{0,0,121.8,1,1,0,1}}},
|
|
{10,{{0,0,85.95,1,1,0,1}}},
|
|
{11,{{0,0,51.7,1,1,0,1}}},
|
|
{12,{{0,0,19.2,1,1,0,1}}},
|
|
{13,{{0,0,-11.7,1,1,0,1}}},
|
|
{14,{{0,0,-40.9,1,1,0,1}}},
|
|
{15,{{0,0,-68.4,1,1,0,1}}},
|
|
{16,{{0,0,-94.3,1,1,0,1}}},
|
|
{17,{{0,0,-118.45,1,1,0,1}}},
|
|
{18,{{0,0,-141,1,1,0,1}}},
|
|
{19,{{0,0,-161.85,1,1,0,1}}},
|
|
{20,{{0,0,-181.05,1,1,0,1}}},
|
|
{21,{{0,0,-198.55,1,1,0,1}}},
|
|
{22,{{0,0,-214.4,1,1,0,1}}},
|
|
{23,{{0,0,-228.6,1,1,0,1}}},
|
|
{24,{{0,0,-241.1,1,1,0,1}}},
|
|
{25,{{0,0,-251.95,1,1,0,1}}},
|
|
{26,{{0,0,-261.15,1,1,0,1}}},
|
|
{27,{{0,0,-268.65,1,1,0,1}}},
|
|
{28,{{0,0,-274.5,1,1,0,1}}},
|
|
{29,{{0,0,-278.65,1,1,0,1}}},
|
|
{30,{{0,0,-281.15,1,1,0,1}}},
|
|
{31,{{0,0,-282,1,1,0,1}}},
|
|
{32,{{0,0,-281.35,1,1,0,1}}},
|
|
{33,{{0,0,-279.3,1,1,0,1}}},
|
|
{34,{{0,0,-275.95,1,1,0,1}}},
|
|
{35,{{0,0,-271.3,1,1,0,1}}},
|
|
{36,{{0,0,-265.25,1,1,0,1}}},
|
|
{37,{{0,0,-257.9,1,1,0,1}}},
|
|
{38,{{0,0,-249.15,1,1,0,1}}},
|
|
{39,{{0,0,-239.1,1,1,0,1}}},
|
|
{40,{{0,0,-227.75,1,1,0,1}}},
|
|
{41,{{0,0,-215,1,1,0,1}}},
|
|
{42,{{1,0,-215,1,1,0,1}}},
|
|
{43,{{1,0,-211.6,1,0.98473,0,1}}},
|
|
{44,{{1,0,-208.9,1,0.97221,0,1}}},
|
|
{45,{{1,0,-206.75,1,0.96249,0,1}}},
|
|
{46,{{1,0,-205.25,1,0.95555,0,1}}},
|
|
{47,{{1,0,-204.3,1,0.95139,0,1}}},
|
|
{48,{{1,0,-204,1,0.95,0,1}}},
|
|
{49,{{1,0,-204.25,1,0.95137,0,1}}},
|
|
{50,{{1,0,-205.2,1,0.95552,0,1}}},
|
|
{51,{{1,0,-206.7,1,0.96246,0,1}}},
|
|
{52,{{1,0,-208.85,1,0.9722,0,1}}},
|
|
{53,{{1,0,-211.6,1,0.98471,0,1}}},
|
|
{54,{{1,0,-215,1,1,0,1}}},
|
|
{80,{{2,0,-215,1,1,0,1}}},
|
|
{100,{{3,0,-215,1,1,0,1}}},
|
|
{120,{{4,0,-215,1,1,0,1}}},
|
|
{140,{{5,0,-215,1,1,0,1}}},
|
|
{160,{{6,0,-215,1,1,0,1}}},
|
|
{180,{{7,0,-215,1,1,0,1}}},
|
|
{200,{{8,0,-215,1,1,0,1}}},
|
|
{220,{{9,0,-215,1,1,0,1}}},
|
|
{240,{{10,0,-215,1,1,0,1}}},
|
|
{241,{{10,0,-211.05,1,0.9825,0,1}}},
|
|
{242,{{10,0,-208.25,1,0.97,0,1}}},
|
|
{243,{{10,0,-206.55,1,0.96249,0,1}}},
|
|
{244,{{10,0,-206,1,0.95999,0,1}}},
|
|
{245,{{10,0,-206.95,1,0.9644,0,1}}},
|
|
{246,{{10,0,-209.95,1,0.97775,0,1}}},
|
|
{247,{{10,0,-215,1,1,0,1}}},
|
|
{248,{{10,0,-224.7,1,1,0,1}}},
|
|
{249,{{10,0,-233.8,1,1,0,1}}},
|
|
{250,{{10,0,-242.35,1,1,0,1}}},
|
|
{251,{{10,0,-250.3,1,1,0,1}}},
|
|
{252,{{10,0,-257.65,1,1,0,1}}},
|
|
{253,{{10,0,-264.4,1,1,0,1}}},
|
|
{254,{{10,0,-270.6,1,1,0,1}}},
|
|
{255,{{10,0,-276.2,1,1,0,1}}},
|
|
{256,{{10,0,-281.2,1,1,0,1}}},
|
|
{257,{{10,0,-285.6,1,1,0,1}}},
|
|
{258,{{10,0,-289.4,1,1,0,1}}},
|
|
{259,{{10,0,-292.65,1,1,0,1}}},
|
|
{260,{{10,0,-295.3,1,1,0,1}}},
|
|
{261,{{10,0,-297.35,1,1,0,1}}},
|
|
{262,{{10,0,-298.8,1,1,0,1}}},
|
|
{263,{{10,0,-299.7,1,1,0,1}}},
|
|
{264,{{10,0,-300,1,1,0,1}}},
|
|
{265,{{11,0,-300,1,1,0,1}}},
|
|
{266,{{11,0,-299.4,1,1,0,1}}},
|
|
{267,{{11,0,-297.6,1,1,0,1}}},
|
|
{268,{{11,0,-294.55,1,1,0,1}}},
|
|
{269,{{11,0,-290.3,1,1,0,1}}},
|
|
{270,{{11,0,-284.85,1,1,0,1}}},
|
|
{271,{{11,0,-278.2,1,1,0,1}}},
|
|
{272,{{11,0,-270.35,1,1,0,1}}},
|
|
{273,{{11,0,-261.25,1,1,0,1}}},
|
|
{274,{{11,0,-250.95,1,1,0,1}}},
|
|
{275,{{11,0,-239.45,1,1,0,1}}},
|
|
{276,{{11,0,-226.7,1,1,0,1}}},
|
|
{277,{{11,0,-212.8,1,1,0,1}}},
|
|
{278,{{11,0,-197.65,1,1,0,1}}},
|
|
{279,{{11,0,-181.3,1,1,0,1}}},
|
|
{280,{{11,0,-163.75,1,1,0,1}}},
|
|
{281,{{11,0,-144.95,1,1,0,1}}},
|
|
{282,{{11,0,-125,1,1,0,1}}},
|
|
{283,{{11,0,-103.8,1,1,0,1}}},
|
|
{284,{{11,0,-81.4,1,1,0,1}}},
|
|
{285,{{11,0,-57.75,1,1,0,1}}},
|
|
{286,{{11,0,-32.95,1,1,0,1}}},
|
|
{287,{{11,0,-6.9,1,1,0,1}}},
|
|
{288,{{11,0,20.35,1,1,0,1}}},
|
|
{289,{{11,0,48.85,1,1,0,1}}},
|
|
{290,{{11,0,78.5,1,1,0,1}}},
|
|
{291,{{11,0,109.4,1,1,0,1}}},
|
|
{292,{{11,0,141.5,1,1,0,1}}},
|
|
{293,{{11,0,174.8,1,1,0,1}}},
|
|
{294,{{11,0,209.35,1,1,0,1}}},
|
|
{295,{{11,0,245.05,1,1,0,1}}},
|
|
{296,{{11,0,282,1,1,0,1}}},
|
|
{297,{}},
|
|
}},
|
|
},
|
|
}
|