collinsmith / riiablo

Diablo II remade using Java and LibGDX
http://riiablo.com
Apache License 2.0
872 stars 99 forks source link

Fixed launching the game without resolution arguments #57

Closed JanSimek closed 5 years ago

JanSimek commented 5 years ago

Launching the game on linux would result in a black screen if you did not specify width and height command-line arguments.

collinsmith commented 5 years ago

Change to 853x480 (native resolution) and squash and I'll merge this (see Riiablo.DESKTOP_VIEWPORT_HEIGHT). Also, try to not mess with imports for this specific PR. Those cli arguments are going to be removed at some point and exist so that I am able to run many instances of the game at various ratios/scales to test the screen layout.

JanSimek commented 5 years ago

Alright. I look forward to playing Diablo II natively on linux

collinsmith commented 5 years ago

Good to hear. I'm glad that what I've done seems to function on Linux without any platform-specific changes.