Question by
Arcticstar · Jun 14, 2017 at 11:52 PM ·
2d game
MoveToward a point then movetoward another one with same keyInput
I'm making a 2D game when a robot climbing endless walls so I have a wall at the left then a chain in the middle and then the right wall. So I want when the player press D or (touch) the robot moves toward the chain then again by pressing D it moves to right wall. Same for the left side. I made a script when I press D or A the player just jumps from left to right without stop at the middle spot. I need help on how to move the object again at the same derction to a fixed position by pressing the same Key
Comment