Browse Source

3消更新贴图背景

master
jiannibang 6 years ago
parent
commit
8ac9deca6b
  1. BIN
      phaser/match3/bg.jpg
  2. BIN
      phaser/match3/gems.png
  3. 4
      phaser/match3/scene.js

BIN
phaser/match3/bg.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 737 KiB

After

Width:  |  Height:  |  Size: 531 KiB

BIN
phaser/match3/gems.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 360 KiB

After

Width:  |  Height:  |  Size: 265 KiB

4
phaser/match3/scene.js

@ -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",

Loading…
Cancel
Save