Creating two attributes for jumping movement?
Hey, I use a button to get my character jumping, now I want another rule that says when the character collides with an object, change self.motionY from 200 to 300 for example.
It is just that I want my character to collect an object, and he has to get another one to jump higher than usual to get the other object.
Please,I really need help
It is just that I want my character to collect an object, and he has to get another one to jump higher than usual to get the other object.
Please,I really need help

Comments
change attribute
I have a button and I said: when button is pressed change attribute game.jump to true!
Then in the actor I have a rule saying: when collapse with ground and attribute game.jump is true, change self.motion.linearVelocityY to 300.
Now I want these rule to be changed when my actor collides with an special object!