how to make characters jump

Started by Guyserman82, Wed 23/12/2009 18:08:23

Previous topic - Next topic

Guyserman82

I am trying to make a platforming minigame for my next game, but I have little to no idea where to start.
Specific questions:
How to make movement natural (I set the character to move 10 pixels, but unsurprisingly, he stopped when his move command was over, and I ihave to press teh button again to make him move that far again. So, I need to be able to make movement continuous when the key is held down).
How to pan the camera with the character (I am using an object to code with. If there is a better way, let me know).
How to set a maximum limit.
How to set up gravity.
How to have the caracter stop when he has 'landed' on a surface.

Technocrat

Well, you could start off with more natural seeming movement, by using the Keyboard Movement module that comes with it - make sure in global script that you change it from "Tapping" to "Pressing".

I read a similar question about jumping a while ago - it doesn't make them *actually* jump, but create the illusion of it, and from what I can tell, is a similar effect to what was used in things like 1213.


Guyserman82

Changing the movement! Now, why didn't I do that before?! Well, actually, I did, I just never acted on it. Bah, silly me.
Anyway, I know that the illusion of jumping is possible, because it was done in Ahmet's Fight Game 2009 , but I am unable to replicate the jumping action. I was hoping someone would explain it to me.

SMF spam blocked by CleanTalk