added the ogg music
This commit is contained in:
parent
1daf972fb9
commit
bb21ad16e2
2 changed files with 7 additions and 2 deletions
|
@ -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();
|
||||
|
|
BIN
dev/media/highscore_screen.png
Normal file
BIN
dev/media/highscore_screen.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 155 KiB |
Loading…
Reference in a new issue