mirror of
https://github.com/ApfelTeeSaft/PlanetFleet.git
synced 2026-08-26 19:33:38 +00:00
25 lines
632 B
Lua
25 lines
632 B
Lua
res = graphics.resolution
|
|
Pos = {x = 10, y = 10, z = .1}
|
|
Size = {x = res.x * .8, y = res.y * .8 + 40}
|
|
buttonSize = {x = 100, y = 20}
|
|
textboxSize = {x = 200, y = 25}
|
|
margin = {top = 10, left = 10, right = 10, bottom = 10}
|
|
|
|
gui = {
|
|
{
|
|
guiType = GuiType.GUI_RECTANGLE,
|
|
pos = Pos,
|
|
size = Size,
|
|
color = {x = 0, y = 0, z = 0, w = .6}
|
|
},
|
|
{
|
|
guiType = GuiType.BUTTON,
|
|
buttonType = ButtonType.ACTIVE_GAME_STATE,
|
|
name = 'Back',
|
|
guiScreen = 'activeGameState.lua',
|
|
pos = {x = Pos.x + Size.x - buttonSize.x - margin.right, y = Pos.y + Size.y - buttonSize.y - margin.bottom, z = .11},
|
|
size = buttonSize,
|
|
trigger = 10
|
|
},
|
|
}
|