Author Topic: Possible to make Robospin scale with aspect ratio?  (Read 4273 times)

tonberryhunter

  • Full Member
  • ***
  • Posts: 60
    • View Profile
Possible to make Robospin scale with aspect ratio?
« on: August 16, 2017, 10:42:44 PM »
I have been working for months on a custom Attract Mode theme based off of the original Robospin.  I'm trying to figure out how to scale the wheel images with a 4:3 aspect ratio.  I managed to get the cab (cropped photoshop), snap and background (cropped in photoshop) art to scale correctly but not sure what I need to edit in the layout.nut file to correct the wheel.  Other than intentionally distorting all my 16:9 assets in Photoshop I dont know how to fix this.  Perhaps someone verse with the coding used in these layouts might be of assistance. :)

Here are two example images of my main menu.

16:9


upload and share pictures


4:3 (with distorted wheel images and pointer)


upload and share pictures


bjose2345

  • Sr. Member
  • ****
  • Posts: 107
    • View Profile
Re: Possible to make Robospin scale with aspect ratio?
« Reply #1 on: August 17, 2017, 01:38:29 AM »
set the preserve_aspect_ratio = true?

tonberryhunter

  • Full Member
  • ***
  • Posts: 60
    • View Profile
Re: Possible to make Robospin scale with aspect ratio?
« Reply #2 on: August 17, 2017, 02:43:11 PM »
I dont see an option for that within the .nut file under the wheel settings.  Also that setting seemed to have no effect on the rest of the elements so I had to manually adjust them til they fit right. 

jedione

  • Hero Member
  • *****
  • Posts: 1135
  • punktoe
    • View Profile
Re: Possible to make Robospin scale with aspect ratio?
« Reply #3 on: August 17, 2017, 06:41:21 PM »
O, h    they just covered this in scripting section not theme section ahh what a great idea.
http://forum.attractmode.org/index.php?topic=1844.0
help a friend....

tonberryhunter

  • Full Member
  • ***
  • Posts: 60
    • View Profile
Re: Possible to make Robospin scale with aspect ratio?
« Reply #4 on: August 17, 2017, 07:43:33 PM »
O, h    they just covered this in scripting section not theme section ahh what a great idea.
http://forum.attractmode.org/index.php?topic=1844.0

You're a saint !!  Thank you so much.

tonberryhunter

  • Full Member
  • ***
  • Posts: 60
    • View Profile
Re: Possible to make Robospin scale with aspect ratio?
« Reply #5 on: August 17, 2017, 07:58:58 PM »
Still don't know how to fix the aspect ratio of the pointer.  Thats easy enough to remake in photoshop.