how do I make a button that make my player jump higher each time its pressed?
Kirkhayden
Member Posts: 6
Hey guys, I'm struggerling to figure out how to make a button that changed how high my player will jump each time its pressed? And if possible a way that u can only press it at certain times?? Please help
Thanks for reading thank you
Thanks for reading thank you
Answers
Kmiles1990
define a atribute (i will call it X) as a intiger. it should be set to 0
make a rule saying when touch and X is equal to 0 move to/animate (which ever you are using)
add another rule to the button saying when touch make X 1
hope this has helped I can try to clarify if you need me to