Game going out of the screen
Asked Answered
D

1

0

My game is set for 1920x1080 screen resolution i.e 16:9 ratio. The problem is that, for some scenes, game elements are cut-off and doesn't seem to fit in other aspect ratios such as 4:3 on iPads. How can I make my game be compatible for every screen sizes and aspect ratios?

Diplopod answered 19/1, 2023 at 10:5 Comment(0)
S
0

You have to use Control nodes and allow a fluid layout. Meaning you don't use pixel positions, you allow things to fill the area they are in.

https://docs.godotengine.org/en/stable/tutorials/rendering/multiple_resolutions.html

Seventieth answered 19/1, 2023 at 18:23 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.