Increase opacity in selected animation frame of sprite

Get help using Construct 2

Post » Thu Apr 10, 2014 3:39 pm

i have that example when mouse is over sprite this sprite will gain opacity +1. When mouse is not over sprite, substract 1 from opacity, but when mouse is over second sprite, opacity from first sprite wont substract.
B
109
S
25
G
43
Posts: 1,883
Reputation: 33,553

Post » Thu Apr 10, 2014 3:57 pm

no idea if you have a question or not, but what you want is this:
You do not have the required permissions to view the files attached to this post.
B
44
S
10
G
8
Posts: 437
Reputation: 6,463

Post » Thu Apr 10, 2014 4:10 pm

@Ubivis thanks for reply. This is my example https://dl.dropboxusercontent.com/u/44710358/examp.capx
Problem is with substract opacity when cursor is over other object
B
109
S
25
G
43
Posts: 1,883
Reputation: 33,553

Post » Thu Apr 10, 2014 7:26 pm

I don't have my C2 available right now on this computer and will have a look tomorrow when I'm back at my work computer, but I think my example screenshot above could solve your problem.
B
44
S
10
G
8
Posts: 437
Reputation: 6,463

Post » Fri Apr 11, 2014 7:05 am

Ah, okay... the problem with your set up was, that you used one image object for all the images. I tweaked your event sheet a bit and it works now as you inteded :)

https://drive.google.com/file/d/0B_5xNk ... sp=sharing
B
44
S
10
G
8
Posts: 437
Reputation: 6,463

Post » Fri Apr 11, 2014 1:26 pm

@Ubivis Thanks :)
B
109
S
25
G
43
Posts: 1,883
Reputation: 33,553


Return to How do I....?

Who is online

Users browsing this forum: marc254 and 10 guests