Previous 199869 Revisions Next

r18341 Sunday 7th October, 2012 at 20:44:10 UTC by hap
alternate implementation, fixes imperfections
[src/mame/layout]spacezap.lay

trunk/src/mame/layout/spacezap.lay
r18340r18341
11<?xml version="1.0"?>
22<mamelayout version="2">
33
4<!-- define elements -->
4   <element name="overlay">
55
6   <element name="blue_blob">
6<!-- backdrop -->
7
8      <rect>
9         <color red="0.0" green="0.85" blue="0.20" />
10         <bounds x="0" y="0" width="6000" height="6000" />
11      </rect>
12
13<!-- top-left blob -->
14
715      <disk>
816         <color red="0.0" green="0.85" blue="0.20" />
9         <bounds left="0" top="0" right="1000" bottom="1000" />
17         <bounds x="0" y="0" width="2500" height="2500" />
1018      </disk>
1119      <disk>
1220         <color red="0.0" green="0.85" blue="0.30" />
13         <bounds left="15" top="15" right="985" bottom="985" />
21         <bounds x="38" y="38" width="2424" height="2424" />
1422      </disk>
1523      <disk>
1624         <color red="0.0" green="0.85" blue="0.40" />
17         <bounds left="30" top="30" right="970" bottom="970" />
25         <bounds x="76" y="76" width="2348" height="2348" />
1826      </disk>
1927      <disk>
2028         <color red="0.0" green="0.85" blue="0.50" />
21         <bounds left="45" top="45" right="955" bottom="955" />
29         <bounds x="114" y="114" width="2272" height="2272" />
2230      </disk>
2331      <disk>
2432         <color red="0.0" green="0.85" blue="0.60" />
25         <bounds left="60" top="60" right="940" bottom="940" />
33         <bounds x="152" y="152" width="2196" height="2196" />
2634      </disk>
2735      <disk>
2836         <color red="0.0" green="0.85" blue="0.70" />
29         <bounds left="75" top="75" right="925" bottom="925" />
37         <bounds x="190" y="190" width="2120" height="2120" />
3038      </disk>
3139      <disk>
3240         <color red="0.0" green="0.85" blue="0.80" />
33         <bounds left="90" top="90" right="910" bottom="910" />
41         <bounds x="228" y="228" width="2044" height="2044" />
3442      </disk>
3543      <disk>
3644         <color red="0.0" green="0.85" blue="0.90" />
37         <bounds left="105" top="105" right="895" bottom="895" />
45         <bounds x="266" y="266" width="1968" height="1968" />
3846      </disk>
3947      <disk>
4048         <color red="0.0" green="0.85" blue="1.0" />
41         <bounds left="120" top="120" right="880" bottom="880" />
49         <bounds x="304" y="304" width="1892" height="1892" />
4250      </disk>
43   </element>
4451
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">
52<!-- top-right blob -->
53
4854      <disk>
49         <color red="0.0" green="0.85" blue="0.2" />
50         <bounds left="0" top="0" right="1000" bottom="1000" />
55         <color red="0.0" green="0.85" blue="0.20" />
56         <bounds x="3500" y="0" width="2500" height="2500" />
5157      </disk>
5258      <disk>
53         <color red="0.15" green="0.85" blue="0.2" />
54         <bounds left="10" top="10" right="990" bottom="990" />
59         <color red="0.0" green="0.85" blue="0.30" />
60         <bounds x="3538" y="38" width="2424" height="2424" />
5561      </disk>
5662      <disk>
57         <color red="0.30" green="0.85" blue="0.2" />
58         <bounds left="20" top="20" right="980" bottom="980" />
63         <color red="0.0" green="0.85" blue="0.40" />
64         <bounds x="3576" y="76" width="2348" height="2348" />
5965      </disk>
6066      <disk>
61         <color red="0.45" green="0.85" blue="0.2" />
62         <bounds left="30" top="30" right="970" bottom="970" />
67         <color red="0.0" green="0.85" blue="0.50" />
68         <bounds x="3614" y="114" width="2272" height="2272" />
6369      </disk>
6470      <disk>
65         <color red="0.60" green="0.85" blue="0.2" />
66         <bounds left="40" top="40" right="960" bottom="960" />
71         <color red="0.0" green="0.85" blue="0.60" />
72         <bounds x="3652" y="152" width="2196" height="2196" />
6773      </disk>
6874      <disk>
69         <color red="0.75" green="0.85" blue="0.2" />
70         <bounds left="50" top="50" right="950" bottom="950" />
75         <color red="0.0" green="0.85" blue="0.70" />
76         <bounds x="3690" y="190" width="2120" height="2120" />
7177      </disk>
7278      <disk>
73         <color red="0.90" green="0.85" blue="0.2" />
74         <bounds left="60" top="60" right="940" bottom="940" />
79         <color red="0.0" green="0.85" blue="0.80" />
80         <bounds x="3728" y="228" width="2044" height="2044" />
7581      </disk>
7682      <disk>
77         <color red="1.0" green="0.85" blue="0.2" />
78         <bounds left="70" top="70" right="930" bottom="930" />
83         <color red="0.0" green="0.85" blue="0.90" />
84         <bounds x="3766" y="266" width="1968" height="1968" />
7985      </disk>
80   </element>
86      <disk>
87         <color red="0.0" green="0.85" blue="1.0" />
88         <bounds x="3804" y="304" width="1892" height="1892" />
89      </disk>
8190
82   <element name="negative_blob">
83      <rect>
84         <color red="0.0" green="0.85" blue="0.2" />
85         <bounds x="0" y="0" width="400" height="300" />
86      </rect>
91<!-- bottom-left blob -->
8792
8893      <disk>
89         <color red="1.0" green="1.0" blue="1.0" />
90         <bounds x="100" y="50" width="200" height="200" />
94         <color red="0.0" green="0.85" blue="0.20" />
95         <bounds x="0" y="3500" width="2500" height="2500" />
9196      </disk>
97      <disk>
98         <color red="0.0" green="0.85" blue="0.30" />
99         <bounds x="38" y="3538" width="2424" height="2424" />
100      </disk>
101      <disk>
102         <color red="0.0" green="0.85" blue="0.40" />
103         <bounds x="76" y="3576" width="2348" height="2348" />
104      </disk>
105      <disk>
106         <color red="0.0" green="0.85" blue="0.50" />
107         <bounds x="114" y="3614" width="2272" height="2272" />
108      </disk>
109      <disk>
110         <color red="0.0" green="0.85" blue="0.60" />
111         <bounds x="152" y="3652" width="2196" height="2196" />
112      </disk>
113      <disk>
114         <color red="0.0" green="0.85" blue="0.70" />
115         <bounds x="190" y="3690" width="2120" height="2120" />
116      </disk>
117      <disk>
118         <color red="0.0" green="0.85" blue="0.80" />
119         <bounds x="228" y="3728" width="2044" height="2044" />
120      </disk>
121      <disk>
122         <color red="0.0" green="0.85" blue="0.90" />
123         <bounds x="266" y="3766" width="1968" height="1968" />
124      </disk>
125      <disk>
126         <color red="0.0" green="0.85" blue="1.0" />
127         <bounds x="304" y="3804" width="1892" height="1892" />
128      </disk>
92129
130<!-- bottom-right blob -->
131
93132      <disk>
94         <color red="1.0" green="1.0" blue="1.0" />
95         <bounds x="-100" y="-150" width="250" height="250" />
133         <color red="0.0" green="0.85" blue="0.20" />
134         <bounds x="3500" y="3500" width="2500" height="2500" />
96135      </disk>
97136      <disk>
98         <color red="1.0" green="1.0" blue="1.0" />
99         <bounds x="-100" y="200" width="250" height="250" />
137         <color red="0.0" green="0.85" blue="0.30" />
138         <bounds x="3538" y="3538" width="2424" height="2424" />
100139      </disk>
101140      <disk>
102         <color red="1.0" green="1.0" blue="1.0" />
103         <bounds x="250" y="-150" width="250" height="250" />
141         <color red="0.0" green="0.85" blue="0.40" />
142         <bounds x="3576" y="3576" width="2348" height="2348" />
104143      </disk>
105144      <disk>
106         <color red="1.0" green="1.0" blue="1.0" />
107         <bounds x="250" y="200" width="250" height="250" />
145         <color red="0.0" green="0.85" blue="0.50" />
146         <bounds x="3614" y="3614" width="2272" height="2272" />
108147      </disk>
148      <disk>
149         <color red="0.0" green="0.85" blue="0.60" />
150         <bounds x="3652" y="3652" width="2196" height="2196" />
151      </disk>
152      <disk>
153         <color red="0.0" green="0.85" blue="0.70" />
154         <bounds x="3690" y="3690" width="2120" height="2120" />
155      </disk>
156      <disk>
157         <color red="0.0" green="0.85" blue="0.80" />
158         <bounds x="3728" y="3728" width="2044" height="2044" />
159      </disk>
160      <disk>
161         <color red="0.0" green="0.85" blue="0.90" />
162         <bounds x="3766" y="3766" width="1968" height="1968" />
163      </disk>
164      <disk>
165         <color red="0.0" green="0.85" blue="1.0" />
166         <bounds x="3804" y="3804" width="1892" height="1892" />
167      </disk>
168
169<!-- middle blob - note: it should be a more diamond shape, -->
170<!-- see MT 1064, but MAME internal layout can't do that -->
171
172      <disk>
173         <color red="0.0" green="0.85" blue="0.2" />
174         <bounds x="2000" y="2000" width="2000" height="2000" />
175      </disk>
176      <disk>
177         <color red="0.15" green="0.85" blue="0.2" />
178         <bounds x="2020" y="2020" width="1960" height="1960" />
179      </disk>
180      <disk>
181         <color red="0.30" green="0.85" blue="0.2" />
182         <bounds x="2040" y="2040" width="1920" height="1920" />
183      </disk>
184      <disk>
185         <color red="0.45" green="0.85" blue="0.2" />
186         <bounds x="2060" y="2060" width="1880" height="1880" />
187      </disk>
188      <disk>
189         <color red="0.60" green="0.85" blue="0.2" />
190         <bounds x="2080" y="2080" width="1840" height="1840" />
191      </disk>
192      <disk>
193         <color red="0.75" green="0.85" blue="0.2" />
194         <bounds x="2100" y="2100" width="1800" height="1800" />
195      </disk>
196      <disk>
197         <color red="0.90" green="0.85" blue="0.2" />
198         <bounds x="2120" y="2120" width="1760" height="1760" />
199      </disk>
200      <disk>
201         <color red="1.0" green="0.85" blue="0.2" />
202         <bounds x="2140" y="2140" width="1720" height="1720" />
203      </disk>
204
109205   </element>
110206
111207
112<!-- overlay -->
113208
114209   <view name="Color Overlay">
115210      <bounds left="0" top="0" right="400" bottom="300" />
r18340r18341
117212         <bounds left="0" top="0" right="400" bottom="300" />
118213      </screen>
119214
120      <overlay element="blue_blob">
121         <bounds x="-100" y="-150" width="250" height="250" />
122      </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">
215      <overlay name="overlay" element="overlay">
138216         <bounds x="-100" y="-150" width="600" height="600" />
139217      </overlay>
140218

Previous 199869 Revisions Next


© 1997-2024 The MAME Team