improvement: better rythm for transitions
This commit is contained in:
parent
f0b696117b
commit
d611f3214c
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ local TransitionParent = require "core.modules.transitions.canvas"
|
||||||
local DefaultTransition = TransitionParent:extend()
|
local DefaultTransition = TransitionParent:extend()
|
||||||
|
|
||||||
function DefaultTransition:new(func, ox, oy, fadeOut)
|
function DefaultTransition:new(func, ox, oy, fadeOut)
|
||||||
DefaultTransition.super.new(self, func, ox, oy, fadeOut, "inQuad", "outQuad", 0.35, 0.1)
|
DefaultTransition.super.new(self, func, ox, oy, fadeOut, "inQuad", "outQuad", 0.8, 0.1)
|
||||||
end
|
end
|
||||||
|
|
||||||
function DefaultTransition:drawCanvas()
|
function DefaultTransition:drawCanvas()
|
||||||
|
|
|
@ -2,7 +2,7 @@ local TransitionParent = require "core.modules.transitions.parent"
|
||||||
local DefaultTransition = TransitionParent:extend()
|
local DefaultTransition = TransitionParent:extend()
|
||||||
|
|
||||||
function DefaultTransition:new(func, ox, oy, fadeOut)
|
function DefaultTransition:new(func, ox, oy, fadeOut)
|
||||||
DefaultTransition.super.new(self, func, ox, oy, fadeOut, "inQuad", "outQuad", 0.35, 0.15)
|
DefaultTransition.super.new(self, func, ox, oy, fadeOut, "inQuad", "outQuad", 0.35, 0.1)
|
||||||
end
|
end
|
||||||
|
|
||||||
function DefaultTransition:draw()
|
function DefaultTransition:draw()
|
||||||
|
|
Loading…
Reference in a new issue