Hey folks, thanks in advance for reading this.
I'm making a game engine similar to a Double Dragon, Littlefighter 2, River City Ransom style game. Four directional movement and jumping and fighting.
I have the four dimensional movement down pat, I have the fighting moves fine. The only thing I can't get is how to do the jumping. In each of these games, the character jumps in a certain direction, either straigh up, left, or right. Once in the air, they cannot change movement until they land.
I have tried everything from paths, variables, trying to remember the last y of the player object and when the jump object with gravity hits that y it stops as if it collided with a solid object and turns back into the player, thus seeming to jump and land and not fall off screen. I had even animated a really crappy jump sprite to fake it.
The first two things don't work properly, and the animation of a jump is too ick...
I guess I'm looking for some kind of code for an object to arch from point A to point B. Since this is not really a platform but 4 dimensions.
..............____..........
............./........\ .......
.........../............\......
point A ------------ point B.
Any ideas?
Edited by Kit630, 11 January 2007 - 01:15 AM.



This topic is locked








