How do I make a platform change opacity upon stepping on it.

Get help using Construct 2

Post » Thu Feb 25, 2016 1:42 am

Alright. Let's say we have a straight line.

"---------------------------------------------"

Except, this line is actually invisible!



I want to make it so that when a player jumps onto the line, a small radius of the line will be revealed, no longer invisible.

The line would always be solid, so even if, for whatever reason you could not see it upon standing on it, you wouldn't fall through.

I would like this to work for enemies aswell, basically any living thing. Any ideas on how to achieve this? Please be thorough with you explanation :geek:
B
25
S
10
G
1
Posts: 154
Reputation: 2,687

Post » Thu Feb 25, 2016 2:21 am

What you are looking for is blend mode I think.

https://www.scirra.com/manual/146/effects

Basically you have another circular sprite attached to your player. When this sprite overlaps with the platform, the platform will be revealed. It looks like the destination in blend mode is the one you want, but I'm not familiar enough with them to describe how to set this up specifically.
Mistakes were made.
B
53
S
27
G
114
Posts: 1,697
Reputation: 64,442


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 51 guests