Problem with actor (jump) help!!
aitorv21
Member Posts: 71
Hi!
I have this problem, when I configured my actor, my settings was a rule that say this:
Press "space" change attribute to 200 and otherwise the same to 0. But the problem is, if I repeat space space space.... my actor do double and triple jump. I want that only possible one jump and after when the actor down... can jump, but not in the air!!!!
How can solvent?
Thanks thanks in advance!!!
I have this problem, when I configured my actor, my settings was a rule that say this:
Press "space" change attribute to 200 and otherwise the same to 0. But the problem is, if I repeat space space space.... my actor do double and triple jump. I want that only possible one jump and after when the actor down... can jump, but not in the air!!!!
How can solvent?
Thanks thanks in advance!!!
Comments
http://i42.tinypic.com/20huia9.png
Now, what have to do?
What you then need to do is make sure you set self.jumping to false when it lands on something.