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.
Multiple screen sizes
Re: Multiple screen sizes
"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
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