How resolutions work (Android)?

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

Hi, everyone!

Well, I’m creating an android game with this engine.
The thing is I have set the resolution of the room to 320x480 pixels, which is a pretty standar resolution for phones. But I know not everyone has the same phone size, so if I want to create a main menu and I want it to look the same in all phones using this engine, how would I do it?
Should I use the biggest resolution and then it will get scaled down for every phone. Or I use a medium one?

So, say I want to make the start game button always be in the middle, and the button itself to be scaled to the phones resolution.
How would I do it using Godot?

Thank you in advance!

:bust_in_silhouette: Reply From: Wraith1978

Maybe this helps?..

http://docs.godotengine.org/en/3.0/tutorials/viewports/multiple_resolutions.html#doc-multiple-resolutions

Thanks a lot!

C:\Flavius | 2018-04-12 16:00

:bust_in_silhouette: Reply From: M4gma

You want the theme of your control type nodes have several images which could be used by them, selected at the ready() function for your ui to be bigger the bigger is the screen. You could also use anly big images and downscale them at runtime, but I’ve heard godot isn’t good with downscaling so you have to test what is the best for you.