Player standing on object

Get help using Construct 2

Post » Wed Oct 23, 2013 9:45 pm

Hi, is there a way to determin for the platform behavior, if the player is standing on a specific object. I would like to change the color of some of my platforms, when the player is standing on it.

I'm looking for a behavior that enables me to do that:
IF "Player is standing on object x" THEN "mark object x as active"

Thanks in advance.
B
3
Posts: 9
Reputation: 193

Post » Wed Oct 23, 2013 11:36 pm

http://www.dwbailey.com/images/platformcolorchange.capx

hopefully this helps...

I used a variable and set it to when the player collides with the platform it changes frames....

i just have on idea to set it back to the original color for when it isnt colliding...
B
9
S
2
Posts: 272
Reputation: 1,632

Post » Thu Oct 24, 2013 9:31 am

Thanks for your help. I tried something like that and had the exact same issue with switching back to the original color. I think I will have to calculate the difference between the player's outer bounds and the platform edges.
B
3
Posts: 9
Reputation: 193

Post » Thu Oct 24, 2013 9:41 am

You could use overlapping at offset for this.
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 » Thu Oct 24, 2013 1:27 pm

Thanks, this should do it! I didn't even notice this condition before.socre2013-10-24 15:05:46
B
3
Posts: 9
Reputation: 193


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 34 guests