Files

45 lines
952 B
Lua

Size = {x = 150, y = 50}
gui = {
{
guiType = GuiType.GUI_RECTANGLE,
pos = {x = 0, y = 0, z = -.01},
size = graphics.resolution,
color = {x = 0, y = 0, z = 0, w = .6}
},
{
pos = {x = 100, y = 100, z = .3},
size = Size,
guiType = GuiType.BUTTON,
buttonType = ButtonType.RESUME,
name = 'Resume'
},
{
pos = {x = 100, y = 100 + 1 * (Size.y + 10), z = 0},
size = Size,
guiType = GuiType.BUTTON,
buttonType = ButtonType.CONSOLE,
name = 'Console'
},
{
pos = {x = 100, y = 100 + 2 * (Size.y + 10), z = 0},
size = Size,
guiType = GuiType.BUTTON,
buttonType = ButtonType.OPTIONS,
name = 'Options'
},
{
pos = {x = 100, y = 100 + 3 * (Size.y + 10), z = 0},
size = Size,
guiType = GuiType.BUTTON,
buttonType = ButtonType.MAIN_MENU,
name = 'Main menu'
},
{
pos = {x = 100, y = 100 + 4 * (Size.y + 10), z = 0},
size = Size,
guiType = GuiType.BUTTON,
buttonType = ButtonType.EXIT,
name = 'Exit'
}
}