Author Topic: Help : Creating a frame  (Read 3057 times)

Dover8

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 20
    • View Profile
Help : Creating a frame
« on: June 17, 2013, 05:01:10 AM »
I'm having a bit of Monday morning haziness. I'm wanting to create a black frame around my window, but the client doesn't want it to be the full size of the screen. So I'm looking at making a frame that is about 80% the size of the screen (the target resolutions are different sizes, so this needs to be done automatically) with say 40 pixels width. It's easy enough to do right at the edge of the screen using 4 sprites, but how can I do it inset from the edge of the screen?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Help : Creating a frame
« Reply #1 on: June 17, 2013, 09:55:54 PM »
Center anchor, centered sprite, localScale set to Screen.width * 0.8, Screen.height * 0.8.