How to have the game world get rendered on just a part of the screen?
- by VictorB
I am implementing a game on both Desktop and Android.
The Desktop version will just rely on the keyboard to handle the user input on the game screen, whilst the Android one will have to have a set of buttons placed in a bar at the bottom of the game screen, using a Stage.
Consequently, I am expecting the game world to take up the entire space available on the Desktop screen, whilst on Android it should expand to the entire width of the screen, and to the screen height minus the height of the buttons bar I've mentioned.
What would be an appropriate approach of handling space sharing between the game world and the buttons bar?
Thank you.