Author Topic: Orbit theme respect aspect ratio  (Read 5834 times)

jaquintd

  • Newbie
  • *
  • Posts: 1
    • View Profile
Orbit theme respect aspect ratio
« on: April 25, 2015, 03:39:45 PM »
Any way to get the Orbit theme to keep the aspect ratio as to not stretch vertical games?

raygun

  • Administrator
  • Sr. Member
  • *****
  • Posts: 393
    • View Profile
Re: Orbit theme respect aspect ratio
« Reply #1 on: April 30, 2015, 09:30:10 AM »
There is, you'll have to go in and edit the layout script directly though.

If you open up the layout.nut file for the orbit layout, around line 150 is the following:

Code: [Select]
local snap = fe.add_artwork( "snap", 224, 59, 352, 264 );
snap.trigger = Transition.EndNavigation;
local frame = fe.add_image( "frame.png", 216, 51, 368, 278 );

Anywhere after this you just need to add the following line to the file:

Code: [Select]
snap.preserve_aspect_ratio=true;

hope that helps