Changing opacity question

Get help using Construct 2

Post » Thu Mar 22, 2012 9:21 pm

i have run into a problem; what i want to do is to change to opacity of a sprite depending on how close it is to another sprite but i can figure out a simple way to do it.

basically, i want a sprite to become more visible as the player gets closer and less visible as the player moves away, in a nice and clean way =)

thanks!

B
7
Posts: 25
Reputation: 965

Post » Thu Mar 22, 2012 9:46 pm

Here's my suggestion, hope it helps:

Link: DistanceOpcaity.capx
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Thu Mar 22, 2012 10:36 pm

awesome, thanks!
B
7
Posts: 25
Reputation: 965


Return to How do I....?

Who is online

Users browsing this forum: Artpunk, gregorysforster, onzephyr and 2 guests