How do I remove mouse on idle?

Get help using Construct 2

Post » Tue Mar 11, 2014 10:35 am

on full screen the mouse stays active which can be a little annoying since the game does not revolve around that.
can i get rid of it when its idle? (node webkit)

also for the heck of it, is it possible to change the skin of the mouse icon with a custom one while in game?
B
5
S
1
Posts: 88
Reputation: 653

Post » Tue Mar 11, 2014 10:44 am

Hi,

Mouse object from manual : https://www.scirra.com/manual/114/mouse

1- 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.

2- Set cursor from sprite
Set the cursor image from a Sprite object. This is preferable to setting a sprite to the mouse co-ordinates, because the input lag is significantly lower. Various limitations apply: the sprite image is used as it appears in the image editor, not taking in to account size or rotation in the layout; the image cannot be too large (64x64 is usually the limit); and support varies depending on browser and OS.
B
40
S
15
G
5
Posts: 295
Reputation: 6,129

Post » Wed Mar 12, 2014 8:20 am

Excellent! Thanks!
B
5
S
1
Posts: 88
Reputation: 653


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 23 guests