ucsb-cs56-projects / cs56-games-country-runner

-
2 stars 12 forks source link

Fix the window positioning #20

Closed thetomcraig closed 8 years ago

thetomcraig commented 10 years ago

The game window is set to a specific resolution in the CountryRunnerGui class. This is fine, but the JPanel is not made to match the JFrame size automatically. As such, the screen can be resized and this causes the game to continue running when it should not. Perhaps the JFrame and JPanel should both be hard coded to the same size. Or the entire game can be resizable.

jalexanderqed commented 8 years ago

F16 CLOSED: The game has been made non-resizeable