Libgdx: scene2d + box2d - units

I am working on my first game LibGdx (Scene2d + Box2d), this is a completely new field for me and is still a bit confused regarding things, especially about units. Already seen several different approaches, how to deal with it, but still not sure what is best for me.

Surprisingly, if there is any drawback to using the size of the viewport, for example: 16x9 (and not usually used: 800x480), to avoid the conversion of box2d => scene coordinates, use the same sizes / positions for Box2d objects, as well as for scene subjects (sprites etc.)?

+3
source share
1 answer

Surprisingly, if there is any drawback to using the size of the viewport, for example: 16x9 (and not usually used: 800x480), to avoid the conversion of box2d => scene coordinates, use the same sizes / positions for Box2d objects, as well as for scene subjects (sprites etc.)?

, . . .

, libgdx box2d , : p

+3

All Articles