Files
itgmania212121/Themes/_fallback/BGAnimations/_frame 3x1/default.lua
T
Jason Felds e3f16170bb .hgeol
2012-01-06 14:20:08 -05:00

13 lines
404 B
Lua

local File, Width = ...
assert( File );
assert( Width );
local FullFile = THEME:GetPathB('','_frame files 3x1/'..File )
local Frame = LoadActor( FullFile )
return Def.ActorFrame {
Frame .. { InitCommand=cmd(setstate,0;pause;horizalign,right;x,-Width/2) };
Frame .. { InitCommand=cmd(setstate,1;pause;zoomtowidth,Width) };
Frame .. { InitCommand=cmd(setstate,2;pause;horizalign,left;x,Width/2) };
};