Help with falling and jumping

cBrookscBrooks Member, PRO Posts: 40
Hello all! I have finally decided what game I am going to work on. I am new with game salad so this question may sound stupid. I have gravity on and all so when I fall of an edge and don't touch anything I just fall straight down. This is what I want but when I try to go of the edge still holding the right arrow key (to move right) I slowly cruise down through the air. I would like an immediate drop like when I don't touch anything. It would be great if anyone could help me with this!

Also - if you have time, I would like to know the simplest way to make a character jump. I can make the character move upwards when I click my jump button, but the actor goes on forever. I want it when you click the button you do a smallish jump and automatically come back down. Any help would be greatly appreciated.

Comments

  • PaxPaxPaxPax Member Posts: 106
    Couple of ideas.

    Don't use gravity. Instead use accelerate behaviour, you can play around with speed to achieve the 'immediate drop' you would like to see.

    What behaviour are you using for 'jump'? Perhaps you want to try 'self motion linear velocity'.

    Cheers

  • cBrookscBrooks Member, PRO Posts: 40
    Thanks, it worked! I don't have any behaviour for jump yet, because I dont know any good way of putting them in place to cause a jump effect
  • PaxPaxPaxPax Member Posts: 106
    Happy to hear it worked. Are you asking how to "...put them in place to make a jump effect..."? If so, similar to your 'move right' behaviour, when 'x'(whatever key you are using) change 'self motion linear velocity y' to 'self motion linear velocity y + 400'. Substitute the 400 to whatever effect you would like to see. Play around with the number to find what works for you.

    Also, there are many many tutorials on this that are more informative than simple posts. If you google what you are looking for and include 'gamesalad' in the search, you will be amazed with what is available. Many people on these forums have shared their knowledge and it has helped me tremendously. I am indebted to many!
Sign In or Register to comment.