Disabled result transitions for auto screenshots #42
|
@ -6,6 +6,8 @@ local Numbers = require('components.numbers')
|
|||
local DiffRectangle = require('components.diff_rectangle');
|
||||
local lang = require("language.call")
|
||||
|
||||
require('common.gameconfig')
|
||||
|
||||
local creww = game.GetSkinSetting("single_idol")
|
||||
|
||||
local VolforceWindow = require('components.volforceWindow')
|
||||
|
@ -268,7 +270,7 @@ local drawIdol = function(deltaTime)
|
|||
gfx.GlobalAlpha(idolAnimTransitionScale);
|
||||
|
||||
idolAnimTransitionScale = idolAnimTransitionScale + 1 / 60;
|
||||
if (idolAnimTransitionScale > 1) then
|
||||
if (GameConfig["AutoScoreScreenshot"] or idolAnimTransitionScale > 1) then
|
||||
idolAnimTransitionScale = 1;
|
||||
end
|
||||
|
||||
|
@ -632,7 +634,7 @@ end
|
|||
|
||||
local tickTransitions = function(deltaTime)
|
||||
|
||||
if transitionEnterScale < 1 then
|
||||
if not GameConfig["AutoScoreScreenshot"] and transitionEnterScale < 1 then
|
||||
transitionEnterScale = transitionEnterScale + deltaTime / 0.66 -- transition should last for that time in seconds
|
||||
else
|
||||
transitionEnterScale = 1
|
||||
|
@ -649,7 +651,7 @@ local tickTransitions = function(deltaTime)
|
|||
(1 - Easing.outQuad(transitionEnterScale)))
|
||||
|
||||
|
||||
if badgeLinesAnimScale < 1 then
|
||||
if not GameConfig["AutoScoreScreenshot"] and badgeLinesAnimScale < 1 then
|
||||
badgeLinesAnimScale = badgeLinesAnimScale + deltaTime / 0.5 -- transition should last for that time in seconds
|
||||
else
|
||||
badgeLinesAnimScale = 0
|
||||
|
|
Loading…
Reference in New Issue