i think this might be what u want,,, just basic animation,,,
note: notice the alpha has no delay, it fucks it up, so settle for a long fade, tryed this before..
just both marquee and flyer running, set to next and previous game, asumming you could set it som how to custum2
not shure what you are doing..
fe.layout.width = 1250;
fe.layout.height = 1025;
# load module
fe.load_module("animate");
#marquee--------------------------------------------------
local pic = fe.add_artwork( "marquee", 300, 200, 200, 200 );
local pic_cfg = { when=Transition.ToNewSelection,
property = "x",
start = 300,
end = 600,
time = 1000
}
local pic_cfg1 = { when=Transition.ToNewSelection,
property = "x",
start = 600,
end = 300,
time = 1000,
delay = 1000
}
local pic_cfg2 = { when=Transition.ToNewSelection,
property = "alpha",
start = 255,
end = 0,
time = 4000,
}
animation.add( PropertyAnimation( pic, pic_cfg ) );
animation.add( PropertyAnimation( pic, pic_cfg1 ) );
animation.add( PropertyAnimation( pic, pic_cfg2 ) );
#flyer---------------------------------------------------
local pic = fe.add_artwork( "flyer", 300, 500, 200, 200 );
local pic_cfg = { when=Transition.ToNewSelection,
property = "x",
start = 300,
end = 600,
time = 1000
}
local pic_cfg1 = { when=Transition.ToNewSelection,
property = "x",
start = 600,
end = 300,
time = 1000,
delay = 1000
}
local pic_cfg2 = { when=Transition.ToNewSelection,
property = "alpha",
start = 255,
end = 0,
time = 4000,
}
animation.add( PropertyAnimation( pic, pic_cfg ) );
animation.add( PropertyAnimation( pic, pic_cfg1 ) );
animation.add( PropertyAnimation( pic, pic_cfg2 ) );