-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resolution makes game disregard width and height in config #3468
Comments
If you also set |
This issue is currently blocked pending development of the Scale Manager, which will begin during the month of May 2018. It will be updated once it has been tested against the new Scale Manager. |
Resolution in the game config is now applied to the canvas and CSS is used to scale the canvas to the given dimensions, so you no longer need to do it yourself, or use the |
Thank you for submitting this issue. We have fixed this and the fix has been pushed to the |
I have the config looking like this,
width: 800, height: 600, resolution: window.devicePixelRatio,
the window should be 800x600, but upon setting the resolution, it sets it to what I am assuming is my browser pixel width and height, which is 1600x1200.
The text was updated successfully, but these errors were encountered: