Scrollable = Visible?

3itg3itg Member, PRO Posts: 382
edited June 2012 in Working with GS (Mac)
So im trying to make my HuD not move.

I am currently using the official cross platform control template, I have made my map larger than the screen area, and moved the control actors into the visible area.
When I preview... no controls on screen anywhere.
If I make them scrollable (which isn't what I want) they appear on screen, but when I move my character actor, it is possible to scroll the controls off-screen...
What am I missing here?
there doesnt appear to be positional behavior in any of the actors.
Does my camera tracking area have to include the Controls? (I just want the camera to follow my character actor)

Best Answer

  • ORBZORBZ Posts: 1,304
    edited June 2012 Accepted Answer
    You need to uncheck scrollable and position your UI in relation to the bottom left corner of the scene in the builder. It doesn't matter where you position the camera in the scene builder. The camera origin for unscrollable actors i.e. HUD is always the bottom left corner of the scene. It's whack.

Answers

  • DanDaMan123DanDaMan123 Member Posts: 216
    I'm not sure I completely understand the question, but in the scene creator make sure that the controls are in the camera space.

    hope it helps
  • 3itg3itg Member, PRO Posts: 382
    I have moved the controls to within the camera space. They "appear" where I want them to.
    When I preview, they are not visible unless scrollable is checked for the layer they are on.
    If scrollable is checked, the controls scroll offscreen when I move my actor.
    I want the 4 control actors to stay where i place them. So I placed them in their own layer group and unchecked "Scrollable". The controls disappear.
    If I check the "Scrollable" option, the controls appear, but scroll offscreen when I move my actor.
  • 3itg3itg Member, PRO Posts: 382
    Thanks, I was looking for a way to define its origin but didn't think of that... works perfectly
  • fishZombiefishZombie Member, PRO Posts: 46
    ORBZ... Thank you so much. I was having the same problem. But this is sad, because I just moved all my HUD to the new world position... now I have to move them back so that they are in the world in relation to the Display size (ie. 768x1024)
Sign In or Register to comment.