ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.6k stars 598 forks source link

[GoldSRC/CS 1.6] Show scores moves mouse #708

Closed madahekka closed 11 years ago

madahekka commented 11 years ago

After the 28th february update, bugs with 180 degree turns were gone and that's great. However, i've noticed when i press tab (show scores) my crosshair moves slightly to the right and moves again to the right when i release the tab key.

I'm using 1280x1024 resolution windowed.

L0Bo21 commented 11 years ago

maybe a video can help

madahekka commented 11 years ago

I'm not able to record a video but i've investigated a bit more and this is what i've found out:

Glitch does not happen while running full screen.

The crosshair movement is relative and depends on the game's window position, so if you align game's window to the top left of your desktop, glitch is gone (but the window has to be perfectly aligned). Let's say you have 1920x1080 desktop resolution (like i do) and run your game on 1280x1024 (Run in a window). If you move game's window to the right and press tab, your crosshair will move few inches to the right. Same goes for vertical movement, the more you move window down, the more crosshair goes down when you press/release tab.

I've also tested on other resolutions, same results, except (as i said) in fullscreen mode.

If you want to replicate it, just run your game in a window with lower resolution than your desktop. Move game's window around and try pressing tab. Hope this helps.

Exe build: 11:45:32 Mar 1 2013 (5971) OS: Windows XP 64bit SP2

alfred-valve commented 11 years ago

I can reproduce this, we will work on a fix

madahekka commented 11 years ago

Great, thanks.