how can you make it so that you can only jump once?
they jump with (yvelocity = -1;) thx
Jump = 1;if (jump == 1)
{
yvelocity -= 1;
Jump = 0;
}
if (jumping == 0) yvelocity = -1;jumping = 1;jumping = 0;

Users browsing this forum: No registered users and 1 guest