When you press key UP, your character jump, but not only one time. When are you pressing key UP, he
is jumping.
I know,
- Code: Select all
if(canjump==1)
{
yvelocity=-12;
canjump=0;
}
But somethink is wrong. Can anyone fix me this? I dont know what to do.
I am tryed to fix this 2 hour, but no results.
Can anyone help me please?
I know, I am boring with my stupid questions, but I am not expert.
!! At first time, I not used jump easy scripts.!!
It was not easy to create this.
Thnx
Thanks