raycrasher / Fell-Sky

2d space combat simulator like EV Nova and Transcendence.
MIT License
2 stars 1 forks source link

Input scaling issues #4

Closed markgarcia closed 8 years ago

markgarcia commented 8 years ago

Input scaling issues on game. Tested on 125% (Windows 10). I guess hitboxes are improperly generated / not properly scaled. I'll investigate.

markgarcia commented 8 years ago

It turns out Mono gives out scaled (virtual) mouse positions. We somehow need to scale them back. Some relevant links.

markgarcia commented 8 years ago

Ah I guess I just need to set the game application to be DPI-aware. https://github.com/mono/MonoGame/issues/3358