From 8a5db459f9ab84ae6edc7878f40f8c91bfd04f9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ruben=20M=C3=BCller?= Date: Thu, 25 Apr 2013 21:31:19 +0200 Subject: [PATCH] Working on the new font --- dev/lib/game/main.js | 6 +++--- dev/media/lcddot.font.png | Bin 0 -> 8352 bytes doc/TODO | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 dev/media/lcddot.font.png diff --git a/dev/lib/game/main.js b/dev/lib/game/main.js index 61c252f..a0363b8 100755 --- a/dev/lib/game/main.js +++ b/dev/lib/game/main.js @@ -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) { diff --git a/dev/media/lcddot.font.png b/dev/media/lcddot.font.png new file mode 100644 index 0000000000000000000000000000000000000000..ff73a7cc0f401f51c10b24391832966bb4b63484 GIT binary patch literal 8352 zcmcI}c{o&W|NoIn6pEzmQYk|AEJJo>&%TEknUH-MyX<9%Y-3Hf!Pv6JM0Og6Y-2BL z7<@9!$of5==X##&^E|)rAK!m|=ep*cGw0sk=YGH5ulsesPmHd%8Z8YA4FCYNkJXi* z0su7uycfD~9y}xGug8HG>R0Nf9sqEW@$^RlWMp0k02-YaN=mxAj;@}r9*(ZBxE?Dh zalLYPb$Id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l8kE{+T?Z?vhU!$oqJQ-Ck6hZ{ zsa{CVCBH~=*CJIoH^s{3>5?(y%bugXr46(MathA{_FP4 z-tYC@cnqh*@^34RfIHRj9xHYzX{B@{@m;wcCzfiWN7Xyq+VHo^p5_ia_(wvH>GWKk z`1Ymy^XH=81LA`|%h6i9wJWg_kAlKp+Me@JmRJve+3(A`tZ@ti<>Z7C__TdVj-;-0jv_JSpWb4 literal 0 HcmV?d00001 diff --git a/doc/TODO b/doc/TODO index a5759a9..4b4eb20 100644 --- a/doc/TODO +++ b/doc/TODO @@ -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