// 昔涟立绘 —— 官方昔涟动态立绘 // 这份预设自带全部资源,路径由 import.meta.url 从本文件位置推导, // 因此整个目录可以整体搬走或改名,而不用改这里的任何一行。 const base = new URL("./", import.meta.url); const asset = (path) => new URL(path, base).href; export default { id: "xilian", // 与 project.json 中 combo 选项的 value 一致,勿改 name: "昔涟立绘", game: "崩坏:星穹铁道", backgroundImage: asset("./images/ava.jpg"), spineConfig: { jsonUrl: asset("./effects/xilian.json"), atlasUrl: asset("./images/xilian.atlas"), animation: "idle", viewport: { padLeft: "-25%", padRight: "-28%", padTop: "-30%", padBottom: "-23%", }, }, audioOptions: { source: asset("./audios/再度和你.ogg"), volume: 0.5, }, // 本壁纸可选的音源(第 6 步会接进 project.json 的 bgm 属性) audioChoices: [ { id: "zaiduheni", name: "「再度和你」", source: asset("./audios/再度和你.ogg") }, { id: "xilian", name: "昔涟", source: asset("./audios/昔涟.ogg") }, ], };