diff --git a/registration-system/view/signups/game1/game.js b/registration-system/view/signups/game1/game.js deleted file mode 100644 index 6d0a734fba0542f0bd4ffecfe7cbee364095a697..0000000000000000000000000000000000000000 --- a/registration-system/view/signups/game1/game.js +++ /dev/null @@ -1,20 +0,0 @@ - -/* -Small hints: -------------- - - -var FAPI = new FAPI(); - -later add data as they come in: -FAPI.data.setValue('mehl', 'bla@lala.de'); - -and send: -FAPI.submitSignup(); - - -place global in a load_game() function (or so) and call it in game1/index.php as already implemented there. - -to avoid broken paths, use as follows: -d3.xml(FAPI.resolvePath('graphics/map_castle.svg'), 'image/svg+xml', function (xml) { -*/ \ No newline at end of file diff --git a/registration-system/view/signups/game1/js/achievements.js b/registration-system/view/signups/game1/js/achievements.js index 575641d9bd793cbccb8f48165b7c226917fed832..9251f1d2534f6fdedc14b7b9319d44958eb77572 100644 --- a/registration-system/view/signups/game1/js/achievements.js +++ b/registration-system/view/signups/game1/js/achievements.js @@ -55,7 +55,7 @@ Achievements.prototype.updateStatusText = function () { }; Achievements.prototype.logMessage = function (message) { - if (Environment.sound.achievements) new Audio(FAPI.resolvePath('sounds/ding.mp3')).play(); + if (Environment.sound.achievements) new Audio(FAPI.resolvePath('sounds/ding.ogg')).play(); var list = this.getDomElem('log'); var newElem = document.createElement('li'); @@ -98,4 +98,4 @@ Achievements.prototype.triggerAchievement = function (achievementId, context) { // else console.warn("Achievement already achieved: " + achievementId); if (this.numCompletedAchievements() === 42 ) this.triggerAchievement('achievement42') -}; \ No newline at end of file +}; diff --git a/registration-system/view/signups/game1/js/game.js b/registration-system/view/signups/game1/js/game.js index 44c96d01c49021c3f3f9711afd9579f3a88f7016..0d1020703a2e51bf44c1f571e254b2fa5d0aeaba 100644 --- a/registration-system/view/signups/game1/js/game.js +++ b/registration-system/view/signups/game1/js/game.js @@ -184,7 +184,7 @@ Game.prototype.loadMap = function (map, spawn) { }; Game.log = function (message) { - if (Environment.sound.log) new Audio(FAPI.resolvePath('sounds/plop.mp3')).play(); + if (Environment.sound.log) new Audio(FAPI.resolvePath('sounds/plop.ogg')).play(); var list = document.getElementById('game-log'); var newElem = document.createElement('li'); diff --git a/registration-system/view/signups/game1/sounds/ding.mp3 b/registration-system/view/signups/game1/sounds/ding.mp3 deleted file mode 100644 index 4aa624b3fdaa63854390a5f0ace19cb987461246..0000000000000000000000000000000000000000 Binary files a/registration-system/view/signups/game1/sounds/ding.mp3 and /dev/null differ diff --git a/registration-system/view/signups/game1/sounds/ding.ogg b/registration-system/view/signups/game1/sounds/ding.ogg new file mode 100644 index 0000000000000000000000000000000000000000..4d84dbefe8132c27823ad24aa9add7c4569e37eb Binary files /dev/null and b/registration-system/view/signups/game1/sounds/ding.ogg differ diff --git a/registration-system/view/signups/game1/sounds/plop.mp3 b/registration-system/view/signups/game1/sounds/plop.mp3 deleted file mode 100644 index 28a62449d56d8122521f016b9cdb8e2d445a3cb0..0000000000000000000000000000000000000000 Binary files a/registration-system/view/signups/game1/sounds/plop.mp3 and /dev/null differ diff --git a/registration-system/view/signups/game1/sounds/plop.ogg b/registration-system/view/signups/game1/sounds/plop.ogg new file mode 100644 index 0000000000000000000000000000000000000000..464493b91fe354f528dfed14faba2b7349b8b225 Binary files /dev/null and b/registration-system/view/signups/game1/sounds/plop.ogg differ