ExperimentalGear/scripts/gameplay/earlylate.lua

30 lines
550 B
Lua
Raw Normal View History

2021-09-05 16:07:17 +02:00
local desw = 1080;
local desh = 1920;
local transitionExistScale = 0;
local tickTransitions = function (deltaTime)
if transitionExistScale < 1 then
transitionExistScale = transitionExistScale + deltaTime / 2 -- transition should last for that time in seconds
end
end
local render = function (deltaTime, comboState, combo, critLineCenterX, critLineCenterY)
tickTransitions(deltaTime)
if (transitionExistScale >= 1) then
return;
end
end
local trigger = function ()
end
return {
render=render
}