-
-
Notifications
You must be signed in to change notification settings - Fork 879
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
FixedIntegerResolutionViewport
for the CameraComponent
#2810
Comments
Hi @spydon what you expect that As I understand this it should deal better on Pixel Art games, that's why has a Fixed Pixel Ratio on 1.0, right? But still not clear for me why we need to create a specific class for that, If we do a I would love to be able to understand better and contribute to the project, if you have a little patience to explain, I would appreciate it. |
When it scales the viewport or should only scale so that the size is corresponding to real integer pixel values.
What do you mean with "fixed pixel ratio on 1.0"?
That wouldn't work, that would only show one single pixel on the whole screen, and you also want to be able to have different aspect ratios. |
Problem to solve
When migrating to the
CameraComponent
an experimental feature calledFixedIntegerResolutionViewport
was removed, it would be great to re-create this viewport for theCameraComponent
.Proposal
Create
FixedIntegerResolutionViewport
for theCameraComponent
.More information
This is the old PR for this: #1866
The text was updated successfully, but these errors were encountered: