Sign in to follow this  
dgwjamtarts

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

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.