if (key_space)
{
ent_animate(my,"jump",anim_percentage, ANM_CYCLE); // "walk" animation loop

c_move (me, vector(0,0,5), nullvector, GLIDE | IGNORE_PASSABLE | USE_POLYGON);
}

else
{
c_move (me, vector(0,0,-5), nullvector, GLIDE | IGNORE_PASSABLE | USE_POLYGON);
}

As you see the jump function is a little simple and newbish.
What I need help doing.
Is that my player should reach a spesific height and then start to descend, when he is "falling" he is playing fall animation, as its now he will always play fall animation because there is no trace to when he is on the ground.

Also, how do I make it so it will cycle through the entire jump animation when I have pressed space?
there should be a check as to when I can jump again.

Hope someone can help me with this.

Last edited by Darkyyes; 01/23/09 22:42.

New to lite-c and gamestudio in general, thank you for reading.
Com, A7 v7.7