MAMEWorld >> MAME Artwork X: Other Artwork Projects
View all threads Index   Flat Mode Flat  

Nightvoice
MAME Fan
Reged: 03/19/10
Posts: 883
Loc: The Room Next To You
Send PM
Re: Buck Rodgers Planet of Zoom
05/03/23 01:33 AM


I can see where you're going with this, and it's an interesting idea I could apply to After Burner as well. Maybe it's late and I'm tired, but the first thing I'm noticing is this section:

local in0 = file.device:ioport("IN0")
local in1 = file.device:ioport("IN1")

Which covers the lit and unlit sticks, but it seems to be missing the line for the LED. If you're using separate images for the LED itself, you'd need a "local in2" line assigned to it and referenced thereafter in the LUA calls.

So the question then becomes, is there an ioport name assigned to the LED?

This would be instantly solvable if anyone knew a syntax/format to say "IF [led state] = 1 THEN [display stick_led image] ELSE [hide stick_led image]" or some equivalent in the LUA section.


----------------------
I have officially retired from sucking at everything I do. Life is much easier now.

My MAME/MESS artwork files: https://drive.google.com/open?id=1ABxeKgNIrKlIsyck7dx4V241NFQDWAF4
Related screen shots: https://drive.google.com/open?id=1U5IbvbVzYW97PuOOQuocvZFE_YJz7WIn

Edited by Nightvoice (05/03/23 01:48 AM)







Entire thread
Subject Posted by Posted on
* Buck Rodgers Planet of Zoom wemr97dl 05/01/23 11:09 AM
. * Re: Buck Rodgers Planet of Zoom Bad A Billy  05/02/23 05:04 AM
. * Re: Buck Rodgers Planet of Zoom wemr97dl  06/10/23 09:24 AM
. * Re: Buck Rodgers Planet of Zoom Bad A Billy  06/10/23 04:23 PM
. * Re: Buck Rodgers Planet of Zoom wemr97dl  05/02/23 05:27 AM
. * Re: Buck Rodgers Planet of Zoom wemr97dl  05/02/23 11:48 AM
. * Re: Buck Rodgers Planet of Zoom Nightvoice  05/03/23 01:33 AM
. * Re: Buck Rodgers Planet of Zoom wemr97dl  05/04/23 03:14 AM
. * Re: Buck Rodgers Planet of Zoom wemr97dl  05/04/23 03:18 AM
. * Re: Buck Rodgers Planet of Zoom Nightvoice  05/01/23 09:14 PM
. * Re: Buck Rodgers Planet of Zoom wemr97dl  05/02/23 12:02 AM

Extra information Permissions
Moderator:  Mr. Do 
0 registered and 31 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 305