if([DisplayName] == "Displays Menu"){ // code for the layout where I can select the different displays/systems}else{ // code for layouts that relate to a display/emulator/gamelist}
function showImage(){ fe.add_image(...);}
local Oview = fe.add_text"[Overview]", #,#,#,#)Oview.charsize = 20; //Specificy charsize
if ((fe.displays[fe.list.display_index].name) == "[Specific Display") do this
local flyer = fe.add_artwork( "flyer", 670, 130, 450, 610 ); //can be any artwork or imageflyer.trigger = Transition.EndNavigation; //doesn't load all images at once, effects browsing speed in large listsflyer.mipmap = true;// have a huge effect on performance specially when images are large and shown in AM in reduced size
You can always edit cfg files using nano or vim.
Quote from: keilmillerjr on January 30, 2019, 03:57:08 AMYou can always edit cfg files using nano or vim.True, but as far as I'm aware, there are no parameters for font-size, only for the default font to use.In Layouts it's different, but I was targeting the menu that is hardcoded within attract mode.Or what cfg are you referring to?Thanks!
array = {1,2,3,4,5};which_element = "element_" + array[0];which_element.animate(); // -> should be the same as: element_1
for(i=0;i<10;i++){ ["element"+i].doSomething;}
::OBJECTS <- { sys0 = "", sys1 = "", sys2 = "", sys3 = "", sys4 = "", sys5 = "", sys6 = "", sys7 = "", sys8 = "", sys9 = "", sys10 = "", sys11 = "", sys12 = ""}
::Displays = {};for ( local i = 0; i < fe.displays.len(); i++ ) { ::Displays["sys" + i] = fe.displays[i];}/*Access slots like this (these are all equivalent):::Displays.sys0;::Displays["sys0"];::Displays["sys" + 0.tostring()];*/
fe.add_image("myImage.extension", 0, 0, layout_with/2, layout_height/2);
Is there a opposite method for add_x? Like remove_image and remove_artwork?Also, I see that the base for positioning a video is top/left. Could it be that this is different for images?When I doCode: [Select]fe.add_image("myImage.extension", 0, 0, layout_with/2, layout_height/2);it looks like the horizontal center is off to the left...I'm still struggeling to disable the screen blank in AttractMode.