YesNoOk
avatar

menu.window.margins.y = 40, 34 (Read 674 times)

Started by AlabastaPirate, August 13, 2020, 07:59:32 pm
Share this topic:
menu.window.margins.y = 40, 34
New #1  August 13, 2020, 07:59:32 pm
  • *
    • Brazil
what the hell this code do menu.window.margins.y = 40, 34
Last Edit: August 14, 2020, 06:12:55 pm by AlabastaPirate
Re: menu.window.margins.y = 40, 34
#2  August 14, 2020, 10:08:48 am
  • ****
    • crepa.neocities.org
Coordinates for the space where the menu will appear, you know, "arcade, versus, training, options..."
Re: menu.window.margins.y = 40, 34
#3  August 14, 2020, 11:25:53 am
  • ***
that's not it. Margins values are used to declare window coordinates that will cut off main menu text. In pixels:
y1: menu.pos[2] - menu.window.margins.y[1]
y2: menu.pos[2] + (menu.window.visibleitems - 1) * menu.item.spacing[2] + menu.window.margins.y[2]