Author Topic: GUI Layering help  (Read 3760 times)

JSorrentino

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 30
    • View Profile
GUI Layering help
« on: October 22, 2013, 11:13:39 PM »
Example: Scroll View (secondary camera) (writeup)

Using this example with the scroll camera being used for a map ( full screen ), I am having difficulty adding text above the View Camera (the one that moves).  Everything I try is rendering under the camera, I even tried adding a camera above it with a higher depth.  What am I missing?

My setup for testing is using the example provided.  I need to add text that is stationary in a corner of the screen, over everything (that does not scroll), but the map still needs to scroll under it.

Any ideas?

PS. Thanks!

JSorrentino

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 30
    • View Profile
Re: GUI Layering help
« Reply #1 on: October 23, 2013, 10:13:50 AM »
Addendum:

I cannot just anchor this to the camera, because it not only scrolls but also does a zoom by changing the viewport.

Any suggestions?

JSorrentino

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 30
    • View Profile
Re: GUI Layering help
« Reply #2 on: October 23, 2013, 11:01:19 AM »
Finally got this working right, had to add another camera (which I had tried before), but change the z of the camera position and everything in the world it right again.

Sorry for multiple posts.