For those who updated to Windows 8.1, you probably noticed the new DPI scaling functionnality. It does exactly what Apple did when they introduced retina display. If your application isn't supporting hi-res DPI scaling, then the OS scale up natively your application to match the DPI requested by the user.
The problem has been explained here for games : http://www.reddit.com/r/windows/comments/1oor43/windows_81_warning_for_gamers_issues_with/
Normally it shouldn't be a problem, but for some reason, it might break your game in some ways like it did for my game. I'm using Slick2D
. When I launched or debuged from netbeans I encountered the following problems :
- Fullscreen's no longer functionnal, or very low FPS;
- Windowed made the image blurry and FPS drop.
- Netbeans interface was scaled down and blurry
Here's the workaround :
- Go into your netbeans directory (mine is C:\Program Files\NetBeans 7.3.1\)
- Go into the bin directory
- Right click on netbeans.exe and select properties
- Under compatibility tab, just check the option "Disable display scaling on high DPI settings". Do not select Windows 8 or 7 compatibility setting or netbeans will no longer run.
- Repeat this process for netbeans64.exe
- Restart netbeans
Now, when you launch your game from netbeans, it should be like before.
It should be a temporary fix until netbean's dev team fix the problem. I've not found a workaround for the jar execution of my game yet because I'm not distributing my game, and I didn't have time to investigate. If you have a clue, let us know!