Page 1 of 1
Jumping
Posted:
Mon Aug 28, 2006 4:37 pm
by Jokke
Ive seen the script someone posted here so u only jump once, it works of course. But, if i hold the space bar down the character keeps going up and i can still jump in mid-air...oh that means it dont work. meh atleast i have gravity XD please help out
Posted:
Mon Aug 28, 2006 5:20 pm
by makslane
Posted:
Mon Aug 28, 2006 5:52 pm
by Jokke
thanks for the help, but i got the code for only jumping once from the first link and it didnt help i can still pretend i have a jetpack on my back wich this character isnt supposed to XD
Posted:
Tue Aug 29, 2006 1:12 am
by Zehper48
add a keydown space script editor and type yvelocity -5;
Posted:
Tue Aug 29, 2006 11:06 am
by Jokke
well, thats kinda what i did and holding down space makes character fly
Posted:
Tue Aug 29, 2006 8:11 pm
by Game A Gogo
on repeat thing, place it disable.
Posted:
Wed Aug 30, 2006 9:20 am
by Jokke
thanx i got it now
Posted:
Wed Aug 30, 2006 9:53 pm
by Game A Gogo
no problem, if you want to keep your player to be able to jump only once, just use a variable.
Posted:
Thu Aug 31, 2006 7:26 am
by Jokke
yeah someone got to explain those variables in a demo or something...and i did canJump seen it in the abuse2