|
|
@ -38,12 +38,12 @@ export default class playGame extends Phaser.Scene { |
|
|
bg.displayHeight = this.game.config.height; |
|
|
bg.displayHeight = this.game.config.height; |
|
|
this.scoreNum = 0; |
|
|
this.scoreNum = 0; |
|
|
this.moveNum = 30; |
|
|
this.moveNum = 30; |
|
|
this.score = this.add.text(700, 320, this.scoreNum, { |
|
|
|
|
|
|
|
|
this.score = this.add.text(700, 356, this.scoreNum, { |
|
|
fontSize: 100, |
|
|
fontSize: 100, |
|
|
fontFamily: "game", |
|
|
fontFamily: "game", |
|
|
color: "#3aab7d", |
|
|
color: "#3aab7d", |
|
|
}); |
|
|
}); |
|
|
this.moves = this.add.text(1552, 320, this.moveNum, { |
|
|
|
|
|
|
|
|
this.moves = this.add.text(1640, 356, this.moveNum, { |
|
|
fontSize: 100, |
|
|
fontSize: 100, |
|
|
fontFamily: "game", |
|
|
fontFamily: "game", |
|
|
color: "#3aab7d", |
|
|
color: "#3aab7d", |
|
|
|