WIP: testing new resolution config
This commit is contained in:
parent
5dc2f0ac47
commit
6a2326c4b3
6 changed files with 38 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue