Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - gunthermic

Pages: [1]
1
Scripting / Settings
« on: February 18, 2019, 12:53:45 AM »
is there anyway that we can have options in Settings not available?

For example:

option 1: yes/no

option 2: if option 1 equals yes, then enable to change this option or show this option, if option 1 = no, then disable setting this option


2
General / Attract Mode Rom List
« on: February 14, 2019, 01:35:42 AM »
Attract mode Rom List gives us all kinds of info, but looking for a better understanding of each part please.

 #Name;Title;Emulator;CloneOf;Year;Manufacturer;Category;Players;Rotation;Control;Status;DisplayCount;DisplayType;AltRomname;AltTitle;Extra

Thats what i am gathering. I understand of course
Name, Title, emulator, Cloneof, Manufacturer, Category(Genre), Players (number of), Rotation (vertical/Horizontal) however the rest I need a better understanding.

Control: Is the 4 way joystick kind of thing? or Number of Buttons?
Status: what is this?
Display count: What is this a count of? Where does it come from?
Display Type: No idea
AltRomName/AltTitle: I understand what it says, but where is this coming from?
Extra: Where is this?

Is there a great place to create a complete xml file to have all this???

3
Scripting / If this else that
« on: January 24, 2019, 12:18:51 AM »
I am new to this, but can't seem to get this right. If [Players] is empty/blank don't display this png but a different one.

Code: [Select]
if ("[Players]" != ""){
local players_back = fe.add_image("images/players.png", pb_x, pb_y, pb_w, pb_h);
players_back.alpha = 235;
//local p = fe.add_text( "[Players]", flx*0.882, fly* 0.780, flw*0.105, flh*0.030);
local p = fe.add_text( "[Players]", pb_text_x, pb_text_y, pb_text_w, pb_text_h);
p.charsize = 28;
p.set_rgb( 0, 0, 0 );
p.font="Roboto";
p.align = Align.Centre;
p.style = Style.Bold;
}
else{
local players_back = fe.add_image("images/none.png", pb_x, pb_y, pb_w, pb_h);
}

Pages: [1]