0 votes

What is best practice for mobile multiple screen resolutions?

in Engine by (90 points)

1 Answer

0 votes

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.

by (1,451 points)
edited by

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

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.

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.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.