Attract-Mode Support Forum
Attract-Mode Support => Scripting => Topic started by: FrizzleFried on June 23, 2019, 06:01:16 PM
-
How do I show an image for only x seconds then have it turn off?
-
Simply:
fe.load_module("animate");
local logo = fe.fe.add_image("logo.png", flx, fly, flw, flh);
local fade = {property = "alpha", start = 255, end = 0, time = 2500, delay = 3500, pulse = true}
animation.add(PropertyAnimation(logo, fade));
-
Thank you.
-
Thanks. I'm glad i was useful. :-[