From be6b6b3cfda15462f0caf9b6215e3207d4c2a6f8 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 26 Feb 2007 02:29:43 +0000 Subject: [PATCH] lua --- .../Themes/default/BGAnimations/_fade out normal.lua | 5 +++++ .../Themes/default/BGAnimations/_fade out with sound.lua | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 stepmania/Themes/default/BGAnimations/_fade out normal.lua create mode 100644 stepmania/Themes/default/BGAnimations/_fade out with sound.lua diff --git a/stepmania/Themes/default/BGAnimations/_fade out normal.lua b/stepmania/Themes/default/BGAnimations/_fade out normal.lua new file mode 100644 index 0000000000..97cf2139a7 --- /dev/null +++ b/stepmania/Themes/default/BGAnimations/_fade out normal.lua @@ -0,0 +1,5 @@ +local t = Def.Quad { + InitCommand=cmd(diffuse,color("#000000");stretchto,SCREEN_LEFT,SCREEN_TOP,SCREEN_RIGHT,SCREEN_BOTTOM); + StartTransitioningCommand=cmd(diffusealpha,0;linear,0.3;diffusealpha,1); +}; +return t; diff --git a/stepmania/Themes/default/BGAnimations/_fade out with sound.lua b/stepmania/Themes/default/BGAnimations/_fade out with sound.lua new file mode 100644 index 0000000000..65f494e603 --- /dev/null +++ b/stepmania/Themes/default/BGAnimations/_fade out with sound.lua @@ -0,0 +1,9 @@ +local t = Def.ActorFrame { + children = { + LoadActor( THEME:GetPathS("", "_swoosh normal") ) .. { + StartTransitioningCommand=cmd(play); + }; + LoadActor( THEME:GetPathB("", "_fade out normal") ); + }; +}; +return t;