Previous 199869 Revisions Next

r18339 Sunday 7th October, 2012 at 20:00:58 UTC by hap
added spacezap color overlay, i blame the core layout renderer for the imperfections(gaps)
[src/mame/layout]spacezap.lay

trunk/src/mame/layout/spacezap.lay
r18338r18339
11<?xml version="1.0"?>
22<mamelayout version="2">
3   <element name="overlay">
3
4<!-- define elements -->
5
6   <element name="blue_blob">
7      <disk>
8         <color red="0.0" green="0.85" blue="0.20" />
9         <bounds left="0" top="0" right="1000" bottom="1000" />
10      </disk>
11      <disk>
12         <color red="0.0" green="0.85" blue="0.30" />
13         <bounds left="15" top="15" right="985" bottom="985" />
14      </disk>
15      <disk>
16         <color red="0.0" green="0.85" blue="0.40" />
17         <bounds left="30" top="30" right="970" bottom="970" />
18      </disk>
19      <disk>
20         <color red="0.0" green="0.85" blue="0.50" />
21         <bounds left="45" top="45" right="955" bottom="955" />
22      </disk>
23      <disk>
24         <color red="0.0" green="0.85" blue="0.60" />
25         <bounds left="60" top="60" right="940" bottom="940" />
26      </disk>
27      <disk>
28         <color red="0.0" green="0.85" blue="0.70" />
29         <bounds left="75" top="75" right="925" bottom="925" />
30      </disk>
31      <disk>
32         <color red="0.0" green="0.85" blue="0.80" />
33         <bounds left="90" top="90" right="910" bottom="910" />
34      </disk>
35      <disk>
36         <color red="0.0" green="0.85" blue="0.90" />
37         <bounds left="105" top="105" right="895" bottom="895" />
38      </disk>
39      <disk>
40         <color red="0.0" green="0.85" blue="1.0" />
41         <bounds left="120" top="120" right="880" bottom="880" />
42      </disk>
43   </element>
44
45<!-- note: yellow blob should be a more diamond shape, -->
46<!-- see MT 1064, but MAME internal layout can't do that -->
47   <element name="yellow_blob">
48      <disk>
49         <color red="0.0" green="0.85" blue="0.2" />
50         <bounds left="0" top="0" right="1000" bottom="1000" />
51      </disk>
52      <disk>
53         <color red="0.15" green="0.85" blue="0.2" />
54         <bounds left="10" top="10" right="990" bottom="990" />
55      </disk>
56      <disk>
57         <color red="0.30" green="0.85" blue="0.2" />
58         <bounds left="20" top="20" right="980" bottom="980" />
59      </disk>
60      <disk>
61         <color red="0.45" green="0.85" blue="0.2" />
62         <bounds left="30" top="30" right="970" bottom="970" />
63      </disk>
64      <disk>
65         <color red="0.60" green="0.85" blue="0.2" />
66         <bounds left="40" top="40" right="960" bottom="960" />
67      </disk>
68      <disk>
69         <color red="0.75" green="0.85" blue="0.2" />
70         <bounds left="50" top="50" right="950" bottom="950" />
71      </disk>
72      <disk>
73         <color red="0.90" green="0.85" blue="0.2" />
74         <bounds left="60" top="60" right="940" bottom="940" />
75      </disk>
76      <disk>
77         <color red="1.0" green="0.85" blue="0.2" />
78         <bounds left="70" top="70" right="930" bottom="930" />
79      </disk>
80   </element>
81
82   <element name="negative_blob">
483      <rect>
5         <bounds left="0" top="0" right="400" bottom="300" />
6         <color red="1" green="1" blue="1" />
84         <color red="0.0" green="0.85" blue="0.2" />
85         <bounds x="0" y="0" width="400" height="300" />
786      </rect>
87
88      <disk>
89         <color red="1.0" green="1.0" blue="1.0" />
90         <bounds x="100" y="50" width="200" height="200" />
91      </disk>
92
93      <disk>
94         <color red="1.0" green="1.0" blue="1.0" />
95         <bounds x="-100" y="-150" width="250" height="250" />
96      </disk>
97      <disk>
98         <color red="1.0" green="1.0" blue="1.0" />
99         <bounds x="-100" y="200" width="250" height="250" />
100      </disk>
101      <disk>
102         <color red="1.0" green="1.0" blue="1.0" />
103         <bounds x="250" y="-150" width="250" height="250" />
104      </disk>
105      <disk>
106         <color red="1.0" green="1.0" blue="1.0" />
107         <bounds x="250" y="200" width="250" height="250" />
108      </disk>
8109   </element>
9110
111
112<!-- overlay -->
113
10114   <view name="Color Overlay">
115      <bounds left="0" top="0" right="400" bottom="300" />
11116      <screen index="0">
12         <bounds left="0" top="0" right="4" bottom="3" />
117         <bounds left="0" top="0" right="400" bottom="300" />
13118      </screen>
14      <overlay name="overlay" element="overlay">
15         <bounds left="0" top="0" right="4" bottom="3" />
119
120      <overlay element="blue_blob">
121         <bounds x="-100" y="-150" width="250" height="250" />
16122      </overlay>
123      <overlay element="blue_blob">
124         <bounds x="-100" y="200" width="250" height="250" />
125      </overlay>
126      <overlay element="blue_blob">
127         <bounds x="250" y="-150" width="250" height="250" />
128      </overlay>
129      <overlay element="blue_blob">
130         <bounds x="250" y="200" width="250" height="250" />
131      </overlay>
132
133      <overlay element="yellow_blob">
134         <bounds x="100" y="50" width="200" height="200" />
135      </overlay>
136
137      <overlay element="negative_blob">
138         <bounds x="-100" y="-150" width="600" height="600" />
139      </overlay>
140
17141   </view>
18142</mamelayout>

Previous 199869 Revisions Next


© 1997-2024 The MAME Team