Moving hole / platformer / Jumping Jack

0 favourites
  • 5 posts
From the Asset Store
A simple fun and stylish endless scroller game ready to be customized and published.
  • Hey guys,

    I can think of a few ideas, but none of them are very elegant, to solve the issue I'm having.

    I'm trying to create a Jumping Jack game like in this movie:

    Subscribe to Construct videos now

    Is there an easy or elegant way to achieve this effect in C2? How would you go about this? I'm talking about moving holes.

    Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Bump... anyone? Thanks.

  • I'm sure there are other ways that could be done but one I thought of is to use sprites for the holes, where the sprite's color is that of the background, so it looks like a hole.

    When the player jumps you could do a collision detection to see if there's a hole there. If not, the player doesn't go through. Otherwise the player goes through.

    The hole being under the player would be a bit trickier I think. Perhaps others have ideas on how it could be done.

  • Thanks for the suggestion, I'll see how it goes.

  • Here's my suggestion~

    Create an object for the hole~

    Image blend it to make it alpha when collide with floor~

    So that you can beautify the background as you can~

    Make the height of the hole larger than the floor a bit~

    Detect if player collide hole, if yes, turn off floor collision~

    That's it, good luck~ ^^

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