Music
This commit is contained in:
parent
02b67f3c40
commit
7e832d0496
@ -142,7 +142,7 @@ events.prototype.afterChangeFloor = function (floorId) {
|
|||||||
core.playBgm('star.mid');
|
core.playBgm('star.mid');
|
||||||
}
|
}
|
||||||
if (floorId == 'sample2') {
|
if (floorId == 'sample2') {
|
||||||
core.playBgm('G2_koko.mid');
|
core.playBgm('qianjin.mid');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2
main.js
2
main.js
@ -47,7 +47,7 @@ function main() {
|
|||||||
'animates', 'enemys', 'hero', 'items', 'npcs', 'terrains'
|
'animates', 'enemys', 'hero', 'items', 'npcs', 'terrains'
|
||||||
];
|
];
|
||||||
this.bgms = [ // 在此存放所有的bgm,和文件名一致。第一项为默认播放项
|
this.bgms = [ // 在此存放所有的bgm,和文件名一致。第一项为默认播放项
|
||||||
'058-Slow01.mid', 'bgm.mp3', 'heianmigong.mid', 'star.mid'
|
'058-Slow01.mid', 'bgm.mp3', 'qianjin.mid', 'star.mid'
|
||||||
];
|
];
|
||||||
this.sounds = [ // 在此存放所有的SE,和文件名一致
|
this.sounds = [ // 在此存放所有的SE,和文件名一致
|
||||||
'floor.mp3', 'attack.ogg', 'door.ogg', 'item.ogg'
|
'floor.mp3', 'attack.ogg', 'door.ogg', 'item.ogg'
|
||||||
|
|||||||
Binary file not shown.
BIN
sounds/qianjin.mid
Normal file
BIN
sounds/qianjin.mid
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user