Fix: login message

This commit is contained in:
2018-08-23 13:42:45 +09:00
parent 74525d79fb
commit c7641ee2b4
+4 -5
View File
@@ -26,7 +26,7 @@ class Login {
this.makeStartButton(game.world.centerX, game.world.centerY + 100);
this.makeInfoText(0, 540);
this.makeInfoText();
}
makeMaestroNameText(x, y) {
@@ -75,10 +75,9 @@ class Login {
}
makeInfoText(x, y) {
var timerTextStyle = { font: "30px Arial", fill: "#faa", align: "center", boundsAlignH: "center", boundsAlignV: "middle" };
this.infoText = game.add.text(0, 0, "", timerTextStyle)
.setTextBounds(x, y, game.world.width, 200);
// .setShadow(1, 1, 'rgba(0, 0, 0, 0.5)', 2);
var textStyle = { font: "30px Arial", fill: "#faa" };
this.infoText = game.add.text(game.world.centerX, 640, "", textStyle);
this.infoText.anchor.set(0.5);
this.infoText.stroke = "#333";
this.infoText.strokeThickness = 3;
}