Attract-Mode Support Forum

Attract-Mode Support => Themes => Topic started by: jaquintd on April 25, 2015, 03:39:45 PM

Title: Orbit theme respect aspect ratio
Post by: jaquintd 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?
Title: Re: Orbit theme respect aspect ratio
Post by: raygun 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