Multiple screen sizes

General discussion about the R.U.B.E editor
Post Reply
antonino8819
Posts: 1
Joined: Sat Apr 09, 2016 10:55 am

Multiple screen sizes

Post 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.
iforce2d
Site Admin
Posts: 861
Joined: Sat Dec 22, 2012 7:20 pm

Re: Multiple screen sizes

Post 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
Post Reply