Working on the new font
This commit is contained in:
parent
a213b83534
commit
8a5db459f9
|
@ -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) {
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 8.2 KiB |
Loading…
Reference in New Issue