Rollover

Get help using Construct 2

Post » Tue Feb 07, 2012 2:35 pm

Allright lets start with some screendesign basics.. I just started to experiment a bit befor Im working on the game screendesign.. Also got some some sprites to make a rollover effect but when I m going outside the button/sprite the cursor still showed up then hand .. So my question is how do I make a rollover effect ??

Thanks a lot ,

I try to adept by knowledeg from macromediadirector to construct 2 maybe i can find some interessting points to buy it soon ...
B
5
S
2
G
3
Posts: 6
Reputation: 2,273

Post » Tue Feb 07, 2012 5:52 pm

It's pretty simple.
1. Add the mouse object and the sprite you want to use as a button.
2. In the event editor add two events:

+System | Every Tick
--Sprite | Set Size to (32,32)

+Mouse | Cursor is over Sprite
--Sprite | Set Size to (50,50)


The first event is for when the mouse is not over the sprite and the second is for when it is. You can do whatever effect you want for the rollover but as an example I just used size.
B
79
S
24
G
54
Posts: 4,746
Reputation: 40,755

Post » Sat Feb 11, 2012 10:06 am

Great I try it out thanks a lot
B
5
S
2
G
3
Posts: 6
Reputation: 2,273


Return to How do I....?

Who is online

Users browsing this forum: Televangelist and 20 guests