Skip to content
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

Refactor Screen Logic to Support Independent Viewport and Resolution #1617

Closed
3 tasks
eonarheim opened this issue Aug 8, 2020 · 0 comments · Fixed by #1598
Closed
3 tasks

Refactor Screen Logic to Support Independent Viewport and Resolution #1617

eonarheim opened this issue Aug 8, 2020 · 0 comments · Fixed by #1598
Labels
core team This issue should be done by an Excalibur core member feature Label applied to new feature requests

Comments

@eonarheim
Copy link
Member

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

  • Refactor screen logic to one place
  • Support independent viewport/resolution controls
  • Support the browser fullscreen api
@eonarheim eonarheim added feature Label applied to new feature requests core team This issue should be done by an Excalibur core member labels Aug 8, 2020
eonarheim added a commit that referenced this issue Aug 8, 2020
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core team This issue should be done by an Excalibur core member feature Label applied to new feature requests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant