Short question about the scaling in libGDX. At the moment i have a application with the resolution 480×320. I define this in the main method of the desktop launcher. My whole application is now calculating with this resolution. For example is the player 50×50 pixels. How can i now scale my application to, for example, 1920×1080 on android so my player is now not only 50×50? I use a orthographic camera and give the width and height of 480×320 in the constructor.
↧