Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --local bg = tostring(math.random(1,7);
- --setenv("Background",bg);
- local t = Def.ActorFrame {
- LoadActor(tostring(math.random(1,7)))..{
- --need to fix this
- --LoadActor(bg)..{
- InitCommand=cmd(Center;scaletoclipped,SCREEN_WIDTH,SCREEN_HEIGHT);
- };
- LoadActor("bgtop") .. {
- InitCommand=cmd(Center;addy,-90;zoom,0.6);
- };
- LoadActor("bgbottom") .. {
- InitCommand=cmd(Center;addy,60;zoom,0.6);
- OnCommand=cmd(zoomy,0;sleep,0.2;linear,0.1;zoomy,0.6);
- OffCommand=cmd(zoomy,0.6;linear,0.1;zoomy,0);
- };
- LoadFont("_dejavu sans Bold") .. {
- Text=("MAIN MENU");
- InitCommand=cmd(shadowlength,1.5;shadowcolor,color("0.5,0.5,0.5,1");settexturefiltering,false);
- OnCommand=cmd(zoom,0.6;rotationz,-90;x,SCREEN_CENTER_X-170;y,SCREEN_CENTER_Y);
- };
- };
- return t;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement