Hacker News new | ask | show | jobs
by schemescape 2187 days ago
Minor issue I noticed: whenever I launch the app on Windows, the mouse hit-targeting is off vertically by ~40 pixels. Resizing the window makes the problem go away for the rest of the session. I'm on Windows 10, 1920x1080, and I haven't modified scaling/DPI settings.
3 comments

Could you give https://github.com/dabreegster/abstreet/suites/828409393/art... a shot? If that URL disappears or you don't want to re-download the whole .zip, just the fixed binary is https://www.dropbox.com/s/j2hh8xrugtsxslc/game.exe?dl=0
That new build did NOT fix the issue for me.

Now that I'm looking more closely, this looks like some sort of initial aspect ratio issue, possibly related to a resize.

The game launches and the window either starts maximized or it maximizes itself. If I restore (un-maximize) and re-maximize, the aspect ratio is clearly different because the logo in the center of the screen gets slightly taller (while staying the same width).

In other words, the initial aspect ratio of the graphics seems incorrect (squished vertically slightly for me, running at 1920x1080).

https://github.com/dabreegster/abstreet/issues/65

Thanks for reporting! I'll try fixing this blind (no Windows machine handy) and send a new build; it'd be great if someone could confirm it.

Have you tried Virtualbox in whatever OS you're using to run a Windows VM?

I believe MS provides premade free virtualbox images for IE testing purposes too.

This sounds suspiciously familiar

Do you have your windows taskbar in non-default position? Mine is on top of screen and some games in some display modes give offset mouse position