Element following the screen

NeverbeNeverbe Member Posts: 117
edited November -1 in Working with GS (Mac)
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?

Comments

  • RHRH Member Posts: 1,079
    Create a new layer, put the button actor in that layer and then un-tick scrollable.
  • NeverbeNeverbe Member Posts: 117
    It's working! Thanks a lot.
    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?
Sign In or Register to comment.