Have a rule in the button when touch is pressed: -change attribute jump to true then open up the otherwise section of that rule and have a change attribute behavior changing attribute jump to false
then in the actor you want to jump have a rule when attribute jump = true -change attribute self motion linear velocity y to 400 (adjust the 400 to change the jump height
just make sure to have a accelerate behavior in the down direction in the actor you want to jump to act as gravity
Make attribut bounce Rule when touch is pressed change attribute bounce to true Otherwise false Then when the attribute > true adjust his linear velocity to height of jump! Edit: @johnpapiomitis you beat me to it!
We'll I'm not home.... But in my own opinion I know it sounds easier if someone else does the work for you, but your not going to be able to learn if you don't do it yourself..... I reaky am sick of people asking for free templates now.... Just my two cents! If you really want to make an actor jump go buy a DBA template (plat former one) from http://www.Deepblueapps.com
yes, I do have going left and going right and works find, but the problem with jump is that it goes up and then it does not go back down as normal jump
Comments
Have a rule in the button when touch is pressed:
-change attribute jump to true
then open up the otherwise section of that rule and have a change attribute behavior changing attribute jump to false
then in the actor you want to jump have a rule when attribute jump = true
-change attribute self motion linear velocity y to 400 (adjust the 400 to change the jump height
just make sure to have a accelerate behavior in the down direction in the actor you want to jump to act as gravity
Rule when touch is pressed change attribute bounce to true
Otherwise false
Then when the attribute > true adjust his linear velocity to height of jump!
Edit: @johnpapiomitis you beat me to it!
Thanks for the respond, can you make me small template about this?
thank you
I reaky am sick of people asking for free templates now.... Just my two cents!
If you really want to make an actor jump go buy a DBA template (plat former one) from http://www.Deepblueapps.com
if the actor is not going back down, then you did not put the accelerate down behavior to act as gravity as a posted above
cheers
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx