by J Maker » Fri Aug 24, 2007 2:21 pm
here on collision with topside of ground have physical response repeat while colliding yes and it will show 4 : 1's. the 3rd 1 change to 0.
then another collision with top side of ground have script editor:
- Code: Select all
canJump = 1;
then add a variable called canJump
then on keydown space or up which ever use this
- Code: Select all
if (canJump == 1)
{
yvelocity=-17;
canJump = 0;
}
then add gravity on draw actor of your player:
- Code: Select all
yvelocity=yvelocity+1;
trust me on the gravity these codes will prevent repeated jumping
Some people believe Chuck Norris evolved from a dinosaur, the Chucknorisaurus.
----------------------------------------------------------------------------------
Chuck Norris doesn't sleep, he waits.
----------------------------------------------------------------------------------
Chuck Norris doesn't hunt, he kills.
----------------------------------------------------------------------------------
Chuck Norris once shot down a german fighter plane with his finger by yelling BANG!!!
----------------------------------------------------------------------------------