Many first-person 2d games will have a huge playing field, but a small display area on your computer:
where "+" is the entire playing field, and "a" is the displayed area on your screen.
I want to create a game where pressing the arrow keys will make you move around the game field.
Question: Should I create a huge JPanel for this? (Bigger than the screen)
source
share