Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualEvanClark

Posted 25 January 2013 - 08:49 PM

combatcactus could you possibly put that in code format

 

Edit: i have kinda fixed it when i press space and enter the jumping statement my yVel goes from 0 to -120 and moves -120 y's  but then it changes back to 0 so he dosent come down. Here is my updated code

if (jumping == true)
{
myDot.yVel -= 120;
if (myDot.yVel <= -240)
{

myDot.yVel += 240;
jumping = false;
}
}

#3EvanClark

Posted 25 January 2013 - 08:28 PM

combatcactus could you possibly put that in code format


#2EvanClark

Posted 25 January 2013 - 08:27 PM

Edit: Nevermind


#1EvanClark

Posted 25 January 2013 - 08:26 PM

i will give you the whole source but its a bit messy


PARTNERS