Help! Jump problem!
We're having trouble with one of our characters. He will keep jumping if you want him to and practically fly! Plz help!!!!!!!!!!!!!!!!!!
T Y SO MUCH.
canjump = 1; //canjump is a variable that you'll make yourselfif(canjump == 1)
{*your jump action*;
canjump = 0;}canjump=2;if(canjump>0)
{
yvelocity-=10;
canjump--;
}canjump=0;time ++;
if (time > 2)//adjust this variable to suit
{
canjump = 0;
}