ExperimentalGear/scripts/multi/roomList/gettop.lua

28 lines
731 B
Lua

lobbypanelX = 0;
lobbypanelY = (1080/2.5)-56;
local l_base_panel = gfx.CreateSkinImage("multi/roomselect/lobby_select.png",1);
local gettop = function(x,y)
station = "Nautica Station"
local jw,jh = gfx.ImageSize(l_base_panel);
gfx.BeginPath();
gfx.SetImageTint(255,255,255,50)
gfx.ImageRect(x/x, y/y+376, jw, jh, l_base_panel,1,0);
gfx.BeginPath();
gfx.FontSize(40)
gfx.TextAlign(gfx.TEXT_ALIGN_CENTER, gfx.TEXT_ALIGN_CENTER)
gfx.LoadSkinFont("Digital-Serial-Bold.ttf");
gfx.FillColor(243,217,175,255)
gfx.Fill()
gfx.Text(string.upper(station),x/2, y/2-546)
gfx.FillColor(255,255,255,50)
gfx.Text(string.upper(station),x/2, y/2-546)
gfx.Fill()
end
return gettop