pimped up the pause screen

This commit is contained in:
Ruben Müller 2013-04-18 21:19:19 +02:00
parent 7e397ee387
commit 6a8c1727f9
3 changed files with 3 additions and 5 deletions

View file

@ -15,7 +15,7 @@
.defines(function(){ .defines(function(){
RunningGame = ig.Game.extend({ RunningGame = ig.Game.extend({
font: new ig.Font( 'media/04b03.font.png' ), font: new ig.Font( 'media/04b03.font.png' ),
pauseDialog: new ig.Image('media/pause_dialog.png'), pauseDialog: new ig.Image('media/pause_screen.png'),
showPause: false, showPause: false,
clearColor: null, clearColor: null,
@ -80,7 +80,7 @@
this.font.draw(ig.global.score.human, 350, 25, ig.Font.ALIGN.CENTER); this.font.draw(ig.global.score.human, 350, 25, ig.Font.ALIGN.CENTER);
if (this.showPause) { if (this.showPause) {
this.pauseDialog.draw(150, 100); this.pauseDialog.draw(0, 0);
} }
} }
}); });

BIN
dev/media/pause_screen.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 KiB

View file

@ -1,11 +1,9 @@
Initial release Initial release
## GFX ## GFX
* Title Screen
* Game over screen (change main background) * Game over screen (change main background)
* Highscore-Screen * Highscore-Screen
* Font for score (search fo a tool and make it fancy) * Font for score (search fo a tool and make it fancy)
* Pause Screen
## Sound ## Sound
* Background-tune! (http://www.nosoapradio.us/) * Background-tune! (http://www.nosoapradio.us/)
@ -18,8 +16,8 @@ Initial release
* email: mail@aaron-mueller.de * email: mail@aaron-mueller.de
* passwort: iYon4OIgSy9 * passwort: iYon4OIgSy9
* Put the Player (with name) on the highscore * Put the Player (with name) on the highscore
* Only one number for the score
## Nice to have ## Nice to have
* Improve the AI intelligence (more randomness) * Improve the AI intelligence (more randomness)
* "pulse" paddle on hit * "pulse" paddle on hit