Make Pause Button Follow Camera

cheimcheim Member Posts: 21
edited January 2012 in Working with GS (Mac)
I have a pause button that I put into the corner of my game. My game scene is larger than the camera size, so does anybody know how to make sure the pause button always stays in the corner of wherever my camera follows?

thanks,
cheim

Comments

  • LiquidGameworksLiquidGameworks Anchorage, AKMember, Sous Chef Posts: 956
    This is actually very easy, and you'll find this useful for lots of items you want "floating" above your game. Go into your scene layers tab. Create a layer, make it nonscrollable, and put that layer above all the others. Finally, drag your pause button into the new layer.
  • cheimcheim Member Posts: 21
    Hey, that works perfectly. That is probably what you and tshirtbooth were talking about in the other discussion I posted. I don't know why I didn't recognize it then lol.

    thank you so much!
  • LiquidGameworksLiquidGameworks Anchorage, AKMember, Sous Chef Posts: 956
    No prob. If you have any controllers, score, timer or anything else that needs to float above the game, stick them in there too.
Sign In or Register to comment.