How to get the correct size when exporting to Android?

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

Hi there,

So I am really new to coding, app design etc, and I have decided to make an app! I have created a basic background and connect buttons so it moves to other scenes! However, when I export it to my phone, the scale or resolution or something, I am not quite sure, is going wrong. Basically the app doesn’t fit in the screen, it’s too big.

I have a galaxy s10 which has:
3040 x 1440 px
550ppi
5.9 x 2.77 x 0.31 in.

I have set the width and height to 3040 x 1440 px. Does anyone know what I am doing wrong?

Arthur

I think your samsung device is running at a lower resolution to save power.
https://www.sammobile.com/news/psa-galaxy-s9-arent-set-to-maximum-screen-resolution-by-default/

supper_raptor | 2020-04-07 16:54

Yeah that was it… Cheers!!!

Arhtur_Barker | 2020-04-07 16:58

Hi,

So I have been doing some more work on it and turns out I was wrong and it isn’t all on-screen, I didn’t notice until I starting adding more sprites to it.

On Godot, I have width set to 1440 and height to 3040.

Arhtur_Barker | 2020-04-07 20:42