I am trying to do gravity flipping when pressing space. I created a variable called FlipGracity and gave it value 0 or 1. 0 will make the player fall down and 1 fall up. I can only make the character fall up when pressing space. However when i copy the event again and change the variable, the character couldn't fall up or down.
It only works if i use different keys, like space for falling up and z for falling down.
Could someone please take a look on my capx file? thanks!
dropbox.com/s/3v4roo7owlb9mf1/FlippingGravity.capx