Add text using Lua rather than baked in.

This commit is contained in:
Steve Checkoway
2007-04-07 22:33:53 +00:00
parent 83ea1a6807
commit e2542ad5fa
@@ -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 )