Set solid disable for Platform behavior

0 favourites
  • 4 posts
From the Asset Store
A set of sci-fi / cyberpunk themed platformer characters
  • 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.

  • 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

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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.

  • Thank you guys for your help. Both advices works fine! Issue with fade-outing platforms is solved for me.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)