Mouse Over bug ?

Get help using Construct 2

Post » Sat Jan 21, 2012 9:18 pm

Guys,

I used the action "Mouse Cursor Over -> set cursor to hand" in two different objects in the same layout. When I started the preview in C2, the first object change the cursor for a hand but the second not.

The sintax in my capx is :



Thx for any help.
"keep calm we have giant robots!"
B
21
S
5
G
4
Posts: 94
Reputation: 3,155

Post » Sat Jan 21, 2012 9:30 pm

This is not a bug.

When your mouse is over gotadagua, it is not over novojogo. So in the end it appears like the cursor isn't changed.

Make a blank event (every tick) at first where you set the mouse to normal and keep the "mouse over" events.
This way the cursor will be set to normal, unless it is over some object.Kyatric2012-01-21 21:31:51
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Sat Jan 21, 2012 9:47 pm

Like that ?

amarcelo2012-01-21 21:48:10
"keep calm we have giant robots!"
B
21
S
5
G
4
Posts: 94
Reputation: 3,155

Post » Sat Jan 21, 2012 9:55 pm

Every tick > Set cursor to Normal
Cursor over gotadagua > Set to hand
Cursor over novojogo > Set to hand

Each is a separate event
(BR) Cada linha um evento separado
B
83
S
21
G
15
Posts: 1,039
Reputation: 15,134

Post » Sat Jan 21, 2012 9:57 pm

Thx a lot !

Muito obrigado !amarcelo2012-01-21 22:00:09
"keep calm we have giant robots!"
B
21
S
5
G
4
Posts: 94
Reputation: 3,155


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go and 23 guests