From f32df4f004407aad4ecf1aac060861c382628fd2 Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Wed, 8 Feb 2017 14:30:31 -0800 Subject: [PATCH] Move shortbow sounds to /sounds --- .../marketplace/shortbow/shortbowGameManager.js | 12 ++++++------ .../shortbow/{assets => }/sounds/escape.wav | Bin .../shortbow/{assets => }/sounds/explosion.wav | Bin .../shortbow/{assets => }/sounds/fight.wav | Bin .../shortbow/{assets => }/sounds/gameOn.wav | Bin .../shortbow/{assets => }/sounds/gameOver.wav | Bin .../{assets => }/sounds/letTheGamesBegin.wav | Bin .../shortbow/{assets => }/sounds/spawn.wav | Bin .../shortbow/{assets => }/sounds/targetHit.wav | Bin .../{assets => }/sounds/tenSecondsRemaining.wav | Bin .../shortbow/{assets => }/sounds/waveComplete.wav | Bin 11 files changed, 6 insertions(+), 6 deletions(-) rename unpublishedScripts/marketplace/shortbow/{assets => }/sounds/escape.wav (100%) rename unpublishedScripts/marketplace/shortbow/{assets => }/sounds/explosion.wav (100%) rename unpublishedScripts/marketplace/shortbow/{assets => }/sounds/fight.wav (100%) rename unpublishedScripts/marketplace/shortbow/{assets => }/sounds/gameOn.wav (100%) rename unpublishedScripts/marketplace/shortbow/{assets => }/sounds/gameOver.wav (100%) rename unpublishedScripts/marketplace/shortbow/{assets => }/sounds/letTheGamesBegin.wav (100%) rename unpublishedScripts/marketplace/shortbow/{assets => }/sounds/spawn.wav (100%) rename unpublishedScripts/marketplace/shortbow/{assets => }/sounds/targetHit.wav (100%) rename unpublishedScripts/marketplace/shortbow/{assets => }/sounds/tenSecondsRemaining.wav (100%) rename unpublishedScripts/marketplace/shortbow/{assets => }/sounds/waveComplete.wav (100%) diff --git a/unpublishedScripts/marketplace/shortbow/shortbowGameManager.js b/unpublishedScripts/marketplace/shortbow/shortbowGameManager.js index 81e8a0fc2b..84f87d78e4 100644 --- a/unpublishedScripts/marketplace/shortbow/shortbowGameManager.js +++ b/unpublishedScripts/marketplace/shortbow/shortbowGameManager.js @@ -29,12 +29,12 @@ var GAME_STATES = { // Load the sounds that we will be using in the game so they are ready to be // used when we need them. -var BEGIN_BUILDING_SOUND = SoundCache.getSound(Script.resolvePath("assets/sounds/gameOn.wav")); -var GAME_OVER_SOUND = SoundCache.getSound(Script.resolvePath("assets/sounds/gameOver.wav")); -var WAVE_COMPLETE_SOUND = SoundCache.getSound(Script.resolvePath("assets/sounds/waveComplete.wav")); -var EXPLOSION_SOUND = SoundCache.getSound(Script.resolvePath("assets/sounds/explosion.wav")); -var TARGET_HIT_SOUND = SoundCache.getSound(Script.resolvePath("assets/sounds/targetHit.wav")); -var ESCAPE_SOUND = SoundCache.getSound(Script.resolvePath("assets/sounds/escape.wav")); +var BEGIN_BUILDING_SOUND = SoundCache.getSound(Script.resolvePath("sounds/gameOn.wav")); +var GAME_OVER_SOUND = SoundCache.getSound(Script.resolvePath("sounds/gameOver.wav")); +var WAVE_COMPLETE_SOUND = SoundCache.getSound(Script.resolvePath("sounds/waveComplete.wav")); +var EXPLOSION_SOUND = SoundCache.getSound(Script.resolvePath("sounds/explosion.wav")); +var TARGET_HIT_SOUND = SoundCache.getSound(Script.resolvePath("sounds/targetHit.wav")); +var ESCAPE_SOUND = SoundCache.getSound(Script.resolvePath("sounds/escape.wav")); // Encode a set of key-value pairs into a param string. Does NOT do any URL escaping. function encodeURLParams(params) { diff --git a/unpublishedScripts/marketplace/shortbow/assets/sounds/escape.wav b/unpublishedScripts/marketplace/shortbow/sounds/escape.wav similarity index 100% rename from unpublishedScripts/marketplace/shortbow/assets/sounds/escape.wav rename to unpublishedScripts/marketplace/shortbow/sounds/escape.wav diff --git a/unpublishedScripts/marketplace/shortbow/assets/sounds/explosion.wav b/unpublishedScripts/marketplace/shortbow/sounds/explosion.wav similarity index 100% rename from unpublishedScripts/marketplace/shortbow/assets/sounds/explosion.wav rename to unpublishedScripts/marketplace/shortbow/sounds/explosion.wav diff --git a/unpublishedScripts/marketplace/shortbow/assets/sounds/fight.wav b/unpublishedScripts/marketplace/shortbow/sounds/fight.wav similarity index 100% rename from unpublishedScripts/marketplace/shortbow/assets/sounds/fight.wav rename to unpublishedScripts/marketplace/shortbow/sounds/fight.wav diff --git a/unpublishedScripts/marketplace/shortbow/assets/sounds/gameOn.wav b/unpublishedScripts/marketplace/shortbow/sounds/gameOn.wav similarity index 100% rename from unpublishedScripts/marketplace/shortbow/assets/sounds/gameOn.wav rename to unpublishedScripts/marketplace/shortbow/sounds/gameOn.wav diff --git a/unpublishedScripts/marketplace/shortbow/assets/sounds/gameOver.wav b/unpublishedScripts/marketplace/shortbow/sounds/gameOver.wav similarity index 100% rename from unpublishedScripts/marketplace/shortbow/assets/sounds/gameOver.wav rename to unpublishedScripts/marketplace/shortbow/sounds/gameOver.wav diff --git a/unpublishedScripts/marketplace/shortbow/assets/sounds/letTheGamesBegin.wav b/unpublishedScripts/marketplace/shortbow/sounds/letTheGamesBegin.wav similarity index 100% rename from unpublishedScripts/marketplace/shortbow/assets/sounds/letTheGamesBegin.wav rename to unpublishedScripts/marketplace/shortbow/sounds/letTheGamesBegin.wav diff --git a/unpublishedScripts/marketplace/shortbow/assets/sounds/spawn.wav b/unpublishedScripts/marketplace/shortbow/sounds/spawn.wav similarity index 100% rename from unpublishedScripts/marketplace/shortbow/assets/sounds/spawn.wav rename to unpublishedScripts/marketplace/shortbow/sounds/spawn.wav diff --git a/unpublishedScripts/marketplace/shortbow/assets/sounds/targetHit.wav b/unpublishedScripts/marketplace/shortbow/sounds/targetHit.wav similarity index 100% rename from unpublishedScripts/marketplace/shortbow/assets/sounds/targetHit.wav rename to unpublishedScripts/marketplace/shortbow/sounds/targetHit.wav diff --git a/unpublishedScripts/marketplace/shortbow/assets/sounds/tenSecondsRemaining.wav b/unpublishedScripts/marketplace/shortbow/sounds/tenSecondsRemaining.wav similarity index 100% rename from unpublishedScripts/marketplace/shortbow/assets/sounds/tenSecondsRemaining.wav rename to unpublishedScripts/marketplace/shortbow/sounds/tenSecondsRemaining.wav diff --git a/unpublishedScripts/marketplace/shortbow/assets/sounds/waveComplete.wav b/unpublishedScripts/marketplace/shortbow/sounds/waveComplete.wav similarity index 100% rename from unpublishedScripts/marketplace/shortbow/assets/sounds/waveComplete.wav rename to unpublishedScripts/marketplace/shortbow/sounds/waveComplete.wav