Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
How do I make my mouse cursor to show in a game in the published version of a CopperCube Project The published version is Windows |
||||
|
there's a script in the programing section that I used.. This is what I read but there's a few topics on the forum http://coppercube.shoutwiki.com/wiki/Custom_mouse_cursor_in_CopperCube_6
|
||||
|
There is also an extension on my website https://neophyte.cf that allows you to have a custom mouse cursor in your published game. If you are using the FPS camera then the cursor will be locked to the center. |
||||
|
nice, I'll give it a try :) |
||||
|
Thanks @just_in_case and @nigec |
||||
|
@nigec, any clue why this won't work in webgl? Thanks. |
||||
|
@gree are you sure that it doesn't work in webGL, I have tested the extension and for me it does work in webGL as well, However the default mouse cursor isn't hidden in webGL. Do you want to hide it in webGL or you are facing some other issues? |
||||
|
@just_in_case which browser did you tested it on? I've tried brave and firefox on a debian 10 setup. CC runs via WINE; it could be anything :) Testfile: This version works for Exe but not for WebGL (on my pc) https://drive.google.com/drive/folders/1T9w8VBPDYd4EJ0yNR1p1VUlotIr7VDRm?usp=sharing @just_in_case would you mind sharing your working scene with me so I can "counter check" it to find out what's going on, thank you. Update: The cursor.png file gets also loaded by the code (Inspector). For some reason it just won't show up. |
|