Welcome to the forum! Keep in mind that most issues you will run into when starting have most likely been addressed in the past, and probably more then once. So try using the search button:
Most of your question can be answered here:
http://game-editor.com/forum/viewtopic. ... light=jump
As far as tails being able to slowly hover down after a jump, you will need to set up a variable.
His normal draw actor script should have something like:
yvelocity += .8;
if(yvelocity > 20) yvelocity = 20;
which acts as gravity pulling him down. If you were to setup a variable called "float" and set it to your jump key:
Keydown event:
float=1;
KeyUp event:
float=0;
then you would have to find the optimum time to check if the key is down (after the jump animation is done?)/??
And the new draw actor script would be something like:
if (float==0)
{
yvelocity += .8;
if(yvelocity > 20) yvelocity = 20;
}
if (float==1 && canjump==0)
{
yvelocity += .2;
if(yvelocity > 20) yvelocity = 20;
}
- which has normal gravity all the time, except when you are not in contact with the ground and the jump key is held down... this of course after you script everything as it is in the first link I posted. Hope this helped.