Replacing cursor with custom image in cocos creator?

Hello there folks,

I was wondering if there is a way to replace/hide the OS mouse cursor in cocos creator, as the cc.canvas approach I found here: How to add changing cursor to “pointer” for clickable sprites in cocos2d-html5? doesn’t seem to work.

I’ve been working on a game that uses pixel art and it really would benefit from a custom mouse cursor in terms of look and feel.

thanks in advance, sorry if I’ve missed some obvious solution to this

cheers

1 Like

In web, you can use css to change the mouse cursor: https://developer.mozilla.org/en-US/docs/Web/CSS/cursor

In native, there is no common way, each platform has its own approach.

1 Like

Thanks a lot for the quick reply!

I am ultimately aiming at a native Windows OS build, how to do it so it works there?

thx again

cheers