• Create Account

### #Actualtashaklikedi

Posted 04 June 2012 - 06:48 PM

Hi, I'm a newbie programmer who tries to make his own streets of rage / final fight like side scroller game.

As you know it, that kind of game has a pseudo 3D setting, with X and Y movement. So other than the X and Y variables that I use to move, I created a ground position hitbox (a rectangle), and an air position hitbox.

When you press the jump button, there is an initial velocity, a negative acceleration which is added to the jump velocity at each frame, and a condition that tells to land if the Y coordinate of the air position is lower than the Y coordinate of the ground position.

I hope I have been clear up to now...

Up to now, what I did successfully is running, jumping and walking in a limited area.

what I want to do next is to make my character jump between platforms like this:

I tried many things, but every time when I did one aspect of the issue successfully, it turned out that I messed up another aspect.

do you have any idea how this can be solved? after this I think everything will be easier (putting aside the AI)

### #1tashaklikedi

Posted 04 June 2012 - 06:47 PM

Hi, I'm a newbie programmer who tries to make his own streets of rage / final fight like side scroller game.

As you know it, that kind of game has a pseudo 3D setting, with X and Y movement. So other than the X and Y variables that I use to move, I created a ground position hitbox (a rectangle), and an air position hitbox.

When you press the jump button, there is an initial velocity, a negative acceleration which is added to the jump velocity at each frame, and a condition that tells to land if the Y coordinate of the air position is lower than the Y coordinate of the ground position.

I hope I have been clear up to now...

Up to now, what I did successfully is running, jumping and walking in a limited area.

what I want to do next is to make my character jump between platforms like this:

I tried many things, but every time when I did one aspect of the issue successfully, it turned out that I messed up another aspect.

do you have any idea how this can be solved? after this I think everything will be easier (putting aside the AI)

PARTNERS