Author Topic: Best way to create this world store  (Read 1217 times)

andrew2110

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 12
    • View Profile
Best way to create this world store
« on: December 05, 2014, 07:56:55 AM »
Hello,



I'm trying to develop my world store that will end up looking like the above. I need this to scale to different aspect ratios, so am trying to detect the size of the tables parent object get the aspect ratio from that and decide on the number of rows and columns from that.

Here's its current state:



The biggest point of confusion right now is how to latch the table to the top left of it's parent object, I can manually position it up there but then if I change the resolution of the game it's no longer in the top left of the parent object. Any advice on this on how to achieve this would be greatly appreciated

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Best way to create this world store
« Reply #1 on: December 05, 2014, 03:33:45 PM »
Table would need to be positioned manually. Same if you used a grid. It's best to change its pivot point to top-left so that it extends to the right and downward, and have all the content use top-left pivot points as well, as otherwise it will be a lot more difficult to do so.