SFML community forums
Help => Window => Topic started by: smilesprower on March 31, 2020, 04:18:00 pm
-
Hello,
This is just a quick question about changing the mouse cursor image for different events, "Move, Click, etc".
What is the recommended way to do this ?
1) Create new sf::Cursors for each event ?
2) Use a sprite ?
3) Is there a way I am missing ?
Regards.
-
Sprite's are infinitely more flexible so, as long as that works for you, I'd recommend that.
Sometimes, sprite cursors can be considered "laggy" although, that's mostly unnoticeable, so, at that point, try sf::Cursors.
I haven't actually tried out sf::Cursors yet, to be honest, so they may be better or worse than you or I expect ;D
-
Thank you I will try much appreciated.