WIP: testing new resolution config

This commit is contained in:
kharhamel 2021-04-21 18:01:26 +02:00
parent 5dc2f0ac47
commit 6a2326c4b3
6 changed files with 38 additions and 13 deletions

View file

@ -71,11 +71,12 @@ switch (phaserMode) {
const config: GameConfig = {
type: mode,
title: "WorkAdventure",
width: width / RESOLUTION,
height: height / RESOLUTION,
width: width / 2,
height: height / 2,
parent: "game",
zoom: 2,
scene: [EntryScene, LoginScene, SelectCharacterScene, SelectCompanionScene, EnableCameraScene, ReconnectingScene, ErrorScene, CustomizeScene, MenuScene, HelpCameraSettingsScene],
zoom: RESOLUTION,
resolution: window.devicePixelRatio / 2,
fps: fps,
dom: {
createContainer: true