BUG二次修复
This commit is contained in:
parent
d36f936f6f
commit
a10e4018b4
@ -1 +1 @@
|
|||||||
{"viewportLoc":[0,0],"editorLastFloorId":"street02"}
|
{"viewportLoc":[0,0],"editorLastFloorId":"street01"}
|
BIN
project/bgms/Ascension.opus
Normal file
BIN
project/bgms/Ascension.opus
Normal file
Binary file not shown.
BIN
project/bgms/theme.mp3
Normal file
BIN
project/bgms/theme.mp3
Normal file
Binary file not shown.
Binary file not shown.
@ -897,6 +897,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
|||||||
"zone"
|
"zone"
|
||||||
],
|
],
|
||||||
"bgms": [
|
"bgms": [
|
||||||
|
"Ascension.opus",
|
||||||
"Asphodelus_Ceui.opus",
|
"Asphodelus_Ceui.opus",
|
||||||
"Blind_Alley.opus",
|
"Blind_Alley.opus",
|
||||||
"Blood_Stain.opus",
|
"Blood_Stain.opus",
|
||||||
@ -904,7 +905,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
|||||||
"Halbmond.opus",
|
"Halbmond.opus",
|
||||||
"ed.opus",
|
"ed.opus",
|
||||||
"op.opus",
|
"op.opus",
|
||||||
"theme.opus"
|
"theme.mp3"
|
||||||
],
|
],
|
||||||
"sounds": [
|
"sounds": [
|
||||||
"aiy010000010.opus",
|
"aiy010000010.opus",
|
||||||
@ -1060,7 +1061,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
|||||||
"饰品",
|
"饰品",
|
||||||
"饰品"
|
"饰品"
|
||||||
],
|
],
|
||||||
"startBgm": "theme.opus",
|
"startBgm": "theme.mp3",
|
||||||
"styles": {
|
"styles": {
|
||||||
"startBackground": "project/images/background.webp",
|
"startBackground": "project/images/background.webp",
|
||||||
"startVerticalBackground": "project/images/backgroundvertical.webp",
|
"startVerticalBackground": "project/images/backgroundvertical.webp",
|
||||||
|
@ -26,58 +26,25 @@ main.floors.street01=
|
|||||||
"direction": "up"
|
"direction": "up"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"6,11": [
|
"10,11": [
|
||||||
{
|
{
|
||||||
"type": "insert",
|
"type": "setmusics",
|
||||||
"name": "chapter04"
|
"bgm": "op.opus"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"4,11": [
|
"10,10": [
|
||||||
{
|
{
|
||||||
"type": "animationDrawable",
|
"type": "setmusics",
|
||||||
"allFarme": 300,
|
"bgm": "ed.opus"
|
||||||
"color": [
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
],
|
|
||||||
"imageList": [
|
|
||||||
{
|
|
||||||
"image": "bg_1511.webp",
|
|
||||||
"beforefarme": 50,
|
|
||||||
"globalAlpha": 0,
|
|
||||||
"afterfarme": 250,
|
|
||||||
"aglobalAlpha": 100
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"image": "eve_010304.webp",
|
"type": "setmusics",
|
||||||
"beforefarme": 70,
|
"bgm": "Asphodelus_Ceui.opus"
|
||||||
"globalAlpha": 0,
|
|
||||||
"afterfarme": 170,
|
|
||||||
"aglobalAlpha": 100,
|
|
||||||
"ax": 0,
|
|
||||||
"ay": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"image": "eve_010304.webp",
|
|
||||||
"beforefarme": 171,
|
|
||||||
"globalAlpha": 100,
|
|
||||||
"afterfarme": 270,
|
|
||||||
"aglobalAlpha": 100,
|
|
||||||
"ax": 800,
|
|
||||||
"ay": 0
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"soundList": [
|
"10,9": [
|
||||||
{
|
{
|
||||||
"sound": "",
|
"type": "setmusics"
|
||||||
"startfarme": 0,
|
|
||||||
"stopbefore": false
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "op"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -234,11 +234,11 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
|||||||
|
|
||||||
});
|
});
|
||||||
core.registerEvent("setmusics", function (data) {
|
core.registerEvent("setmusics", function (data) {
|
||||||
if (!data.bgm) { core.setLocalStorage('musics', ["theme.opus"]) } else {
|
if (core.getLocalStorage("musics") && core.getLocalStorage("musics").length === 0 || !core.getLocalStorage("musics")) core.setLocalStorage("musics", ['theme.mp3'])
|
||||||
let a = core.getLocalStorage('musics') ?? ["theme.opus"]
|
let a = core.getLocalStorage('musics')
|
||||||
if (!a.includes(data.bgm)) a.push(data.bgm)
|
if (!a.includes(data.bgm)) a.push(data.bgm)
|
||||||
core.setLocalStorage('musics', a)
|
core.setLocalStorage('musics', a)
|
||||||
}
|
|
||||||
core.doAction();
|
core.doAction();
|
||||||
|
|
||||||
});
|
});
|
||||||
@ -16449,7 +16449,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
|||||||
//需全塔属性注册并保存在bgms文件夹,每个数组为显示的一页内容
|
//需全塔属性注册并保存在bgms文件夹,每个数组为显示的一页内容
|
||||||
this.musicMx = [
|
this.musicMx = [
|
||||||
["Crawler.opus", "Blood_Stain.opus", "Blind_Alley.opus", "Halbmond.opus"],
|
["Crawler.opus", "Blood_Stain.opus", "Blind_Alley.opus", "Halbmond.opus"],
|
||||||
["theme.opus", "op.opus", "Asphodelus_Ceui.opus", "ed.opus"],
|
["theme.mp3", "op.opus", "Asphodelus_Ceui.opus", "ed.opus"],
|
||||||
];
|
];
|
||||||
//音乐别名(将在播放器内显示的音乐名,music列表内的都要有对应歌名)
|
//音乐别名(将在播放器内显示的音乐名,music列表内的都要有对应歌名)
|
||||||
this.musicname = {
|
this.musicname = {
|
||||||
@ -16457,7 +16457,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
|||||||
"Blind_Alley.opus": "Blind Alley",
|
"Blind_Alley.opus": "Blind Alley",
|
||||||
"Crawler.opus": "Crawler",
|
"Crawler.opus": "Crawler",
|
||||||
"op.opus": "Asphodelus",
|
"op.opus": "Asphodelus",
|
||||||
"theme.opus": "One of Episodes",
|
"theme.mp3": "One of Episodes",
|
||||||
"ed.opus": "親愛なる世界へ",
|
"ed.opus": "親愛なる世界へ",
|
||||||
"Blood_Stain.opus": "Blood Stain",
|
"Blood_Stain.opus": "Blood Stain",
|
||||||
"Halbmond.opus": "Halbmond",
|
"Halbmond.opus": "Halbmond",
|
||||||
@ -17277,7 +17277,8 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
|||||||
core.ui.music = new musicclass();
|
core.ui.music = new musicclass();
|
||||||
main.dom.musicMode.onclick = function () {
|
main.dom.musicMode.onclick = function () {
|
||||||
//点击开始页面的CG MODE进入cg回廊
|
//点击开始页面的CG MODE进入cg回廊
|
||||||
main.core.ui.music.musics = core.getLocalStorage("musics", ["theme.opus"])
|
if (core.getLocalStorage("musics") && core.getLocalStorage("musics").length === 0 || !core.getLocalStorage("musics")) core.setLocalStorage("musics", ['theme.mp3'])
|
||||||
|
core.ui.music.musics = core.getLocalStorage('musics')
|
||||||
core.playBgm(
|
core.playBgm(
|
||||||
main.core.ui.music.musicMx[main.core.ui.music.selection[0]][
|
main.core.ui.music.musicMx[main.core.ui.music.selection[0]][
|
||||||
main.core.ui.music.selection[1]
|
main.core.ui.music.selection[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user