Browse Source

Explosion sound, removed unused one

pull/1/head
Robert Chen 11 years ago
parent
commit
1da45c0ba9
  1. 2
      js/main.js
  2. 2
      js/soundmanager.js
  3. 2
      js/ui.js
  4. BIN
      res/sound/Kitchen/Explosion_Sound.mp3
  5. BIN
      res/sound/Kitchen/sizzle.mp3

2
js/main.js

@ -159,7 +159,7 @@ function GameState(){ @@ -159,7 +159,7 @@ function GameState(){
queue.loadFile( {id: "res/sound/Kitchen/Oven_Door_Peek_Open.mp3", src:"res/sound/Kitchen/Oven_Door_Peek_Open.mp3"});
queue.loadFile( {id: "res/sound/Kitchen/Close_Cookbook.mp3", src:"res/sound/Kitchen/Close_Cookbook.mp3"});
queue.loadFile( {id: "res/sound/Kitchen/Open_Cookbook.mp3", src:"res/sound/Kitchen/Open_Cookbook.mp3"});
queue.loadFile( {id: "res/sound/Kitchen/sizzle.mp3", src:"res/sound/Kitchen/sizzle.mp3"} );
queue.loadFile( {id: "res/sound/Kitchen/Explosion_Sound.mp3", src:"res/sound/Kitchen/Explosion_Sound.mp3"} );
queue.loadFile( {id: "res/sound/Kitchen/Double_Beep.mp3", src:"res/sound/Kitchen/Double_Beep.mp3"} );
// Market Items

2
js/soundmanager.js

@ -27,7 +27,7 @@ function SoundManager( gameState ){ @@ -27,7 +27,7 @@ function SoundManager( gameState ){
createjs.Sound.registerSound("res/sound/Kitchen/Oven_Door_Full_Close.mp3", "Oven_Door_Full_Close");
createjs.Sound.registerSound("res/sound/Kitchen/Oven_Door_Peek_Close.mp3", "Oven_Door_Peek_Close");
createjs.Sound.registerSound("res/sound/Kitchen/Oven_Door_Peek_Open.mp3", "Oven_Door_Peek_Open");
createjs.Sound.registerSound("res/sound/Kitchen/sizzle.mp3", "Sizzle");
createjs.Sound.registerSound("res/sound/Kitchen/Explosion_Sound.mp3", "Explosion");
createjs.Sound.registerSound("res/sound/Kitchen/Open_Cookbook.mp3", "Open_Cookbook");
createjs.Sound.registerSound("res/sound/Kitchen/Close_Cookbook.mp3", "Close_Cookbook");

2
js/ui.js

@ -176,6 +176,8 @@ function DeathUI(stage, gameState){ @@ -176,6 +176,8 @@ function DeathUI(stage, gameState){
// Show core temperature
this.showDeath = function(){
gameState.pubsub.publish( "Play", {name:"Explosion", volume:1} );
stage.addChild( finalImg );
animation.gotoAndPlay("boom");
stage.addChild( deathCount );

BIN
res/sound/Kitchen/Explosion_Sound.mp3

Binary file not shown.

BIN
res/sound/Kitchen/sizzle.mp3

Binary file not shown.
Loading…
Cancel
Save