Files
itgmania212121/stepmania/Themes/default/Graphics/ScreenTitleMenu scroll.lua
T
2009-01-05 07:06:40 +00:00

14 lines
585 B
Lua

local gc = Var("GameCommand");
local s = THEME:GetString( 'ScreenTitleMenu', gc:GetText() );
local t = Def.ActorFrame {
LoadFont("_venacti bold 24px") ..{
InitCommand=cmd(uppercase,true;settext,s;horizalign,center;shadowlengthx,0;shadowlengthy,2;strokecolor,color("#00000044"););
OffCommand=cmd(sleep,(7-gc:GetIndex())/20;linear,.08;addy,280);
GainFocusCommand=cmd(stoptweening;diffuseshift;effectperiod,0.5;effectcolor1,0.5,1,0.5,1;effectcolor2,0.25,0.5,0.25,1;);
LoseFocusCommand=cmd(stoptweening;stopeffect);
DisabledCommand=cmd(diffuse,0.5,0.5,0.5,1);
};
};
return t;