How do I make an actor jump?

eliteelite Member Posts: 26
edited November -1 in Working with GS (Mac)
I have a platformer style game and I am wondering how to make the main player jump.
Anyone know how to do this?

Comments

  • scitunesscitunes Member, Sous Chef Posts: 4,047
    I don't mean to be mean, but there have been a lot of posts about this lately (many answered by me) so I think your best bet is to search this forum. Many newcomers do not realize that there is a search feature on this site. Just click on the little magnifying glass at the very top right of this page (you may need to scroll to the right).

    Again, not trying to be mean just teaching you to fish rather than giving you the fish.

    If you still can't find anything post again and I'll help you out.
  • eliteelite Member Posts: 26
    OK! Thanks!
  • eliteelite Member Posts: 26
    Here is my problem with this...
    My actor just keeps falling down (I think is is from the acceleration at 270) or when I delete the behavior (accelerate...) the actor flies upwards.

    This is what I used...

    http://gamesalad.com/forums/topic.php?id=9801

    Anyone know how to fix this?
    Thanks!
  • eliteelite Member Posts: 26
    OK now I got my actor to jump.......
    But he keeps jumping up and down without me telling it to.
    Anyone know how to fix this?
    I used this ..... http://gamesalad.com/wiki/how_tos:gsc_jump
    Thanks!
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    you need an otherwise in your jump trigger.

    So if you have a rule that says

    Rule
    When spacebar is down
    game.Jump to 1
    Otherwise
    game.jump to 0
  • eliteelite Member Posts: 26
    K Thanks!
    Now it works better, but when I finish a jump, it keeps bouncing. I can stop it by moving it to the left or right, but is there another way to fix it?

    BTW I am using the instructions form the second link I posted.
    Should I use the instructions from the first link I posted?

    Sorry to be annoying about it with so many problems.
    Thanks!
  • JamesZeppelinJamesZeppelin Member Posts: 1,927
    scitunes said:
    I don't mean to be mean, but there have been a lot of posts about this lately

    I think there are even a few with the same title lol

    Anyways there is a descent jump demo on my wall
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    set restitution to 0 to have no bounce (both the jumper and the platform)
  • eliteelite Member Posts: 26
    Yay! It works!!!!!
    Thanks scitunes!
Sign In or Register to comment.