Attract-Mode Support Forum

Attract-Mode Support => Themes => Topic started by: raygun on December 30, 2014, 10:42:07 PM

Title: Machines layout
Post by: raygun on December 30, 2014, 10:42:07 PM
(https://raw.githubusercontent.com/mickelson/attract-extra/master/layouts/machines/thumb.png)

This layout is adapted from the "Machines" 3D Arcade skin by PucPuc. Complete with blinking lights.

Available here: https://github.com/mickelson/attract-extra/tree/master/layouts/machines
Title: Re: Machines layout
Post by: Cisek on February 22, 2015, 03:11:51 PM
I found this layout to be the best for my mame cab. Is there any way I can add info about total games quantity and category name, like in other layouts?
Title: Re: Machines layout
Post by: raygun on February 27, 2015, 10:36:20 PM
Open the layout.nut file, find the line with the
Code: [Select]
fe.add_text( "[Category]" ... )
change the part that says "[Category]" to "[ListEntry]/[ListSize] [Category]"
Title: Re: Machines layout
Post by: Cisek on March 01, 2015, 10:55:58 AM
It works thanks, however I want to use those categories seperate, and put it on the upper side in layout, like left and right under the cabinet animations.
The only thing I lack is to understand how I can check desired place parameters. For example typing: img = fe.add_image( name, x, y, w, h ), how can I check what are my desired x/ y, w, h parameters?
Title: Re: Machines layout
Post by: raygun on March 02, 2015, 10:52:37 PM
x,y of 0,0 is the top left corner,

1024,768 on a layout with a width and height of 1024x768 is the bottom right corner