🤑 Indie game store🙌 Free games😂 Fun games😨 Horror games
👷 Game development🎨 Assets📚 Comics
🎉 Sales🎁 Bundles

About the mouse

A topic by zerocoolisgod created 90 days ago Views: 149 Replies: 7
Viewing posts 1 to 6

Is there a way to turn the system mouse cursor off. I have a sprite I'm using as a custom cursor and the default windows mouse cursor is being drawn over the top and it looks terrible

Developer

There is no way to turn off cursor. I got your problem and will think how to do it :)

Likely you will have to set a flag in RAM using 'poke'.

Propose: have the mouse icon in RAM. So everybody can customize or hide it with 'poke'.

Developer(+1)

or just sprite index, will draw cursor if the index > 0

Cleaner. I like it.

I just have sprite being drawn at the mX and mY returned from mouse(). Which works well except for the problem mentioned. But if we could customize the cursor used in editor, that would be sweet.

Developer

you can define mouse cursor sprite (foreground sprite) from LUA by calling poke(0x3FFB,index), it'll draw system cursor if index=0

https://github.com/nesbox/tic.computer/issues/116

done in .24

Nice