Attract-Mode Support Forum
Attract-Mode Support => Scripting => Topic started by: kent79 on November 12, 2016, 08:21:35 AM
-
I know it needs function fe.get_art(), but I don't how to do. Anyone can write a sample code for display previous flyer image? Many Thanks.
-
local Fly = fe.add_image( "Flyer", 100, 100, 200, 100 );
Fly.index_offset = 1;
ie:
Fly.index_offset = -2;
Fly.index_offset = -1;
Fly.index_offset = 0;
Fly.index_offset = 1;
Fly.index_offset = 2;
Fly.index_offset = 3;
-
It works. Many Thanks
-
I tried this and it worked on my laptop but when I loaded my theme onto the raspberry pi non of the previous images load