MAMEWorld >> MAME Artwork: Official
View all threads Index   Threaded Mode Threaded  

Pages: 1

martyrdom
MAME Fan
Reged: 04/16/12
Posts: 1
Send PM


Spyhunter 16:10 artwork + shifter?
#283040 - 04/17/12 10:02 PM Attachment: spyhunt.lay 8 KB (6 downloads)


Hello :)
I'm trying to add a shifter picture to this beautiful artwork.
I have a little success - the picture shows up. Unfortunately it's not working - it's not showing what shift is it actually pressed. How can I fix it?

[code]<!-- spyhunt.lay -->

<mamelayout version="2">

<element name="bezel" >
<image file="spyhunt_bezel.png" />
</element>
<element name="oil" defstate="0" >
<image file="spy_oil.png" state="1" />
</element>
<element name="missile" defstate="0" >
<image file="spy_missiles.png" state="1" />
</element>
<element name="weapons" defstate="0" >
<image file="spy_van.png" state="1" />
</element>
<element name="smoke" defstate="0" >
<image file="spy_smoke.png" state="1" />
</element>
<element name="guns" defstate="0" >
<image file="spy_guns.png" state="1" />
</element>
<element name="wbezel" >
<image file="spyhu169.png" />
</element>
<element name="wwbezel" >
<image file="spyhunt1610.png" />
</element>
<element name="wwcbezel" >
<image file="spyhunt1610cont.png" />
</element>
<element name="woil" defstate="0" >
<image file="woil.png" state="1" />
</element>
<element name="wmissile" defstate="0" >
<image file="wmiss.png" state="1" />
</element>
<element name="wweapons" defstate="0" >
<image file="wvan.png" state="1" />
</element>
<element name="wsmoke" defstate="0" >
<image file="wsmoke.png" state="1" />
</element>
<element name="wguns" defstate="0" >
<image file="wguns.png" state="1" />
</element>
<element name="shifter" defstate="0">
<rect>
<bounds left="0" right="32" top="0" bottom="64" />
<color red="0.85" green="0.4" blue="0.3" />
</rect>
<rect>
<bounds left="2" right="30" top="2" bottom="62" />
<color red="0.14" green="0.17" blue="0.2" />
</rect>
<rect>
<bounds left="14" right="18" top="15" bottom="49" />
<color red="0.44" green="0.47" blue="0.5" />
</rect>
<disk>
<bounds left="14" right="18" top="13" bottom="17" />
<color red="0.44" green="0.47" blue="0.5" />
</disk>
<disk>
<bounds left="14" right="18" top="47" bottom="51" />
<color red="0.44" green="0.47" blue="0.5" />
</disk>
<text string="LOW" state="1">
<bounds left="3" right="29" top="2" bottom="12" />
<color red="1.0" green="1.0" blue="0.4" />
</text>
<text string="LOW" state="0">
<bounds left="3" right="29" top="2" bottom="12" />
<color red="1.0" green="1.0" blue="1.0" />
</text>

<text string="HIGH" state="1">
<bounds left="3" right="29" top="52" bottom="62" />
<color red="1.0" green="1.0" blue="1.0" />
</text>
<text string="HIGH" state="0">
<bounds left="3" right="29" top="52" bottom="62" />
<color red="1.0" green="1.0" blue="0.4" />
</text>
<disk state="1">
<bounds left="9" right="23" top="14" bottom="28" />
<color red="0.85" green="0.4" blue="0.3" />
</disk>
<disk state="0">
<bounds left="9" right="23" top="36" bottom="50" />
<color red="0.85" green="0.4" blue="0.3" />
</disk>
</element>
<view name="Widescreen 16:10 Artwork">
<bounds left="0" top="0" right="2560" bottom="1600" />
<screen index="0">
<bounds left="704.36" top="32.47" right="1855.64" bottom="1567.51" />
</screen>
<bezel element="wwbezel">
<bounds left="0" top="0" right="2560" bottom="1600" />
</bezel>
<bezel name="lamp0" element="woil">
<bounds x="415" y="1392" width="224" height="144" />
</bezel>
<bezel name="lamp1" element="wmissile">
<bounds x="96" y="1392" width="224" height="111" />
</bezel>
<bezel name="lamp2" element="wweapons">
<bounds x="2190" y="1044" width="209" height="137" />
</bezel>
<bezel name="lamp3" element="wsmoke">
<bounds x="1922" y="1392" width="247" height="127" />
</bezel>
<bezel name="lamp4" element="wguns">
<bounds x="2233" y="1392" width="237" height="129" />
</bezel>
<bezel element="shifter" inputtag="P1_BUTTON5" inputmask="0x02">

<bounds x="303" y="750" width="128" height="256" />
<color alpha="0.6" />
</bezel>
</view>
</mamelayout>

<!--

- Artwork type: Bezel, Lamps
- Scanned bezel provided by Mr. Do
- On loan from Gene at www.vintagearcade.net
- Vectorized by zorg
- Color adjusted by Ad_Enuff
- Lamps by Mr. Do
- Lay file by Mr. Do
- Widescreen graphics layout by hausjam

-->[/code]

Edited by martyrdom (04/20/12 06:19 PM)



Ad_Enuff
MAME Artwork Project
Reged: 09/22/03
Posts: 2378
Loc: London, UK
Send PM


Re: Spyhunter 16:10 artwork + shifter? new [Re: martyrdom]
#284887 - 05/04/12 02:57 PM


If you want to contribute to the Artwork project and it's deemed good enough, then Mr Do! may add it to the official ZIP file and add the code to the lay to make it work.

PM him and see

Ad



Ad_Enuff
MAME Hi-Res CD & DVD Covers / MAME Artwork Project

My current MAME system PC Specs: AMD Quad CORE 3.60GHz, 8Gb DDR3 RAM, ATI RADEON HD 6570 1Gb RAM, DirectX 11 & 9.0c, Windows 7 Ultimate 64Bit


Pages: 1

MAMEWorld >> MAME Artwork: Official
View all threads Index   Threaded Mode Threaded  

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