Scrolling scene, but want fixed GUI.

SandbirdSandbird Member Posts: 69
edited January 2012 in Working with GS (Mac)
I am trying to do something like this.
image
Where the white buttons are left-right and the cyan is the player.
I want the white buttons to be always fixed on the screen....so i add them in a new layer and unchecked the scrollable box in the scene settings. But instead of them staying where they should i get something like this instead.
image
The white box shown here is actually the left button oO

How can i make them stay in their corners ?

Thanks

Comments

  • beefy_clyrobeefy_clyro Member Posts: 5,394
    That would be correct, you create a new layer and make it unscrollable. Have your hanged the camera origin(s) at all?
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    Make your top layer unscrollabe and put you static items in that layer.
  • SandbirdSandbird Member Posts: 69
    Yeah thats what i am saying guys...i did all that..I've made them fixed by unchecking the scrollable thingy.
    I have moved the camera to the center of the scene, and gave "control camera" attribute to the player

    Here is the file that i am talking about: http://www.multiupload.com/8O99D23PZC
  • beefy_clyrobeefy_clyro Member Posts: 5,394
    As you've moved the camera you will need to adjust for the offset. I always leave the camera where it is by default, build the hud from there and if i want it to start anywhere else i move my main actor which has a control camera behaviour within.
    I haven't looked at your project but thats what i think is happening, you've moved the camera origin and now need to account for the offset
  • SandbirdSandbird Member Posts: 69
    oh crap, i thought it was done automatically by GS. I know what you mean though...makes sense.
    I'll give it a try.thanks
Sign In or Register to comment.