0 votes

Every time the Viewport (Resolution of the game) is resized the camera sees more/less than before, this really screws with what I wan't the player to see.

I know you can set a resolution to be constant, but then you lose compatibility to other displays, or your game has to be always in window mode.

asked Jul 18 in Engine by denexter3 (12 points)

1 Answer

0 votes

Use the 2d stretch mode as explained in the Multiple resolutions documentation. This will scale 2D elements to match the window size (relative to the base window size) and is generally the scaling option you want to use in a non-pixel-art game.

answered Jul 19 by Calinou (6,560 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.