Back To Projects
My Test Gamma libGDX Application!
Test Gamma is demonstrating scrolling over a game world.
This is accomplished by using two orthographic cameras and fit viewports.
There is the game world camera that is in world coordinates and then there
is the screen camera, aka heads-up display, in actual screen pixels. The
Scene 2D main menu and the FPS shown in the game use the screen camera.
This allows the game world to be zoomed in to and out of without changing
how the heads-up display is drawn.
Press Arrow Keys to demonstrate scrolling over game world.
Press Z to demonstrate zooming in to the game world.
Press X to demonstrate zooming out of the game world.
Press F to demonstrate full screen mode.
Press W to demonstrate windowed mode.
Press Q to quit and go back to the menu.