From e2542ad5fafe2023d31914a07b6b82643f8cba98 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sat, 7 Apr 2007 22:33:53 +0000 Subject: [PATCH] Add text using Lua rather than baked in. --- .../ScreenMusicScroll background/default.lua | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/stepmania/Themes/default/BGAnimations/ScreenMusicScroll background/default.lua b/stepmania/Themes/default/BGAnimations/ScreenMusicScroll background/default.lua index 54c756b58a..ecbde54e5e 100644 --- a/stepmania/Themes/default/BGAnimations/ScreenMusicScroll background/default.lua +++ b/stepmania/Themes/default/BGAnimations/ScreenMusicScroll background/default.lua @@ -1,3 +1,10 @@ -return LoadActor( "_music scroll background" ) .. { - InitCommand = cmd(scale_or_crop_background), +local children = { + LoadActor( "_music scroll background" ) .. { + InitCommand = cmd(scale_or_crop_background); + }; + LoadFont( "ScreenMusicScroll", "thanks" ) .. { + Text = "Thank you for playing!"; + InitCommand = cmd(align,0,1;x,SCREEN_LEFT+20;y,SCREEN_BOTTOM-40;zoom,.8) + }; } +return WrapInActorFrame( children )