This commit is contained in:
boonsboos
2025-09-08 22:59:59 +02:00
commit aca5cd42f1
36 changed files with 1137 additions and 0 deletions

37
dst/gauge.lua Normal file
View File

@@ -0,0 +1,37 @@
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
}