Fix jumping?
Dylan84
Member Posts: 12
I'm using the change attribute method of jumping. Right now I can press the move right/left buttons while pressing the jump button and I can jump at an arch in order to get onto platforms (I like that). My problem is I have to hold the jump button down the entire time of the jump to keep the arch going. If I let go of it my player goes straight down. I want it to be where I just tap the jump button and then I can move right/left with the right/left buttons during the jump until my gravity/accelerate down brings me to the ground. How can I do this while still using the change attribute method of jumping?
Comments
Probably the easiest way is to change attribute self.Motion.Linear Velocity.Y when the jump button is pressed.