Simple solid-platform behavior relationship question-

Get help using Construct 2

Post » Sun Dec 21, 2014 1:34 am

Hey guys, got a quick question.

I have a solid object that, when the player (with platform-behavior) steps on, changes to a darker color and then becomes invisible with solid-disabled. 6 Seconds later, it reverts back to its original state. It looks like this:

Player> on collision with FadeTile Set animation to "On"

>On animation "On" finished Set invisible
Set solid Disabled
Wait 6 seconds
Set solid enabled
Set animation to "Default"
Set visible

Here's the problem: When the player is standing on the platform, nothing happens when solid is disabled. What I want is for the player to fall down as if the platform was destroyed- without destroying it, so that it can come back 6 seconds later. But the player does not fall, the object's solid state doesnt "register" UNTIL I jump, or leave the platform and come back to it.

If anyone can help me, that would be great. Oh, and I can't open capx files because I'm on two different computers. :cry:

THANK YOU!
B
4
Posts: 27
Reputation: 254

Post » Sun Dec 21, 2014 4:37 pm

capx please.
B
38
S
18
G
19
Posts: 664
Reputation: 14,107

Post » Sun Dec 21, 2014 6:21 pm

If you are using sprites for your platform objects, disable collisions on the sprite in question.
A big fan of JavaScript.
B
74
S
20
G
71
Posts: 2,228
Reputation: 44,888

Post » Mon Dec 22, 2014 2:10 am

Colludium wrote:If you are using sprites for your platform objects, disable collisions on the sprite in question.



Worked like a charm! Thank you so much!
B
4
Posts: 27
Reputation: 254


Return to How do I....?

Who is online

Users browsing this forum: Artcadev, brunopalermo, lahbach and 19 guests