Fix: screen top ui, screen bottom ui

This commit is contained in:
2018-09-03 09:15:50 +09:00
parent ac46b61539
commit 8cf7f67ac6
24 changed files with 197 additions and 153 deletions
+5 -2
View File
@@ -15,12 +15,15 @@ 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( () => {
// top ui
let screenTopUI = new ScreenTopUI();
screenTopUI.makeBackButton( () => {
sessionStorageManager.clear();
location.href = '../../web/main/index.html';
});
screenTopUI.makeFullScreenButton();
let fullscreenButton = new FullscreenButton(this.game);
let textX = this.game.world.centerX - 320;
if(sessionStorageManager.maestroID === null)