1
0
mirror of synced 2024-11-24 23:50:21 +01:00
OpenTaiko/Test/System/SimpleStyle/Graphics/1_Title/Script.lua
Takkkom 82ff6f07a6
いろんなステージでluaを使用できるように (#375)
* いろんなステージでluaを使用できるように

* ScriptのTemplateを更新

* タイトルにも実装
2023-02-12 21:08:53 +09:00

29 lines
679 B
Lua

--func:DrawText(x, y, text)
--func:DrawNum(x, y, num)
--func:AddGraph("filename")
--func:DrawGraph(x, y, filename)
--func:DrawRectGraph(x, y, rect_x, rect_y, rect_width, rect_height, filename)
--func:DrawGraphCenter(x, y, filename)
--func:DrawGraphRectCenter(x, y, rect_x, rect_y, rect_width, rect_height, filename)
--func:SetOpacity(opacity, "filename")
--func:SetRotation(angle, "fileName")
--func:SetScale(xscale, yscale, "filename")
--func:SetColor(r, g, b, "filename")
function clearIn(player)
end
function clearOut(player)
end
function init()
func:AddGraph("Background.png")
end
function update()
end
function draw()
func:DrawGraph(0, 0, "Background.png")
end