Files
itgmania212121/Themes/default/BGAnimations/ScreenProfileSave overlay/default.lua
T
ListenerJubatus 10d78a5664 Transition and evaluation tweaks.
Sped up gameplay outro and eval animations, profile save/load now
properly uses offcommands rather than opaque throbber behaviour, Song
title on evaluation was also moved slightly upward a bit,
2018-01-26 20:34:24 -06:00

27 lines
642 B
Lua

local t = Def.ActorFrame {};
t[#t+1] = Def.ActorFrame {
Def.Sprite {
Name="animation",
Texture="LoadScreen diamond 5x2.png",
InitCommand=function(self)
self:SetAllStateDelays(0.1):diffusealpha(1):diffuse(color("#95326F")):Center()
end,
OnCommand=function(self)
self:zoom(0):decelerate(0.25):zoom(0.5)
end;
OffCommand=function(self)
self:decelerate(0.25):zoom(0)
end;
};
};
t[#t+1] = Def.Actor {
BeginCommand=function(self)
if SCREENMAN:GetTopScreen():HaveProfileToSave() then self:sleep(1); end;
self:queuecommand("Load");
end;
LoadCommand=function() SCREENMAN:GetTopScreen():Continue(); end;
};
return t;