Element following the screen
Neverbe
Member Posts: 117
I have some button, when the actor player walk, the camera follow him but the button don't want to move.
How an element can follow the screen?
How an element can follow the screen?
Comments
PS. i'm trying to move a platform from right to left (like in some platform game) i set the linear velocity x to 50, i had create a rule to detect when the self.Position.X of the actor is equal to self.Position.X+20 change the self.Motion.Linear.X to -self.Motion.Linear.X and another rule to detect when self.Position.X of the actor is equal to self.Position.X-20 then it change self.Motion.Linear.X to -self.Motion.Linear.X but it don't want to work...anyone could help me?