increpare / flickgame

tiny game engine
https://www.flickgame.org
82 stars 10 forks source link

Cursor's apparent location is ~half a pixel down and to the right of where the actual drawing is happening. #15

Closed Tophwells closed 8 years ago

Tophwells commented 8 years ago

picture

Sorry for the JPG artifacts, it was the only tool I had on-hand that does screenshots which show the cursor. Possibly there's a rounding error somewhere in the code.

This isn't usually noticeable, but it does badly interfere with my attempts at pixel-perfect drawing.

increpare commented 8 years ago

I guess the target cursor on your operating system is better than mine. One sec...

increpare commented 8 years ago

fixed and uploaded. cheers :)

Tophwells commented 8 years ago

I wasn't entirely sure, but I found I could dial up the zoomFactor setting until the pixels were several centimetres across. That let me test it properly.