Files
itgmania212121/stepmania/Themes/default/BGAnimations/ScreenCaution overlay.lua
T

15 lines
652 B
Lua
Raw Normal View History

2007-05-20 18:05:35 +00:00
local t = Def.ActorFrame {
2009-01-05 05:54:37 +00:00
Def.Quad {
InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_TOP;vertalign,bottom;diffuse,color("#000000");zoomto,SCREEN_WIDTH,SCREEN_HEIGHT;);
BeginCommand=cmd(zwrite,1;z,1;blend,"BlendMode_NoEffect");
OffCommand=cmd(accelerate,.4;y,SCREEN_BOTTOM);
};
2008-07-05 02:14:50 +00:00
LoadFont("_venacti bold 24px") .. {
2008-07-05 23:03:41 +00:00
InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+40;horizalign,center;shadowlength,0;wrapwidthpixels,500;strokecolor,color("#a200ff");settext,THEME:GetString( "ScreenCaution", "CautionText" ););
2009-01-05 05:54:37 +00:00
BeginCommand=cmd(ztest,1);
--OffCommand=cmd(croptop,0;linear,0.3;croptop,1); not working, so i used a mask lol
2007-05-13 00:14:53 +00:00
};
};
2007-05-20 18:05:35 +00:00
return t;