Updated fontsize

This commit is contained in:
PASSER-BY 2023-03-10 23:15:47 +08:00
parent 3464e69624
commit 07664567a9

View File

@ -563,13 +563,13 @@
stage.createItem({ stage.createItem({
x:game.width/2, x:game.width/2,
y:game.height*.64, y:game.height*.64,
frames:32, frames:28,
draw:function(context){ draw:function(context){
if(this.times%2){ if(this.times%2){
context.font = 'bold 16px PressStart2P'; context.font = 'bold 14px PressStart2P';
context.textAlign = 'center'; context.textAlign = 'center';
context.textBaseline = 'middle'; context.textBaseline = 'middle';
context.fillStyle = '#CCC'; context.fillStyle = '#AAA';
context.fillText('Press ENTER to start',this.x,this.y); context.fillText('Press ENTER to start',this.x,this.y);
} }
} }
@ -580,7 +580,7 @@
y:game.height-5, y:game.height-5,
draw:function(context){ draw:function(context){
var text = '© passer-by.com'; var text = '© passer-by.com';
context.font = '13px/20px PressStart2P'; context.font = '12px/20px PressStart2P';
context.textAlign = 'left'; context.textAlign = 'left';
context.textBaseline = 'top'; context.textBaseline = 'top';
context.fillStyle = '#AAA'; context.fillStyle = '#AAA';