Disabling the visabilty of the desktop mouse in game

Get help using Construct 2

Post » Thu Mar 10, 2016 12:10 pm

Message: Landermere can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Hello there fellow nerds!

In my current project (for funsies) I am creating a game which uses a sprite as a mouse cursor.
Unfortunately the default cursor for the computer is still visible, see screenshot below: http://pasteboard.co/2a0wReJa.png

I would like the cursor to show only the purple placeholder sprite and not the default (white)desktop icon.
I'm not sure this is even possible but it's worth a shot.
Any advice on this matter would be greatly appreciated
Thanks in advance
Chris
Last edited by Landermere on Thu Mar 10, 2016 1:22 pm, edited 1 time in total.
B
8
S
1
Posts: 46
Reputation: 544

Post » Thu Mar 10, 2016 12:26 pm

If you want your mouse cursor style to be a sprite,

try this:

1) Mouse | Cursor is over poweroff | mouse | set cursor to hand
2) System | else | Mouse | Set cursor from sprite "Your Sprite" Sprite
3) Mouse | Cursor is over reset | mouse | set cursor to hand
4) repeating step 3 for all other objects you need to select from.
B
9
S
1
Posts: 26
Reputation: 479

Post » Thu Mar 10, 2016 1:22 pm

The response is appropriate however I am past that point.
I do have the mouse cursor position changing the location of the sprite and changes to the sprite if hovering over an event.
I'm Referring to the default windows cursor which I wish to hide whilst in the game window
Thanks anyway
B
8
S
1
Posts: 46
Reputation: 544

Post » Thu Mar 10, 2016 3:09 pm

https://www.scirra.com/manual/114/mouse
Set cursor style
Set the type of mouse cursor showing for the canvas in the HTML page. The cursor can be hidden completely by choosing None.
ImageImageImage
B
71
S
21
G
221
Posts: 3,650
Reputation: 124,229

Post » Fri Mar 11, 2016 3:13 am

@Blackhornet
Again you save the day!
You sir are a legend :)
I feel so bad as I never managed to find the answer looking through the tutorials.
I must work on my searching skills.
Thanks Again!
<3
Chris
B
8
S
1
Posts: 46
Reputation: 544


Return to How do I....?

Who is online

Users browsing this forum: imothep85, KTML5 and 9 guests