Help with falling and jumping
cBrooks
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.
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
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
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!
http://www.jamie-cross.net/?portfolio=gamesalad-recipe-004-advanced-platform-character-movement-featuring-double-jumping
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page