moving actor by set amount
![slev](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
hi
im moving my actor by a set amount by using self.possistion.X+60 which is working great as i want 1 click of the button to move him 1 square of the game. but when i do this he moves straight to the the next square id like him to move between the two squares ie. if he was at x possistion 1 and i pressed the button he would move to x possistion 60 via all the numbers in between. am i right in thinking its something to do with interpolate but im not sure what
cheers
im moving my actor by a set amount by using self.possistion.X+60 which is working great as i want 1 click of the button to move him 1 square of the game. but when i do this he moves straight to the the next square id like him to move between the two squares ie. if he was at x possistion 1 and i pressed the button he would move to x possistion 60 via all the numbers in between. am i right in thinking its something to do with interpolate but im not sure what
cheers
Comments
and yes you can use the interpolate behaviour. If you set up another attribute say called nextposX. Then a rule, when touch is pressed change attribute nextposX to self.posX+60 and interpolate self.posX to nextposX.