Attract-Mode Support Forum
Attract-Mode Support => Scripting => Topic started by: sosimple on January 25, 2020, 08:11:09 AM
-
Hi. A newbie question. I am modify a basic theme but i stuck on this:
I have a backgound picture with transparent only the screen to see the videosnaps.
The list of the games is seen only in the screen.. (Where it is transparent). If i move the list somewhere else, it doesn't show.. I suppose it is hided from the background. It is probably in a layer above background . How can i solve this? If It helps this is the code of the gamelist: Perhaps add something to lb.sel_style ?
local lb = fe.add_listbox( 1032, 64, 262, 852 ); //lista 32, 64, 262, 852
lb.charsize = 19;
lb.set_selbg_rgb( 25, 25, 25 )
lb.set_sel_rgb( 0, 0, 0 );
lb.sel_style = Style.Bold;
fe.add_image( "bg.png", 1, 1 ,0,0);
Thanks,
-
ok i found a way after posting here.
I moved fe.add_image( "bg.png", 1, 1 ,0,0); before the other code and worked.. If there another solution please inform me.
Thanks,
-
you can also use
bg.zorder = -1
ext.....
-
Thanks!