From 3329d87c5116b4c67c99a8cab46eb65e4f389a47 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sat, 19 May 2007 21:58:22 +0000 Subject: [PATCH] xml -> lua. --- .../ScreenSelectMusic underlay/default.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 stepmania/Themes/default/BGAnimations/ScreenSelectMusic underlay/default.lua diff --git a/stepmania/Themes/default/BGAnimations/ScreenSelectMusic underlay/default.lua b/stepmania/Themes/default/BGAnimations/ScreenSelectMusic underlay/default.lua new file mode 100644 index 0000000000..c390179c85 --- /dev/null +++ b/stepmania/Themes/default/BGAnimations/ScreenSelectMusic underlay/default.lua @@ -0,0 +1,15 @@ +local OnCommand = cmd(diffusealpha,0;linear,0.5;diffusealpha,1) +local OffCommand = cmd(linear,0.5;diffusealpha,0) +local t = Def.ActorFrame { + LoadActor( '_difficulty frame p1' ) .. { + InitCommand = cmd(player,PLAYER_1;x,SCREEN_CENTER_X-275;y,SCREEN_CENTER_Y-15); + OnCommand = OnCommand; + OffCommand = OffCommand; + }; + LoadActor( '_difficulty frame p2' ) .. { + InitCommand = cmd(player,PLAYER_2;x,SCREEN_CENTER_X-82;y,SCREEN_CENTER_Y-15); + OnCommand = OnCommand; + OffCommand = OffCommand; + }; +} +return t