You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Screen does not have a convenient single place for logic to live.
Currently it is difficult build a game that has a different resolution than the viewport, this make it difficult to build lofi art style games. Additionally the current "Fullscreen" only means dynamic aspect ratio taking up the available window, there is now the browser Fullscreen API
Proposal
Refactor screen logic to one place
Support independent viewport/resolution controls
Support the browser fullscreen api
The text was updated successfully, but these errors were encountered:
Closes#1617
## Changes:
- Refactors and creates a screen abstraction for managing all things resolution & viewport related logic
- Adds and fixes tests for the screen abstraction
Context
The Screen does not have a convenient single place for logic to live.
Currently it is difficult build a game that has a different resolution than the viewport, this make it difficult to build lofi art style games. Additionally the current "Fullscreen" only means dynamic aspect ratio taking up the available window, there is now the browser Fullscreen API
Proposal
The text was updated successfully, but these errors were encountered: