How to make the pause button always follow my actor?

TapflyTapfly Member, PRO Posts: 84
edited December 2011 in Working with GS (Mac)
Hey,
I am having a problem that my pause button is not following my actor, how can I make that work?
Thanks!

Comments

  • POMPOM Member Posts: 2,599
    edited December 2011
    what do you mean by pause button follow actor?
    do you want your pause button to stay always on the screen? if so..
    then in you scene make a new layer , and make it non scrollable , then put your pause button in that layer .
    Now if your camera moves , you pause button will always stay on screen .

    Roy.
  • TapflyTapfly Member, PRO Posts: 84
    I tried that, but it doesn't work. I have to layers, one with the pause and another will all the stuff. When I uncheck the scrollable and test it. The pause button doesn't appear at the scene!
    What can I do?
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    is the pause buttons position within the first 480x320 area of your scene? and set to be unmovable
  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    Is gravity applied to the scene? If it is, the button will fall unless you have moveable un-checked in the attributes pane.
  • TapflyTapfly Member, PRO Posts: 84
    Ow, I got it!
    Thanks tenrdrmer! It's not under 480x320. How do make it to work when it's:
    x = 320
    y = 443
    Thanks!
  • TapflyTapfly Member, PRO Posts: 84
    Anyone?
    Please...
  • POMPOM Member Posts: 2,599
    @tapfly
    What is the problem mate?
    You got your answer , please be more specific if you need more help..

    Roy.
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    If the game is landscape then your y position is going to have to be under 320 but if its portrait then your y should be fine but your x is gonna makweit show only half the actor. Whats the problem your are having. You just need to put the button inside the original camera area and in a non-scrollable layer.
  • calvin9403calvin9403 Member Posts: 3,186
    edited December 2011
    Change the posetition to 480-the image width/2 and 320-the image height/2
Sign In or Register to comment.