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?
tenrdrmerMember, Sous Chef, Senior Sous-ChefPosts: 9,934
Merged… Please do make new threads on the same subject.
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
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?
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?
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!
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?
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?