Jump to content

How do you change fields in the config file between scenes in Phaser 3?


dgwjamtarts
 Share

Recommended Posts

I have a game with two scenes, a main menu and a game scene. They both load in fine and the game is functional but, as its a pixel art game I have used the zoom functionality and made the game size fairly small in the config for the game scene. This causes problems in the menu scene as it is zoomed in so far the text and images have become pixelated. So my question is how do I change parts of the config file when switching scenes? e.g disable the zoom functionality on the main menu but enable it in game, or change the dimensions of the game between scenes. Fairly new to Phaser so apologies if this is a simple one.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...