Moving???

qewrqewr Member Posts: 54
edited November -1 in Working with GS (Mac)
Whats up, I need to make it so an actor can only move right, not left, my idea is to create an actor that isn't moveable and changes its position to the left of the actors x every say 0.5 seconds, if anybody has a better method id love to hear it,

Comments

  • qewrqewr Member Posts: 54
    Sorry dude I left out a few details, I have a button on the screen that changes an integer attribute when you touch it, when the attribute = 1 then the actor (not the button) changes its linear velocity x to linear velocity x +50, the problem is that when the actor collides with objects he'll go the other way, trying to figure out how to only allow him to move right
Sign In or Register to comment.