Quantcast
Channel: Question and Answer » libgdx
Viewing all articles
Browse latest Browse all 434

Libgdx fix small objects on android devices

$
0
0

I’m having issues with optimizing my game for android.
I’ve basically created a simple menu with two buttons (see pictures below)!
The size of the window is 720x480px ( in the Desktop Launcher ). My Problem is now the following: On my PC everything looks fine, but when launching my game on an android device, everything is “zoomed out” too much! This is obviously caused by the resolution (1440 x 2560 pixels). My question is now: How do I “scale” the screen correctly, so that it look identical with the desktop version?

Desktop
Desktop version
Android
Android

CODE: http://pastebin.com/HtMfd4Jz


Viewing all articles
Browse latest Browse all 434

Trending Articles