Mechanics for a "Frog jumper" platformer

Get help using Construct 2

Post » Wed Feb 06, 2013 6:09 pm

I want to create a mouse controlled "frog" jumper platformer (imagine mario if he can only move by jumping) and, while I have got some progress in it I am now stuck.

What I want to do is to control a platform sprite (because platform behavior already handles a lot of things I want to include in the gameplay) to jump in the direction of the mouse pointer. I achieved this with jump on click and platform vector X to -(Sprite.X-Mouse.X) on mouse button down - while this needs some tweaking to work perfectly, that's not what I want to achieve.

I want the sprite to jump as close to the pointer as possible, so when the player clicks on the "ground" the "frog" jumps there. Similar with platforms, click on (or slightly above) one to jump there. I want the frog to jump in a parabolic arc and not a straight line ( just like native jumping for platformer looks). Also, I would like to be able to control the length of the arc or it's x and y vectors with events to make a maximum jump.

Is that possible without using physics behavior?

I would welcome any input, even brainstorming ideas are fine.

Thanks in advance.VonBednar2013-02-06 21:31:51
B
16
S
3
G
5
Posts: 44
Reputation: 3,231

Post » Wed Feb 06, 2013 10:41 pm

I would like to summon @R0J0hound, as he masterfully resolved a different parabola issue in Parabola/Tracjectory tracing with Physics / Box2D.
B
16
S
3
G
5
Posts: 44
Reputation: 3,231


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, jul, TELLES0808 and 21 guests