Files
itgmania212121/stepmania/Themes/default/BGAnimations/ScreenCompany background/default.lua
T
Glenn Maynard 116db99a92 The "Def.Type { }" syntax is for defining actors by type,
like ActorUtil::Create.  Most of the time, use LoadActor,
which is for loading files by filename, like ActorUtil::MakeActor.

(If you're creating "a Model with these parameters", use Def.Model.
If you're just loading "this other filename, whatever it is",
use LoadActor.)
2006-10-15 05:51:23 +00:00

18 lines
494 B
Lua

local t =
Def.ActorFrame {
children = {
LoadActor("white.png")() .. {
OnCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;stretchto,SCREEN_LEFT,SCREEN_TOP,SCREEN_RIGHT,SCREEN_BOTTOM)
},
LoadActor("shadow (32bpp).png")() .. {
OnCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;diffuse,0,0,0,1;addx,20;addy,6;linear,8;addx,-40)
},
LoadActor("stepmania (dither).png")() .. {
File="stepmania (dither).png",
OnCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y),
}
}
}
return t