What is best practice for mobile multiple screen resolutions?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By wojtasss

What is best practice for mobile multiple screen resolutions?

:bust_in_silhouette: Reply From: MysteryGM

http://docs.godotengine.org/ko/latest/tutorials/viewports/multiple_resolutions.html

Edit:
Godot just briefly mentions the 2D mode, however it is what most other engines use.

Unfortunately to use the 2D mode you need to understand how aspect ratios work. It uses mipmaps to implement a 1X, 2X, 3X… design.
It’s a workflow aimed at more experianced mobile developers.

Thanks for answer, I have red this but there are described options, but I am asked what is the best practice in real life

wojtasss | 2018-10-18 22:13

The best practice would be to use viewport mode with keep aspect ratio, Height.

With more experience you can move towards learning how 2D mode works. This will allow you a design that works on any mobile and removes black bars.

MysteryGM | 2018-10-18 22:17