Walk on uneven platform?

0 favourites
  • 3 posts
From the Asset Store
Perfect for your zombie game! Animated from motion capture data Left, Right, Top Down!
  • Hi, friends,

    I cannot find any solution for my situation. Here is my game:


    (Click enter). I have Mr. Twig here and I want him to walk on that black hill, which is not straight.

    I don't need him to jump, just walk right or left on that side, where I click with my mouse.

    And I want his steps to copy the surface.

    Is there any solution for that at all? Or it's just not possible with Construct 2?

    Thank you, guys, a lot for your answers, I'm newbie here!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can add Platform behavior to your character, Platform can walk on uneven surface.

    But if you try to make collision polygon on your ground to copy all those little bumps and drops, the collision polygon will be too complex and could affect performance.

    So one way to do this is to build the surface with simple invisible sprites, roughly replicating the terrain. Your character will actually be walking on these sprites, but it will look like it's walking on the ground.

    Another option is to use an invisible tilemap, but it's quite advanced. See this post:

  • Thank you, DOP!

    I've tried both (collision points & invisible sprites) and it works fine.

    I have 32 points and I see no performance affect...

    Thanks a lot!

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