Author Topic: Machines layout  (Read 10129 times)

raygun

  • Administrator
  • Sr. Member
  • *****
  • Posts: 393
    • View Profile
Machines layout
« on: December 30, 2014, 10:42:07 PM »


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

Cisek

  • Jr. Member
  • **
  • Posts: 17
    • View Profile
Re: Machines layout
« Reply #1 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?

raygun

  • Administrator
  • Sr. Member
  • *****
  • Posts: 393
    • View Profile
Re: Machines layout
« Reply #2 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]"

Cisek

  • Jr. Member
  • **
  • Posts: 17
    • View Profile
Re: Machines layout
« Reply #3 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?

raygun

  • Administrator
  • Sr. Member
  • *****
  • Posts: 393
    • View Profile
Re: Machines layout
« Reply #4 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