Movement Problems

guizanchettguizanchett Member Posts: 24
edited November -1 in Working with GS (Mac)
Hello, I'm a new user.

I created my right and left buttons to make my character move, but when I release the button it stops accelerating, but it still moves. Anybody knows what should I do? I created X and Y attributes and then when pressed, change attribute x to 1, then when button is released change attribute to 0. Then I put in my actor that should move, a accelerate attribute when moveX is = 1, and accelerate = 0 when moveX= 0. I've tried to put some change velocity = 0, but still moves!

Thanks!

Comments

  • RedlerTechRedlerTech Member Posts: 1,583
    ok, what I recommend you do is use the move behavior. If you still want an accelerating type look you can always Move to an attribute called speed. And interpolate that speed to a number but have it in a when touch is... rule

    _________________________________________________
    Full Game Creation Service
    1 On 1 Project Help
  • guizanchettguizanchett Member Posts: 24
    Thx, fixed that prob, but I tried to make a diagonal button to jump up+front and one to jump up+back, front is ok, but how do I do to invert the jump?
Sign In or Register to comment.