Moving hole / platformer / Jumping Jack

Get help using Construct 2

Post » Thu Apr 26, 2012 12:49 pm

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:Jumping Jack

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.
B
14
S
5
G
7
Posts: 235
Reputation: 5,175

Post » Fri Apr 27, 2012 11:01 pm

Bump... anyone? Thanks.
B
14
S
5
G
7
Posts: 235
Reputation: 5,175

Post » Sat Apr 28, 2012 8:02 am

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.Ugotsta2012-04-28 08:03:01
B
126
S
7
G
4
Posts: 185
Reputation: 7,233

Post » Sat Apr 28, 2012 1:50 pm

Thanks for the suggestion, I'll see how it goes.
B
14
S
5
G
7
Posts: 235
Reputation: 5,175

Post » Sat Apr 28, 2012 2:58 pm

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~ ^^
B
13
S
5
G
3
Posts: 63
Reputation: 3,989


Return to How do I....?

Who is online

Users browsing this forum: h1k3, Unconnected and 0 guests