Author Topic: Interface Auto-Position?  (Read 2231 times)

PortGalaxy

  • Guest
Interface Auto-Position?
« on: July 17, 2012, 05:56:13 PM »
Hello,

On our game we have it so the web player automatically fits the users screen resolution.  The interface scales but I am not sure how to make it's positioning also scale.  See the image: http://i.imgur.com/2q9GJ.jpg

Is there an easy way to make the interface spread out based on the width?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Interface Auto-Position?
« Reply #1 on: July 17, 2012, 06:37:07 PM »
You need to use multiple UIAnchors, and split up your UI into different components -- parts that align to the bottom-left corner would be children of a UIAnchor that's bottom-left aligned. Parts that need to be on the bottom of the screen would go underneath a UIAnchor that's bottom-aligned, etc.