Actor jumps but never comes back down

SwaggedSwagged Member Posts: 50
edited November -1 in Working with GS (Mac)
Hey, im working on a project where im making a character with basic characteristics. the problem is when i use the jump rule below the actor doesnt come back down it just floats there.

http://img340.imageshack.us/f/screenshot20110313at539.png/

Comments

  • osucowboy18osucowboy18 Member Posts: 1,307
    Does your scene have gravity enabled? That might fix your problem.

    - Alex
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Do you have any gravity set for the level or better yet you should put an accelerate down behavior on the actor. Gravity doesn't always work the best with Game Salad
  • SwaggedSwagged Member Posts: 50
    i used the accelerate down behavior but then the actor does not move at all and i dont know how to turn gravity on, how would i do that?
  • UtopianGamesUtopianGames Member Posts: 5,692
    100 might not do a very big jump have you tried to play around with the numbers?

    i would do what tenrdrmer said and add in an accelerate down (again try playing with the amount it accelerates)

    Darren.

    image
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Keep in mind if you are accelerating down always when you jump up your velocity has to change enough to over come the constant accelerate down. you may want to try an accelerate up for your jump instead of a change velocity that way you can set your down to 100 and your jump to 200 or whatever numbers you decide work best for you.
    ___________________________________________________________________________________
    GS BubbleBall Template HERE!!
    Stacks Level Selection Template HERE!! Now only $20
    AppSolute Entertainment on Facebook
  • svnsvn Member Posts: 445
    Create this rule: Actor Recieves Event: Key: Spacebar is down
    Actor Recieves Event: Actor collides with Platform/Ground?Whatever your actor stands on
    Then, add a "Change Attribute" Behavior. Click on the triple period button. Select Self>Motion>Linear Velocity>Y. Type 400 into the box to the right of the triple period. Now, your actor should jump whenever you press(and/or hold)the spacebar, and it touches a platform, but will only stay in the air for a second without touching a platform. A side effect is that your character can now wall-jump, and can hug the undersides of platforms without falling.
Sign In or Register to comment.