I want to create a simple space game, like Asteroids. Unlike Asteroids, the map is supposed to be larger than what the player can see:
The grey part is what the player can see in the game window, to see the rest of the level he needs to move his spaceship. When his spaceship reaches the borders eventually, the camera is supposed to stop and not move any further. Thus, the spaceship wouldn't be central anymore.
I am using libgdx and have no idea how to do this.