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

Cursor lifecycle #89

Closed dapetcu21 closed 5 years ago

dapetcu21 commented 5 years ago

I implemented some memory management for cursors in the form of defos.load_cursor(), which allows you to pre-load a cursor and use it repeatedly in defos.set_cursor() from memory.

I'm currently stranded away from Windows/Linux machines, so that part has not been tested yet for anything apart compiling successfully.

dapetcu21 commented 5 years ago

I just got to test it and fix issues on Windows and Linux. Will merge and make a release