Files
PlanetFleet/Assets/Scripts/Gui/victory.lua
T
2025-06-22 10:30:40 +03:00

46 lines
831 B
Lua

Size = {x = 150, y = 40}
music = {
loop = true,
shuffle = false,
delay = 2000,
tracks = {'victory.ogg'}
}
gui = {
{
guiType = GuiType.TEXT,
text = 'VICTORY!!!',
name = 'V',
pos = {x = 100, y = 100, z = 0},
zIndex = 0,
scale = 1,
font = 'batang.ttf',
fontFirstChar = 0,
fontLastChar = 256,
color = {x = 1, y = 1, z = 1, w = 1}
},
{
guiType = GuiType.GUI_RECTANGLE,
pos = {x = 100, y = 200, z = 0},
zIndex = 1,
size = {x = 600, y = 600},
color = {x = 0, y = 0, z = 0, w = 0.1}
},
{
pos = {x = 100, y = 350, z = 0},
size = Size,
guiType = GuiType.BUTTON,
name = 'Resume',
buttonType = ButtonType.RESUME
},
{
pos = {x = 110, y = 400, z = 0},
size = Size,
guiType = GuiType.BUTTON,
name = 'Leave',
buttonType = ButtonType.STATISTICS,
trigger = -1,
--imagePath = ''
}
}