Files
win95-result/dst/gauge.lua
boonsboos aca5cd42f1 bup
2025-09-08 22:59:59 +02:00

38 lines
986 B
Lua

local function getGauge(grooveX, grooveY)
return {
-- gauge graph
{
id = "bg_groove",
loop = 200,
dst = {
{ time = 0, x = grooveX, y = grooveY, w = 600, h = 300, a = 0, filter = 1 },
{ time = 200, a = 255 }
}
},
{
id = "text_groove_title",
loop = 200,
dst = {
{ time = 0, x = grooveX + 70, y = grooveY + 240, w = 400, h = 40, a = 0, r = 255, g = 255, b = 255, filter = 1 },
{ time = 200, a = 255 }
}
},
{
id = "gauge_line",
dst = {
{ x = grooveX + 4, y = grooveY + 4, w = 592, h = 230, a = 255 }
}
},
{
id = "gauge_bg",
dst = {
{ x = grooveX + 4, y = grooveY + 4, w = 592, h = 230, a = 192 }
}
}
}
end
return {
getGauge = getGauge
}