* invert and slow down the bg spin anim
This commit is contained in:
parent
8c5a022df0
commit
d9d3d5e1e4
|
@ -43,7 +43,7 @@ end
|
||||||
local drawValkyries = function ()
|
local drawValkyries = function ()
|
||||||
gfx.BeginPath()
|
gfx.BeginPath()
|
||||||
|
|
||||||
local piProgression = 1-transitionRotateScale*2*math.pi
|
local piProgression = transitionRotateScale*2*math.pi
|
||||||
drawValkyrie(piProgression)
|
drawValkyrie(piProgression)
|
||||||
drawValkyrie(piProgression+math.pi*0.5)
|
drawValkyrie(piProgression+math.pi*0.5)
|
||||||
drawValkyrie(piProgression+math.pi*1.0)
|
drawValkyrie(piProgression+math.pi*1.0)
|
||||||
|
@ -61,7 +61,7 @@ local drawBackground = function ()
|
||||||
end
|
end
|
||||||
|
|
||||||
local progressTransitions = function (deltaTime)
|
local progressTransitions = function (deltaTime)
|
||||||
transitionRotateScale = transitionRotateScale + deltaTime / 10;
|
transitionRotateScale = transitionRotateScale + deltaTime / 20;
|
||||||
if (transitionRotateScale > 1) then
|
if (transitionRotateScale > 1) then
|
||||||
transitionRotateScale = 0;
|
transitionRotateScale = 0;
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue