diff --git a/src/game/login/login.js b/src/game/login/login.js index f0e93b7..f877f5b 100644 --- a/src/game/login/login.js +++ b/src/game/login/login.js @@ -5,6 +5,10 @@ let Login = { self: {}, + preload: function() { + game.load.image('icon_fullscreen', '../../../resources/image/icon/fullscreen_white.png'); + }, + create: function() { self = this; @@ -15,6 +19,8 @@ let Login = { // phaser.alpha = 0.1; // game.stage.backgroundColor = '#4d4d4d'; + let fullscreenButton = new FullscreenButton(this.game); + this.makeInputTypeTexts(); this.makeButton(); }, diff --git a/src/web/client/login.html b/src/web/client/login.html index b0b2171..cee4fb8 100644 --- a/src/web/client/login.html +++ b/src/web/client/login.html @@ -14,6 +14,7 @@ +