GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Help Button Jump

007leokart007leokart Posts: 38Member
edited 3:28AM in Tech Support
hi everyone i need help on how do i make a ground and an actor jump if someone help me i would apreciate it!

Comments

  • 007leokart007leokart Posts: 38Member
    Can't anyone help me! i really need help!
  • tenrdrmertenrdrmer Posts: 9,934Member, Sous Chef, Senior Sous-Chef
    Open GameSalad click new and search for jump. you'll find tons of helpful projects you can look at.

    It's not my fault I never learned to take responsibility for anything. ;)

  • 007leokart007leokart Posts: 38Member
    Yeah know i know how to do the jump and the ground but then my without i clicking the button jump it keeps jumping again thats what i need help!
  • tenrdrmertenrdrmer Posts: 9,934Member, Sous Chef, Senior Sous-Chef
    Turn down restitution.

    It's not my fault I never learned to take responsibility for anything. ;)

  • 007leokart007leokart Posts: 38Member
    THanks tenrdrmer a lot i finally made it (:
  • 007leokart007leokart Posts: 38Member
    Hey everyone i made my game that he jumps with a space but now i want to do with a button jump and now i dont know how

    if someone needs the project to help me i put the download here
  • JohnPapiomitisJohnPapiomitis Posts: 6,256Member
    make a game attribute called jump.

    In your jump button have a rule when touch is pressed
    -change attribute jump to 1

    then open up the otherwise section of that rule and have a change attribute behavior in there changing attribute jump to 0

    then just put all your jump rules in a rule when attribute jump=1 instead of the space bar rule or whatever you have now

    Also move topic out of tech support, and into working with gamesalad.

    cheers
  • 007leokart007leokart Posts: 38Member
    Hey this is my project: http://www.4shared.com/file/TRV-pDpi/cannon_jumper2.html

    And when you press 2 times space it makes a "double jump" and i want to do that but with the button "JUmp" that i made in the game so i can do the double jump and the normal jump with the button

    can anyone help me?
  • tenrdrmertenrdrmer Posts: 9,934Member, Sous Chef, Senior Sous-Chef
    Merged… Please do make new threads on the same subject.

    It's not my fault I never learned to take responsibility for anything. ;)

  • JohnPapiomitisJohnPapiomitis Posts: 6,256Member
    007leokart said:
    Hey this is my project: http://www.4shared.com/file/TRV-pDpi/cannon_jumper2.html

    And when you press 2 times space it makes a "double jump" and i want to do that but with the button "JUmp" that i made in the game so i can do the double jump and the normal jump with the button

    can anyone help me?

    i already told you the answer.

    cheers
  • 007leokart007leokart Posts: 38Member
    hey everyone im done already but now i made him jump by pressing space and now i want him to jump when i press the button jump and i dont know how can someone help me?

    This is my project: http://www.4shared.com/file/TRV-pDpi/cannon_jumper2.html
  • 007leokart007leokart Posts: 38Member
    hey everyone im done already but now i made him jump by pressing space and now i want him to jump when i press the button jump and i dont know how can someone help me?

    This is my project: http://www.4shared.com/file/TRV-pDpi/cannon_jumper2.html
  • AsymptoteellAsymptoteell Posts: 1,362Member
    I haven't looked at the project yet, but from my understanding, what you need is for the button press to make him jump.

    Make a new Global Boolean Attribute. On the left side, tab Game, tab Attributes, press the little + sign on the bottom. Name the attribute "Jump"

    In your button actor, make a new rule: when touch is pressed, change attribute game.Jump to true.
    Otherwise, change attribute game.Jump to false.

    In your character that jumps, change the rule for jumping from "When Key Space is Down" to When Attribute game.Jump is true.

    That should do it. Tell me if it didn't work or if you can't find a button for something, etc.

    Asymptoteell
  • tenrdrmertenrdrmer Posts: 9,934Member, Sous Chef, Senior Sous-Chef
    007leokart.

    Stop creating new threads for this. I have merged yet another identical thread.

    Please check your Private message.

    It's not my fault I never learned to take responsibility for anything. ;)

  • 007leokart007leokart Posts: 38Member
    I tried to do the way you did but it didn't work. I tried everything but it didn't work! And already had that attribute jump but when pressed space it changed and made a double jump, i don't know how to explain but in the project you can see! But thanks!
  • 007leokart007leokart Posts: 38Member
    hey everyone im done already but now i made him jump by pressing space and now i want him to jump when i press the button jump and i dont know how can someone help me?

    This is my project: http://www.4shared.com/file/TRV-pDpi/cannon_jumper2.html

    can anyone help me plx?
This discussion has been closed.