Author Topic: Fixed position UI Design  (Read 6856 times)

Majicpanda

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 83
    • View Profile
Fixed position UI Design
« on: April 20, 2014, 12:21:40 PM »
Going to open with this image from a game I saw...
http://media1.gameinformer.com/filestorage/CommunityServer.Components.SiteFiles/imagefeed/featured/red-hook/DarkestDungeon03.jpg

We had this same concept in mind when trying to design a bottom UI to our game where the world is above and the ui is below.  From the looks of it, do you need to design for 4:3 res which is your lowest ratio in order to make it compatible across all?

I know you could anchor and do some things to make a more modular design, but ours is very fixed just like theirs where any movement would cause it to not work.

So.. with our pixel game the UIRoot is man,min,max of 166 144 244 and I think this means literally nothing since the game runs at min 720p res, so technically we're at a fixed size?  Would it require fixedSize as the option to get something like this?

Here's a very rough sketch of the beginnings of ours where I've "blocked off" the sides to make sure we design within the 16:10 constraints since we're allowing widescreen only.  I'm just unsure what to tell our artist to design the UI in.  That's the main issue.  The image says 390x80 in the engine right now, so they just need to design to that spec?
http://i60.tinypic.com/65qq8g.png

Thanks in advance.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Fixed position UI Design
« Reply #1 on: April 20, 2014, 05:16:05 PM »
Eh. What kind of size is 390x80? Even with the 4:3 aspect ratio and width of 390 pixels, height would be 292.

If your max is set to 244, and your screen is 720p (which is 720 pixels tall), then you are indeed stuck at 244, not 720.

Majicpanda

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 83
    • View Profile
Re: Fixed position UI Design
« Reply #2 on: April 20, 2014, 08:44:55 PM »
Ok so the max height is 244 which means no matter what we play the game at we'll be at 244 since 720p is the lowest res.. that part now makes sense.

390 is the width of 16:10 using 244 for the max height option on the UIRoot.