- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 616
Activity
If you mean hide the host system cursor, then this should work:
poke(0x3FFB,1)
This is a location in the VRAM, documented here:
https://github.com/nesbox/TIC-80/wiki/RAM
If you mean hide the host system cursor, then this should work:
poke(0x3FFB,1)This is a location in the VRAM, documented here:
https://github.com/nesbox/TIC-80/wiki/RAM
Oh i didn't see that when I was looking around the documentation. Thank you!
0x3FFBdoes not work. The default pixel mouse cursor is still visible.
It works if you put poke (0x3FFB,1) call in the main TIC() function. I think this is because the mouse is reset every tic, seems to be true of the mouse position too.
EDIT: you can also switch to mouse relative mode using poke(0x7FC3F,1,1) which does not display the mouse cursor. This only needs to be set once, as isn't affected by tic procedure.
I don't know how feasible this is, given the many different platforms that TIC-80 runs on, however it would be nice if there were an option to hide the mouse cursor over the TIC-80 window.