bup
This commit is contained in:
37
dst/gauge.lua
Normal file
37
dst/gauge.lua
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user