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

Pixel-scaling options #469

Open
ViMaSter opened this issue Sep 1, 2024 · 0 comments
Open

Pixel-scaling options #469

ViMaSter opened this issue Sep 1, 2024 · 0 comments
Labels
art Implementing art assets into the game feature New feature or request

Comments

@ViMaSter
Copy link
Member

ViMaSter commented Sep 1, 2024

Description

Based on Jamestown's graphics settings, we want to offer three options of selecting resolutions.

The game (window) runs the user's selected resolution based on Screen.resolutions; no filters apply.
Scene scaling can be configured:

  • pixel perfect:
    • scenes are centered in the middle of the screen at the biggest integer multiple of 320x180 (640x360, 960x540, …)
    • black borders will appear on all sides, if the user's screen resolution isn't cleanly divisible by 320x180
  • proportional stretch:
    • scenes are centered in the middle of the screen at the biggest 16:9 resolution
    • black bars will only appear either at the top and bottom or left and right (depending on which axis of the user's display is larger than 16:9)
    • this may result in half-pixels
  • crazy stretch
    • scenes are stretched to always take up the entire screen or window
    • black bars will not appear
    • resolutions on the extreme ends (4:3, 21:9) will receive a severely stretched image
chrome_UPpoFKGd5m.mp4

Acceptance Criteria

This story will be finished when

  • all resolutions can be selected
  • a scaling method for the selected resolution can be selected
@ViMaSter ViMaSter added feature New feature or request art Implementing art assets into the game labels Sep 1, 2024
@ViMaSter ViMaSter added this to the 0.5: Seductive Reasoning Demo milestone Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
art Implementing art assets into the game feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant