FYI, winit's existing set_cursor_icon method is inadequate for games: it only supports a fixed, unstyled list and relies on OS support. In games, you often need new options (a mining pick! an axe! a sword!), and virtually always want custom assets.
This isn't something winit can fix, since it doesn't come with an asset / rendering solution. Instead, we should build our own cursor icon solution, with a "native" variant that just uses the OS ones provided by winit.
Originally posted by @alice-i-cecile in #9538 (reply in thread)
FYI, winit's existing
set_cursor_iconmethod is inadequate for games: it only supports a fixed, unstyled list and relies on OS support. In games, you often need new options (a mining pick! an axe! a sword!), and virtually always want custom assets.This isn't something
winitcan fix, since it doesn't come with an asset / rendering solution. Instead, we should build our own cursor icon solution, with a "native" variant that just uses the OS ones provided by winit.Originally posted by @alice-i-cecile in #9538 (reply in thread)