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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user