as a simple possible workaround you could use -Dsun.java2d.uiScale=2 option.
It just scales up all the graphics by a factor of 2 which could be useful on HiDPI displays. Also, you can play with a parameter 2: if i understood correctly, some java implementations can scale by a non-integer factor, like 1.5, or 1.7 (looks like my openjdk doesn't support it).
For linux or macos client, that could be done by editing the "launcher" sh file. Open the CreepTD file in the root directory of the game with a text editor (geany/nano/vi/emacs/textmate), find the line like
- Code:
java -Dsun.java2d.opengl=true -client -Xms128m -Xmx256m -Xincgc -Djava.net.preferIPv4Stack=true -jar $path/bin/bootstrap.jar -jar bin/creeptd-launcher.jar
and change it to:
- Code:
java -Dsun.java2d.uiScale=2 -Dsun.java2d.opengl=true -client -Xms128m -Xmx256m -Xincgc -Djava.net.preferIPv4Stack=true -jar $path/bin/bootstrap.jar -jar bin/creeptd-launcher.jar
(so, here i added -Dsun.java2d.uiScale=2 part. if you have a bit different other parameters, it's normal, just copy and past -Dsun.java2d.uiScale=2 part)
For windows, you could create a such "loader" manually. Create a .bat file in the game's directory ("near" CreepTD.exe file). Name it, for example, CreepTD-launch.bat, open it with a text editor (notepad++, notepad.exe, SublimeText or another), and put this contents into it:
- Code:
cd %~dp0
java -jar -Dsun.java2d.uiScale=2 -Djava.net.preferIPv4Stack=true bin/creeptd-launcher.jar
Save the file, and then you can launch it like a usual exe application.
Again, you can try to change that setting (e.g. put 1.5 instead of 2, probably it would work, probably not) if you want to get bigger or smaller window size. Of course, it's not fullscreen mode, but at least something