Set solid disable for Platform behavior

Get help using Construct 2

Post » Sun Mar 03, 2013 2:49 pm

Hello community.
I newbe with Construct 2. I just started my platform game and faced with the problem: in my game I have temporary fade-out bricks, when the player is stands on brick is disappearing by fade-out method. In that moment I set Solid is disable, but player still stay on the brick. Looks like solid is still enebled. But if I jump on it, player is falling through without collisions. Can you give me advice? Thank you.

B
7
S
1
Posts: 10
Reputation: 921

Post » Sun Mar 03, 2013 4:15 pm

I had this problem in a game I made a while back. This was my solution.

> Player is standing on platform * Set platform jump strength to 100
> Block opacity < 100             * Simulate Jump
                                             * Wait 0.1 Seconds
                                             *Set platform jump strength back to original

This meant he gave a little jump when the block vanished, but it worked pretty well. I'm just setting his jump strength to something low, making him jump, then setting the jump strength back.

Hope this is of some help

Haematite2013-03-03 16:16:42
B
22
S
6
G
10
Posts: 118
Reputation: 8,005

Post » Sun Mar 03, 2013 4:49 pm

I'm pretty sure all you have to do is get the player into the air. You could just use something like Set Y vector -1 to launch the player an imperceptible distance into the air.
B
6
S
1
Posts: 67
Reputation: 986

Post » Tue Mar 05, 2013 5:54 pm

Thank you guys for your help. Both advices works fine! Issue with fade-outing platforms is solved for me.
B
7
S
1
Posts: 10
Reputation: 921


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 30 guests