Set font to Verdana

This commit is contained in:
KGrzeg 2021-10-17 18:06:51 +02:00
parent c0f71db6f8
commit 7250f7f29b
2 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@ export default class PlayScene extends Phaser.Scene {
this.cameras.main.centerX, this.cameras.main.centerX,
this.cameras.main.centerY - 100, this.cameras.main.centerY - 100,
"KONIEC GRY", { "KONIEC GRY", {
font: '64px Arial', font: '64px Verdana',
}).setOrigin(0.5, 0.5) }).setOrigin(0.5, 0.5)
const rank = 0 const rank = 0
@ -35,7 +35,7 @@ export default class PlayScene extends Phaser.Scene {
"Poziom: " + lvl, "Poziom: " + lvl,
"Czas Gry: " + time + 's', "Czas Gry: " + time + 's',
], { ], {
font: '32px Arial', font: '32px Verdana',
align: 'center', align: 'center',
color: 'cyan' color: 'cyan'
}).setOrigin(0.5, 0.5) }).setOrigin(0.5, 0.5)

View file

@ -48,7 +48,7 @@ export default class PlayScene extends Phaser.Scene {
this.asteroids = this.add.group() this.asteroids = this.add.group()
this.player = new Ship(this) this.player = new Ship(this)
this.progressLabel = this.add.text(5, 5, "", { this.progressLabel = this.add.text(5, 5, "", {
font: '32px Arial', font: '32px Verdana',
color: 'cyan' color: 'cyan'
}) })
this.progressLabel.setDepth(1) this.progressLabel.setDepth(1)