How to make mouse cursor move in a pixely way?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By k4sma

I’m making a pixel art game and my resolution is 480x270. I want my mouse cursor to move in a pixely way (for example like in RiskOfRain or Jetboy)
I tried setting a sprites position to the cursors position every frame which basically works, but when I go into fullscreen, the game seems to update slower and the sprite lags behind.

If you dont get what I mean, this games cursor movement is exactly like I want it to be:
Look at how the cursor moves pixely.

Thanks for help, I need it :slight_smile:

Does your problem boil down to using a custom mouse cursor with a sprite of yours, or is your problem different ?

Lorèloi | 2018-04-30 08:35