From d611f3214c48f0e41be5a1a0605c75cbad6023ca Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Fri, 2 Apr 2021 22:24:14 +0200 Subject: [PATCH] improvement: better rythm for transitions --- sonic-radiance.love/core/modules/transitions/circle.lua | 2 +- sonic-radiance.love/core/modules/transitions/default.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sonic-radiance.love/core/modules/transitions/circle.lua b/sonic-radiance.love/core/modules/transitions/circle.lua index 063f764..c84fe45 100644 --- a/sonic-radiance.love/core/modules/transitions/circle.lua +++ b/sonic-radiance.love/core/modules/transitions/circle.lua @@ -2,7 +2,7 @@ local TransitionParent = require "core.modules.transitions.canvas" local DefaultTransition = TransitionParent:extend() 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 function DefaultTransition:drawCanvas() diff --git a/sonic-radiance.love/core/modules/transitions/default.lua b/sonic-radiance.love/core/modules/transitions/default.lua index cf056b0..caba3a3 100644 --- a/sonic-radiance.love/core/modules/transitions/default.lua +++ b/sonic-radiance.love/core/modules/transitions/default.lua @@ -2,7 +2,7 @@ local TransitionParent = require "core.modules.transitions.parent" local DefaultTransition = TransitionParent:extend() 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 function DefaultTransition:draw()