Jumping Character

Started by ncw14, Thu 28/02/2008 23:31:58

Previous topic - Next topic

ncw14

Im making a 2d game but i cant quite get it to work the way i want, i need jumping for my character, i want it so that he animates on loop 8 then jumps, not just straight up either, its like mario if your not moving on ground you go straight up but you can still move in air, if your moving on ground and jump you go up and far forward

You understanding any of this?

i need a jump function or code

R4L

There is no exact code or function, as you put it, but there are ways:

1) Try out some games like Platformerius (spelling?). They can give you an idea of how it works.

2) Search for Bernie's platform code. I think it's a little outdated now, but you might get how it works.

ncw14

I like the features in bernies module but in 2.71 my character doesnt even animate anymore while using it, any way i can fix this

Radiant

Try using the character[EGO].z variable.

ncw14

about z

i dont quite get the whole concept

could someone give me some simple codes so i can learn how it works, then i can improve off of those codes, i dont get ints and try to find out about i read alot but the concept hurts my head, but if someone would give me basic codes i could improve off of them

SMF spam blocked by CleanTalk