Skip to content

Fixed resolution in Game view #110

@JaumeMontagut

Description

@JaumeMontagut

Is your feature request related to a problem? Please describe.
Yes. We decided that the resolution of the game will be fixed to 16:9 to avoid more problems with the camera.
We need this feature so we can iterate the levels around this and test them properly, even before making a release.

Describe the solution you'd like
You can select a resolution (only changing from "fit panel size" to "16:9" will be enough) black borders appear and the frustrum's aspect ratio is locked to 16:9 (we use the frustrum to calculate when the player exits the camera so we need it to adjust too).

Describe alternatives you've considered
I can't think of a simpler way to do this. Maybe a button that allows you to change from 16:9 to free instead of a drop menu. But the effect should be the same: black borders and adjusting the frustrum.

Additional context
Screenshots of how Unity Engine handles this.
image
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions