How do I Make a animation play on cursor over.

Get help using Construct 2

Post » Sat Oct 10, 2015 3:59 pm

I've actually already figured out how to do this but I made it very complicated and using several events. I want to make it so when I hover over something it plays a animation and then when the animation ends it just stops on the last frame until you stop hovering on the cursor.
B
4
Posts: 12
Reputation: 224

Post » Sat Oct 10, 2015 4:15 pm

just adding a system trigger once while true condition to the cursor is over event should do the trick..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat Oct 10, 2015 4:28 pm

LittleStain wrote:just adding a system trigger once while true condition to the cursor is over event should do the trick..

Ok That seems to work but I also want the cursor to be set to hand when on it an when off of it. And I have multiple of these buttons so this can mess with eachother with the cursor.
B
4
Posts: 12
Reputation: 224

Post » Sat Oct 10, 2015 4:36 pm

you mean something like:

cursor is over button1
or
cursor is over button2 - set cursor to hand

else
set cursor to default

if you have the paid version, using families would be easier..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat Oct 10, 2015 4:48 pm

Image

Edit: Oh, to slow. ^^
B
16
S
5
G
2
Posts: 52
Reputation: 1,662

Post » Sat Oct 10, 2015 4:51 pm

LittleStain wrote:you mean something like:

cursor is over button1
or
cursor is over button2 - set cursor to hand

else
set cursor to default

if you have the paid version, using families would be easier..

Yeah something like that. And No I do not have the full version yet. So How would I Make the or part.
B
4
Posts: 12
Reputation: 224

Post » Sat Oct 10, 2015 4:52 pm

Rightclick on the Event-Block "Make "Or" Block"
B
16
S
5
G
2
Posts: 52
Reputation: 1,662


Return to How do I....?

Who is online

Users browsing this forum: ketramtu18, Yahoo [Bot] and 8 guests