Page 1 of 1

Multiple screen sizes

Posted: Sat Apr 09, 2016 11:00 am
by antonino8819
Hi,
I'm Anthony and I am developing an Android game with libGDX and RUBE.
I've built a static body for the ground in the RUBE scene to make the chratacters' bodies not to cross it.
I know that libGDX automatically resizes the game to fit the different screens of the devices. So what happens to the RUBE scene? Is there a way to resize bodies?
Thank you.

Re: Multiple screen sizes

Posted: Sun Apr 10, 2016 10:10 am
by iforce2d
"resizes the game" is very vague.
Usually you would adjust the pixel-to-meter ratio so that the scene is drawn at the size you want.
This thread might be helpful:
http://www.box2d.org/forum/viewtopic.php?f=3&t=9827