diff --git a/client/src/scenes/constants.js b/client/src/scenes/constants.js index a859c7bd..dcd0daf2 100755 --- a/client/src/scenes/constants.js +++ b/client/src/scenes/constants.js @@ -25,9 +25,9 @@ const menuNavigationHeight = () => Math.floor(CANVAS_HEIGHT() * 0.3); const menuNavigationX = () => Math.floor(CANVAS_WIDTH() * 0.5); const menuNavigationY = () => Math.floor(CANVAS_HEIGHT() * 0.7); -const menuMainWidth = () => Math.floor(CANVAS_WIDTH * 0.7); -const menuMainHeight = () => Math.floor(CANVAS_HEIGHT * 0.5); -const menuMainX = () => Math.floor(CANVAS_WIDTH * 0.4); +const menuMainWidth = () => Math.floor(CANVAS_WIDTH() * 0.7); +const menuMainHeight = () => Math.floor(CANVAS_HEIGHT() * 0.5); +const menuMainX = () => Math.floor(CANVAS_WIDTH() * 0.4); const menuMainY = () => headerHeight(); diff --git a/client/src/scenes/cryps.js b/client/src/scenes/cryps.js old mode 100644 new mode 100755 index e657dcb3..5ba5267b --- a/client/src/scenes/cryps.js +++ b/client/src/scenes/cryps.js @@ -11,7 +11,7 @@ function renderCryps() { // backgroundColor: '#181818', resolution: window.devicePixelRatio, scale: { - mode: Phaser.Scale.RESIZE, + mode: Phaser.Scale.FIT, width: Math.floor(window.innerHeight * 1.6), height: Math.floor(window.innerHeight), max: { diff --git a/client/src/scenes/menu.js b/client/src/scenes/menu.js old mode 100644 new mode 100755 index 74dd42f8..2743ead4 --- a/client/src/scenes/menu.js +++ b/client/src/scenes/menu.js @@ -8,7 +8,6 @@ const ItemList = require('./item.list'); const Zones = require('./zones'); const GameList = require('./game.list'); const StatSheet = require('./statsheet'); -const SpecSheet = require('./specsheet'); const ItemInfo = require('./item.info'); const FIXED_MENU_SCENES = [ @@ -21,7 +20,6 @@ const MAIN_MENU_SCENES = [ 'Zones', 'GameList', 'StatSheet', - 'SpecSheet', 'ItemInfo', ]; @@ -55,7 +53,6 @@ class Menu extends Phaser.Scene { case 'zone': return this.newMainScene('Zones', Zones, data); case 'gameList': return this.newMainScene('GameList', GameList, data); case 'crypStats': return this.newMainScene('StatSheet', StatSheet, data); - case 'crypSpec': return this.newMainScene('SpecSheet', SpecSheet, data); case 'itemInfo': return this.newMainScene('ItemInfo', ItemInfo, data); default: return false; }