added the ogg music

This commit is contained in:
Ruben Müller 2013-05-16 21:53:35 +02:00
parent 1daf972fb9
commit bb21ad16e2
2 changed files with 7 additions and 2 deletions

View file

@ -17,10 +17,14 @@ ig.module(
.defines(function() {
RunningGame = ig.Game.extend({
font: new ig.Font('media/lcddot.font.png'),
pauseDialogAlpha: 0,
pauseDialog: new ig.AnimationSheet('media/pause_screen.png', 624, 384),
pauseDialogAnim: null,
showPause: false,
highscoreDialog: new ig.AnimationSheet('media/highscore_screen.png', 624, 384),
clearColor: null,
init: function() {
@ -50,8 +54,9 @@ ig.module(
this.pauseDialogAnim = new ig.Animation( this.pauseDialog, 0, [0] )
// init music
ig.music.add('sounds/DST-AngryRobotIII.mp3');
ig.music.add('sounds/DST-2ndBallad.mp3');
ig.music.add('media/sounds/DST-AngryRobotIII.ogg');
ig.music.add('media/sounds/DST-2ndBallad.ogg');
ig.music.random = true;
ig.music.loop = true;
ig.music.volume = 0.3;
ig.music.play();

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 KiB