i want to start developing mobile games but dnt know were to start, i picked up godot game engine, but now i m struggling with resolution different screen size,
and resolution.
plz help!!!
i want to start developing mobile games but dnt know were to start, i picked up godot game engine, but now i m struggling with resolution different screen size,
and resolution.
plz help!!!
You should better use Unity engine.
Don't use pixels for buttons and text size - use for example % of width and height of the screen.
%width for sizes is a good place to start but for Android there is the concept of display-independent pixels (and similar on Apple Devices I assume but I have no experience there). They will be the same real size no matter the screen size or resolution. I say they are better as they stop you ending up with huge buttons when you run your app/game on tablets compared to phones. Personally I set min/max values that things can be using display-independent pixels and allow my ui to scale between those values. You will still have other issues such as differing aspect ratios.
While most android device have fairly standard screen resolutions, iOS devices have their own size sets.
Therefore, use proportional UI designs.
For 3D rendering you always take resolution into account, this is done by the projection matrix.
You also account the viewport you are rendering into, for example in scissocring process.
For GUI the android sdk supports supports small,normal, large and xlarge layouts.
You can also assign DPI (density).
Specifically for godot, please use their docs:
http://docs.godotengine.org/en/stable/tutorials/engine/multiple_resolutions.html
I also learn the engine and they have good documentation.