I have few questions regarding using libgdx viewport.
- I have initialised a viewport with this virtual screen size (800 x 480). I'm trying to display a sprite with (100 x 100) virtual size. Do I recalculate based on the screen size ratio to supply the size? Or I just apply virtual size directly to the sprite?
- When I initialised a camera, I can supply virtual width and height. I also noticed that, I can supply the virtual width and height when initialising a viewport. Are these 2 different things? Or I just need to supply the virtual width and height either in viewport or camera?