Commit 4ffa23f0 authored by 18김재민's avatar 18김재민

일단 복구 / 서버가 안됨

parent 9faf947b
......@@ -23,8 +23,8 @@ Audio.loadSound = function(scene)
scene.load.audio('Phase3', 'assets/sound/Phase3.ogg');
// 승패 BGM
scene.load.audio('victory', 'assets/sound/victory.ogg');
scene.load.audio('defeat', 'assets/sound/defeat.ogg');
scene.load.audio('defeat', 'assets/sound/victory.ogg');
scene.load.audio('victory', 'assets/sound/defeat.ogg');
}
Audio.playSound = function(scene, title) // 한 번만 재생할 때 사용
......
......@@ -661,8 +661,11 @@ var gameScene = new Phaser.Class(
ScenesData.changeScene = function(sceneKey)
{
Audio.killSound(ScenesData.menuScene, 'login');
Audio.killSound(ScenesData.gameScene, 'victory');
Audio.killSound(ScenesData.gameScene, 'defeat');
Audio.killSound(ScenesData.currentScene, 'victory');
Audio.killSound(ScenesData.currentScene, 'defeat');
// Audio.killSound(ScenesData.gameScene, 'victory');
// Audio.killSound(ScenesData.gameScene, 'defeat');
ScenesData.currentScene.scene.start(sceneKey);
Input.input = [];
Input.converted = '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment