1 /**********************************************************************************
2 * Copyright (c) 2008, 2009 Derek Yu and Mossmouth, LLC
3 * Copyright (c) 2018, Ketmar Dark
5 * This file is part of Spelunky.
7 * You can redistribute and/or modify Spelunky, including its source code, under
8 * the terms of the Spelunky User License.
10 * Spelunky is distributed in the hope that it will be entertaining and useful,
11 * but WITHOUT WARRANTY. Please see the Spelunky User License for more details.
13 * The Spelunky User License should be available in "Game Information", which
14 * can be found in the Resource Explorer, or as an external file called COPYING.
15 * If not, please obtain a new copy of Spelunky from <http://spelunkyworld.com/>
17 **********************************************************************************/
18 void createTitleRoom () {
21 setRoomBounds(0, 0, 624, 232);
22 //levBGImgName = 'sTitleBG';
24 //!MakeMapTile(7, 2, 'oGame');
25 //!MakeMapTile(8, 2, 'oBricks');
26 //!MakeMapTile(6, 2, 'oTitle');
28 MakeMapTile(0, 0, 'oBrick');
29 MakeMapTile(1, 0, 'oBrick');
30 MakeMapTile(2, 0, 'oBrick');
31 MakeMapTile(3, 0, 'oBrick');
32 MakeMapTile(4, 0, 'oBrick');
33 MakeMapTile(5, 0, 'oBrick');
34 MakeMapTile(6, 0, 'oBrick');
35 MakeMapTile(7, 0, 'oBrick');
36 MakeMapTile(8, 0, 'oBrick');
37 MakeMapTile(9, 0, 'oBrick');
38 MakeMapTile(10, 0, 'oBrick');
39 MakeMapTile(11, 0, 'oBrick');
40 MakeMapTile(12, 0, 'oBrick');
41 MakeMapTile(13, 0, 'oBrick');
42 MakeMapTile(14, 0, 'oBrick');
43 MakeMapTile(15, 0, 'oBrick');
44 MakeMapTile(16, 0, 'oBrick');
45 MakeMapTile(17, 0, 'oBrick');
46 MakeMapTile(18, 0, 'oBrick');
47 MakeMapTile(19, 0, 'oBrick');
48 MakeMapTile(20, 0, 'oBrick');
49 MakeMapTile(21, 0, 'oBrick');
50 MakeMapTile(22, 0, 'oBrick');
51 MakeMapTile(23, 0, 'oBrick');
52 MakeMapTile(24, 0, 'oBrick');
53 MakeMapTile(25, 0, 'oBrick');
54 MakeMapTile(26, 0, 'oBrick');
55 MakeMapTile(27, 0, 'oBrick');
56 MakeMapTile(28, 0, 'oBrick');
57 MakeMapTile(29, 0, 'oBrick');
58 MakeMapTile(30, 0, 'oBrick');
59 MakeMapTile(31, 0, 'oBrick');
60 MakeMapTile(32, 0, 'oBrick');
61 MakeMapTile(33, 0, 'oBrick');
62 MakeMapTile(34, 0, 'oBrick');
63 MakeMapTile(35, 0, 'oBrick');
64 MakeMapTile(36, 0, 'oBrick');
65 MakeMapTile(37, 0, 'oRope');
66 MakeMapTile(38, 0, 'oBrick');
67 MakeMapTile(39, 0, 'oBrick');
68 MakeMapTileAtPix(592, 8, 'oRope');
69 MakeMapTile(0, 1, 'oBrick');
70 MakeMapTile(1, 1, 'oBrick');
71 MakeMapTile(2, 1, 'oBrick');
72 MakeMapTile(3, 1, 'oBrick');
73 MakeMapTile(4, 1, 'oBrick');
74 MakeMapTile(5, 1, 'oBrick');
75 MakeMapTile(6, 1, 'oBrick');
76 MakeMapTile(7, 1, 'oBrick');
77 MakeMapTile(8, 1, 'oBrick');
78 MakeMapTile(9, 1, 'oBrick');
79 MakeMapTile(10, 1, 'oBrick');
80 MakeMapTile(11, 1, 'oBrick');
81 MakeMapTile(12, 1, 'oBrick');
82 MakeMapTile(13, 1, 'oBrick');
83 MakeMapTile(14, 1, 'oBrick');
84 MakeMapTile(15, 1, 'oBrick');
85 MakeMapTile(16, 1, 'oBrick');
86 MakeMapTile(17, 1, 'oBrick');
87 MakeMapTile(18, 1, 'oBrick');
88 MakeMapTile(19, 1, 'oBrick');
89 MakeMapTile(20, 1, 'oBrick');
90 MakeMapTile(21, 1, 'oBrick');
91 MakeMapTile(22, 1, 'oBrick');
92 MakeMapTile(23, 1, 'oBrick');
93 MakeMapTile(24, 1, 'oBrick');
94 MakeMapTile(25, 1, 'oBrick');
95 MakeMapTile(26, 1, 'oBrick');
96 MakeMapTile(27, 1, 'oBrick');
97 MakeMapTile(28, 1, 'oBrick');
98 MakeMapTile(29, 1, 'oBrick');
99 MakeMapTile(30, 1, 'oBrick');
100 MakeMapTile(31, 1, 'oBrick');
101 MakeMapTile(32, 1, 'oBrick');
102 MakeMapTile(33, 1, 'oBrick');
103 MakeMapTile(34, 1, 'oBrick');
104 MakeMapTile(35, 1, 'oQuitSign');
105 MakeMapTile(37, 1, 'oRope');
106 MakeMapTile(38, 1, 'oBrick');
107 MakeMapTile(39, 1, 'oBrick');
108 MakeMapTileAtPix(592, 24, 'oRope');
109 MakeMapTile(0, 2, 'oBrick');
110 MakeMapTile(1, 2, 'oBrick');
111 MakeMapTile(2, 2, 'oBrick');
112 MakeMapTile(3, 2, 'oBrick');
113 MakeMapTile(4, 2, 'oBrick');
114 MakeMapTile(5, 2, 'oBrick');
115 MakeMapTile(17, 2, 'oBrick');
116 MakeMapTile(18, 2, 'oBrick');
117 MakeMapTile(19, 2, 'oBrick');
118 MakeMapTile(20, 2, 'oBrick');
119 MakeMapTile(21, 2, 'oBrick');
120 MakeMapTile(22, 2, 'oBrick');
121 MakeMapTile(23, 2, 'oBrick');
122 MakeMapTile(24, 2, 'oBrick');
123 MakeMapTile(34, 2, 'oBrick');
124 MakeMapTile(35, 2, 'oBrick');
125 MakeMapTile(36, 2, 'oBrick');
126 MakeMapTile(37, 2, 'oRope');
127 MakeMapTile(38, 2, 'oBrick');
128 MakeMapTile(39, 2, 'oBrick');
129 MakeMapTileAtPix(592, 40, 'oRope');
130 MakeMapTile(0, 3, 'oBrick');
131 MakeMapTile(1, 3, 'oBrick');
132 MakeMapTile(2, 3, 'oBrick');
133 MakeMapTile(3, 3, 'oBrick');
134 MakeMapTile(4, 3, 'oBrick');
135 MakeMapTile(18, 3, 'oBrick');
136 MakeMapTile(19, 3, 'oBrick');
137 MakeMapTile(20, 3, 'oBrick');
138 MakeMapTile(21, 3, 'oBrick');
139 MakeMapTile(22, 3, 'oBrick');
140 MakeMapTile(23, 3, 'oBrick');
141 MakeMapTile(24, 3, 'oTitleBG');
142 MakeMapTile(35, 3, 'oBrick');
143 MakeMapTile(36, 3, 'oBrick');
144 MakeMapTile(37, 3, 'oRope');
145 MakeMapTile(38, 3, 'oBrick');
146 MakeMapTile(39, 3, 'oBrick');
147 MakeMapTileAtPix(592, 56, 'oRope');
148 MakeMapTile(0, 4, 'oBrick');
149 MakeMapTile(1, 4, 'oBrick');
150 MakeMapTile(2, 4, 'oBrick');
151 MakeMapTile(3, 4, 'oBrick');
152 MakeMapTile(18, 4, 'oBrick');
153 MakeMapTile(19, 4, 'oBrick');
154 MakeMapTile(20, 4, 'oBrick');
155 MakeMapTile(21, 4, 'oBrick');
156 MakeMapTile(22, 4, 'oBrick');
157 MakeMapTile(36, 4, 'oBrick');
158 MakeMapTile(37, 4, 'oRope');
159 MakeMapTile(38, 4, 'oBrick');
160 MakeMapTile(39, 4, 'oBrick');
161 MakeMapTileAtPix(592, 72, 'oRope');
162 MakeMapTile(0, 5, 'oBrick');
163 MakeMapTile(1, 5, 'oBrick');
164 MakeMapTile(18, 5, 'oBrick');
165 MakeMapTile(19, 5, 'oBrick');
166 MakeMapTile(20, 5, 'oBrick');
167 MakeMapTile(21, 5, 'oBrick');
168 MakeMapTile(26, 5, 'oTitleLogo');
169 MakeMapTile(37, 5, 'oRope');
170 MakeMapTile(38, 5, 'oBrick');
171 MakeMapTile(39, 5, 'oBrick');
172 MakeMapTileAtPix(592, 88, 'oRope');
173 MakeMapTile(0, 6, 'oBrick');
174 MakeMapTile(1, 6, 'oBrick');
175 MakeMapTile(37, 6, 'oRope');
176 MakeMapTile(38, 6, 'oBrick');
177 MakeMapTile(39, 6, 'oBrick');
178 MakeMapTileAtPix(592, 104, 'oRope');
179 MakeMapTile(0, 7, 'oBrick');
180 MakeMapTile(1, 7, 'oBrick');
181 MakeMapTile(4, 7, 'oLevel5Sign');
182 MakeMapTile(17, 7, 'oBrickSmooth');
183 MakeMapTile(18, 7, 'oBrickSmooth');
184 MakeMapTile(19, 7, 'oBrickSmooth');
185 MakeMapTile(20, 7, 'oBrick');
186 MakeMapTile(21, 7, 'oBrick');
187 MakeMapTile(37, 7, 'oRope');
188 MakeMapTile(38, 7, 'oBrick');
189 MakeMapTile(39, 7, 'oBrick');
190 MakeMapTileAtPix(592, 120, 'oRope');
191 MakeMapTile(0, 8, 'oBrick');
192 MakeMapTile(1, 8, 'oBrick');
193 //!MakeMapTile(5, 8, 'oXShortcut5');
194 MakeMapTile(16, 8, 'oBrickSmooth');
195 MakeMapTile(17, 8, 'oBrick');
196 MakeMapTile(18, 8, 'oBrick');
197 MakeMapTile(19, 8, 'oBrick');
198 MakeMapTile(20, 8, 'oBrick');
199 MakeMapTile(21, 8, 'oBrick');
200 MakeMapTileAtPix(440, 128, 'oStartSignBig');
201 MakeMapTile(37, 8, 'oRope');
202 MakeMapTile(38, 8, 'oBrick');
203 MakeMapTile(39, 8, 'oBrick');
204 MakeMapTileAtPix(592, 136, 'oRope');
205 MakeMapTile(0, 9, 'oBrick');
206 MakeMapTile(1, 9, 'oBrick');
207 MakeMapTile(2, 9, 'oBrickSmooth');
208 MakeMapTile(3, 9, 'oBrickSmooth');
209 MakeMapTile(4, 9, 'oBrickSmooth');
210 MakeMapTile(5, 9, 'oBrickSmooth');
211 MakeMapTile(6, 9, 'oBrickSmooth');
212 MakeMapTile(7, 9, 'oBrickSmooth');
213 MakeMapTile(8, 9, 'oBrickSmooth');
214 MakeMapTile(9, 9, 'oBrickSmooth');
215 MakeMapTile(10, 9, 'oBrickSmooth');
216 MakeMapTile(11, 9, 'oBrickSmooth');
217 MakeMapTile(12, 9, 'oBrickSmooth');
218 MakeMapTile(13, 9, 'oBrickSmooth');
219 MakeMapTile(14, 9, 'oBrickSmooth');
220 MakeMapTile(15, 9, 'oBrickSmooth');
221 MakeMapTile(16, 9, 'oBrick');
222 MakeMapTile(17, 9, 'oBrick');
223 MakeMapTile(18, 9, 'oBrick');
224 MakeMapTile(19, 9, 'oBrick');
225 MakeMapTile(20, 9, 'oBrick');
226 MakeMapTile(21, 9, 'oBrick');
227 MakeMapTile(37, 9, 'oRope');
228 MakeMapTile(38, 9, 'oBrick');
229 MakeMapTile(39, 9, 'oBrick');
230 MakeMapTileAtPix(592, 152, 'oRope');
231 MakeMapTile(0, 10, 'oBrick');
232 MakeMapTile(1, 10, 'oBrick');
233 MakeMapTile(2, 10, 'oBrick');
234 MakeMapTile(3, 10, 'oBrick');
235 MakeMapTile(4, 10, 'oBrick');
236 MakeMapTile(5, 10, 'oHardBlock');
237 MakeMapTile(6, 10, 'oHardBlock');
238 MakeMapTile(7, 10, 'oHardBlock');
239 MakeMapTile(8, 10, 'oHardBlock');
240 MakeMapTile(9, 10, 'oHardBlock');
241 MakeMapTile(10, 10, 'oHardBlock');
242 MakeMapTile(11, 10, 'oHardBlock');
243 MakeMapTile(12, 10, 'oHardBlock');
244 MakeMapTile(13, 10, 'oHardBlock');
245 MakeMapTile(14, 10, 'oBrick');
246 MakeMapTile(15, 10, 'oBrick');
247 MakeMapTile(16, 10, 'oBrick');
248 MakeMapTile(17, 10, 'oBrick');
249 MakeMapTile(18, 10, 'oBrick');
250 MakeMapTile(19, 10, 'oBrick');
251 //!MakeMapTile(20, 10, 'oTutorialSign');
252 //!MakeMapTile(24, 10, 'oScoresSign');
253 //!MakeMapTile(32, 10, 'oModeSign');
254 MakeMapTile(37, 10, 'oRope');
255 MakeMapTile(38, 10, 'oBrick');
256 MakeMapTile(39, 10, 'oBrick');
257 MakeMapTile(0, 11, 'oBrick');
258 MakeMapTile(1, 11, 'oBrick');
259 MakeMapTile(2, 11, 'oBrick');
260 MakeMapTile(3, 11, 'oBrick');
261 MakeMapTile(4, 11, 'oBrick');
262 MakeMapTile(5, 11, 'oBrick');
263 MakeMapTile(6, 11, 'oBrick');
264 MakeMapTile(7, 11, 'oBrick');
265 MakeMapTile(8, 11, 'oBrick');
266 MakeMapTile(9, 11, 'oBrick');
267 MakeMapTile(10, 11, 'oBrick');
268 MakeMapTile(11, 11, 'oBrick');
269 MakeMapTile(12, 11, 'oBrick');
270 MakeMapTile(13, 11, 'oBrick');
271 MakeMapTile(14, 11, 'oBrick');
272 MakeMapTile(15, 11, 'oBrick');
273 MakeMapTile(16, 11, 'oBrick');
274 MakeMapTile(17, 11, 'oBrick');
275 MakeMapTile(18, 11, 'oBrick');
276 MakeMapTile(19, 11, 'oBrick');
277 MakeMapTile(20, 11, 'oBrick');
278 //!MakeMapTile(21, 11, 'oXTutorial');
279 //!MakeMapTile(25, 11, 'oXScores');
280 //!MakeMapTile(33, 11, 'oXMode');
281 //!MakeMapTileAtPix(580, 176, 'oComputer');
282 MakeMapTile(38, 11, 'oBrick');
283 MakeMapTile(39, 11, 'oBrick');
284 MakeMapTile(0, 12, 'oBrick');
285 MakeMapTile(1, 12, 'oBrick');
286 MakeMapTile(2, 12, 'oBrick');
287 MakeMapTile(3, 12, 'oBrick');
288 MakeMapTile(4, 12, 'oBrick');
289 MakeMapTile(5, 12, 'oBrick');
290 MakeMapTile(6, 12, 'oBrick');
291 MakeMapTile(7, 12, 'oBrick');
292 MakeMapTile(8, 12, 'oBrick');
293 MakeMapTile(9, 12, 'oBrick');
294 MakeMapTile(10, 12, 'oBrick');
295 MakeMapTile(11, 12, 'oBrick');
296 MakeMapTile(12, 12, 'oBrick');
297 MakeMapTile(13, 12, 'oBrick');
298 MakeMapTile(14, 12, 'oBrick');
299 MakeMapTile(15, 12, 'oBrick');
300 MakeMapTile(16, 12, 'oBrick');
301 MakeMapTile(17, 12, 'oBrick');
302 MakeMapTile(18, 12, 'oBrick');
303 MakeMapTile(19, 12, 'oBrick');
304 MakeMapTile(20, 12, 'oBrick');
305 MakeMapTile(21, 12, 'oBrick');
306 MakeMapTile(22, 12, 'oBrick');
307 MakeMapTile(23, 12, 'oBrick');
308 MakeMapTile(24, 12, 'oHardBlock');
309 MakeMapTile(25, 12, 'oHardBlock');
310 MakeMapTile(26, 12, 'oHardBlock');
311 MakeMapTile(27, 12, 'oHardBlock');
312 MakeMapTile(28, 12, 'oHardBlock');
313 MakeMapTile(29, 12, 'oHardBlock');
314 MakeMapTile(30, 12, 'oHardBlock');
315 MakeMapTile(31, 12, 'oHardBlock');
316 MakeMapTile(32, 12, 'oHardBlock');
317 MakeMapTile(33, 12, 'oHardBlock');
318 MakeMapTile(34, 12, 'oHardBlock');
319 MakeMapTile(35, 12, 'oBrick');
320 MakeMapTile(36, 12, 'oBrick');
321 MakeMapTile(37, 12, 'oBrick');
322 MakeMapTile(38, 12, 'oBrick');
323 MakeMapTile(39, 12, 'oBrick');
324 MakeMapTile(0, 13, 'oBrick');
325 MakeMapTile(1, 13, 'oBrick');
326 MakeMapTile(2, 13, 'oBrick');
327 MakeMapTile(3, 13, 'oBrick');
328 MakeMapTile(4, 13, 'oBrick');
329 MakeMapTile(5, 13, 'oBrick');
330 MakeMapTile(6, 13, 'oBrick');
331 MakeMapTile(7, 13, 'oBrick');
332 MakeMapTile(8, 13, 'oBrick');
333 MakeMapTile(9, 13, 'oBrick');
334 MakeMapTile(10, 13, 'oBrick');
335 MakeMapTile(11, 13, 'oBrick');
336 MakeMapTile(12, 13, 'oBrick');
337 MakeMapTile(13, 13, 'oBrick');
338 MakeMapTile(14, 13, 'oBrick');
339 MakeMapTile(15, 13, 'oBrick');
340 MakeMapTile(16, 13, 'oBrick');
341 MakeMapTile(17, 13, 'oBrick');
342 MakeMapTile(18, 13, 'oBrick');
343 MakeMapTile(19, 13, 'oBrick');
344 MakeMapTile(20, 13, 'oBrick');
345 MakeMapTile(21, 13, 'oBrick');
346 MakeMapTile(22, 13, 'oBrick');
347 MakeMapTile(23, 13, 'oBrick');
348 MakeMapTile(24, 13, 'oBrick');
349 MakeMapTile(25, 13, 'oBrick');
350 MakeMapTile(26, 13, 'oBrick');
351 MakeMapTile(27, 13, 'oBrick');
352 MakeMapTile(28, 13, 'oBrick');
353 MakeMapTile(29, 13, 'oBrick');
354 MakeMapTile(30, 13, 'oBrick');
355 MakeMapTile(31, 13, 'oBrick');
356 MakeMapTile(32, 13, 'oBrick');
357 MakeMapTile(33, 13, 'oBrick');
358 MakeMapTile(34, 13, 'oBrick');
359 MakeMapTile(35, 13, 'oBrick');
360 MakeMapTile(36, 13, 'oBrick');
361 MakeMapTile(37, 13, 'oBrick');
362 MakeMapTile(38, 13, 'oBrick');
363 MakeMapTile(39, 13, 'oBrick');
364 MakeMapTile(0, 14, 'oBrick');
365 MakeMapTile(1, 14, 'oBrick');
366 MakeMapTile(2, 14, 'oBrick');
367 MakeMapTile(3, 14, 'oBrick');
368 MakeMapTile(4, 14, 'oBrick');
369 MakeMapTile(5, 14, 'oBrick');
370 MakeMapTile(6, 14, 'oBrick');
371 MakeMapTile(7, 14, 'oBrick');
372 MakeMapTile(8, 14, 'oBrick');
373 MakeMapTile(9, 14, 'oBrick');
374 MakeMapTile(10, 14, 'oBrick');
375 MakeMapTile(11, 14, 'oBrick');
376 MakeMapTile(12, 14, 'oBrick');
377 MakeMapTile(13, 14, 'oBrick');
378 MakeMapTile(14, 14, 'oBrick');
379 MakeMapTile(15, 14, 'oBrick');
380 MakeMapTile(16, 14, 'oBrick');
381 MakeMapTile(17, 14, 'oBrick');
382 MakeMapTile(18, 14, 'oBrick');
383 MakeMapTile(19, 14, 'oBrick');
384 MakeMapTile(20, 14, 'oBrick');
385 MakeMapTile(21, 14, 'oBrick');
386 MakeMapTile(22, 14, 'oBrick');
387 MakeMapTile(23, 14, 'oBrick');
388 MakeMapTile(24, 14, 'oBrick');
389 MakeMapTile(25, 14, 'oBrick');
390 MakeMapTile(26, 14, 'oBrick');
391 MakeMapTile(27, 14, 'oBrick');
392 MakeMapTile(28, 14, 'oBrick');
393 MakeMapTile(29, 14, 'oBrick');
394 MakeMapTile(30, 14, 'oBrick');
395 MakeMapTile(31, 14, 'oBrick');
396 MakeMapTile(32, 14, 'oBrick');
397 MakeMapTile(33, 14, 'oBrick');
398 MakeMapTile(34, 14, 'oBrick');
399 MakeMapTile(35, 14, 'oBrick');
400 MakeMapTile(36, 14, 'oBrick');
401 MakeMapTile(37, 14, 'oBrick');
402 MakeMapTile(38, 14, 'oBrick');
403 MakeMapTile(39, 14, 'oBrick');
404 MakeMapTileAtPix(388, 232, 'oCopy');
406 spawnPlayerAt(600, 184);
407 player.dir = MapEntity::Dir.Left;