woof icon indicating copy to clipboard operation
woof copied to clipboard

Automap lines may flicker

Open MrAlaux opened this issue 3 months ago • 5 comments

Tested in the latest master artifact (x64).

Steps to reproduce, with a fresh config file:

  • Disable fullscreen and Dynamic Resolution, set Resolution Scale to Native, and disable Smooth Pixel Scaling
  • Shrink the window as much as possible
  • Enter the Automap
  • Move around

You should see some of the Automap lines flickering in and out. A little preview:

Image

woof0001

I believe that this occurs because said lines are 1-game-pixel wide, and when the window is downscaled, some pixels are lost. At least with my 1366x768 display, Smooth Pixel Scaling is good enough to prevent the lines from fully disappearing, although they can still become a bit hard to see.

I had already faced this problem in Nugget, and I put a dirty hack in place to mitigate it: thickening the lines if the screen were downscaled and Smooth Pixel Scaling were disabled. Perhaps such a thing can be applied here, hopefully with a better execution.

MrAlaux avatar Mar 11 '24 04:03 MrAlaux