subsoap / defos

Extra native OS functions for games written using the Defold game engine
Creative Commons Zero v1.0 Universal
112 stars 16 forks source link

Cross-platform custom cursors #121

Open dapetcu21 opened 3 years ago

dapetcu21 commented 3 years ago

Currently, you need to create cursors for each OS individually (.cur for windows, .tiff for macOS, etc). Ideally DefOS would have a mode where you would pass it a PNG and some hotspot coordinates (or an array of PNGs for different DPIs) and it would generate cursors on the fly in an OS-consistent way.