Working on the new font

This commit is contained in:
Ruben Müller 2013-04-25 21:31:19 +02:00
parent a213b83534
commit 8a5db459f9
3 changed files with 3 additions and 4 deletions

View File

@ -14,7 +14,7 @@
)
.defines(function(){
RunningGame = ig.Game.extend({
font: new ig.Font( 'media/04b03.font.png' ),
font: new ig.Font( 'media/lcddot.font.png' ),
pauseDialogAlpha: 0,
pauseDialog: new ig.AnimationSheet( 'media/pause_screen.png', 624, 384 ),
pauseDialogAnim: null,
@ -83,8 +83,8 @@
draw: function() {
ig.system.context.clearRect( 0 ,0, ig.system.realWidth, ig.system.realHeight );
this.parent(); // Draw entries and background
this.font.draw(ig.global.score, 270, 25, ig.Font.ALIGN.CENTER);
this.font.draw(ig.global.lifes, 370, 25, ig.Font.ALIGN.CENTER);
this.font.draw(ig.global.score, 270, 10, ig.Font.ALIGN.CENTER);
this.font.draw(ig.global.lifes, 370, 10, ig.Font.ALIGN.CENTER);
if (this.showPause) {
if(this.pauseDialogAlpha < 1) {

BIN
dev/media/lcddot.font.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

View File

@ -1,7 +1,6 @@
Initial release
## GFX
* Game over screen (change main background)
* Highscore-Screen
* Font for score (search fo a tool and make it fancy) => 999999
* player lifes will be indecated as lights on the paddle .. so the paddle need