Add: login home button, menu welcome message

* Add: home button in login

* Fix: animal typingCount

* Add: Welcome player text in login
This commit is contained in:
2018-08-29 07:41:35 +09:00
parent c7fe3bf4e5
commit 0d1ada9a4e
6 changed files with 79 additions and 22 deletions
+5
View File
@@ -15,6 +15,11 @@ class Login {
this.game.stage.backgroundColor = '#4d4d4d';
this.textStyle = { font: "bold 32px Arial", fill: "#fff", align: "right", boundsAlignH: "right", boundsAlignV: "middle" };
let backButton = new BackButton( () => {
sessionStorageManager.clear();
location.href = '../../web/main/index.html';
});
let fullscreenButton = new FullscreenButton(this.game);
let textX = this.game.world.centerX - 320;