Help Button Jump
007leokart
Member Posts: 38
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
if someone needs the project to help me i put the download here
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
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?
cheers
This is my project: http://www.4shared.com/file/TRV-pDpi/cannon_jumper2.html
This is my project: http://www.4shared.com/file/TRV-pDpi/cannon_jumper2.html
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
Stop creating new threads for this. I have merged yet another identical thread.
Please check your Private message.
This is my project: http://www.4shared.com/file/TRV-pDpi/cannon_jumper2.html
can anyone help me plx?