Change self motion to accelerate?
Okay I have buttons for movement. And in my actor I used when game.left(right,jump) is true,
change self motion to...and so on..
My question is now, how do I change this to the behavior accelerate? Accelerate then direction and speed, but how do I say when buttons are not pressed (left,right,jump is false) stop moving actor immediately...
Thanks to everyone
change self motion to...and so on..
My question is now, how do I change this to the behavior accelerate? Accelerate then direction and speed, but how do I say when buttons are not pressed (left,right,jump is false) stop moving actor immediately...
Thanks to everyone

Comments
open up the otherwise section of those rules and change the linear velocity to 0
But the other problem is that the actor accelerates very slowly
How do I change that?
thx
Because when I change it to 1000, it starts again slow for a short time and then goes very fast, to fast
And when using accelerate, the actor first starts slow and then goes faster and faster...
When using velocity the actor moves on the same speed every time...