F9 = recarrega mapa sem respawn; adicionada Yoshi's Island 3 :P
[Projeto-PCG.git] / mario.lua
blob8804f40e83b6c86cf04834ddabe86a52417df48d
1 local x = 10000
2 local y = 1000
4 map {
5 spawn = {150, y-250},
6 width = x,
7 height = y,
8 platforms = {
9 platform{0, y, 0, y-250, color = {0.5, 0.5, 0}},
10 platform{0, y-250, 650, y-250, color = {0.5, 0.5, 0}},
11 platform{650, y, 650, y-250, color = {0.5, 0.5, 0}},
13 platform{150, y-350, 350, y-350, color = {0.5, 0.5, 0}},
15 platform{100, y-450, 250, y-450, color = {0.5, 0.5, 0}},
17 platform{150, y-550, 300, y-550, color = {0.5, 0.5, 0}},
19 platform{250, y-650, 450, y-650, color = {0.5, 0.5, 0}},
21 platform{600, y-600, 750, y-600, color = {0.5, 0.5, 0}},
23 -- primeiro "balanço"
24 platform{900, y-550, 1050, y-550, color = {0.5, 0.25, 0}},
26 platform{1200, y, 1200, y-449, color = {0.5, 0.5, 0}},
27 platform{1200, y-450, 1500, y-450, color = {0.5, 0.5, 0}},
28 platform{1500, y, 1500, y-449, color = {0.5, 0.5, 0}},
30 platform{1550, y-550, 1700, y-550, color = {1, 1, 0}},
32 platform{1750, y-650, 1900, y-650, color = {1, 1, 0}},
34 platform{1900, y, 1900, y-249, color = {0.5, 0.5, 0}},
35 platform{1900, y-250, 2250, y-250, color = {0.5, 0.5, 0}},
36 platform{2250, y, 2250, y-249, color = {0.5, 0.5, 0}},
38 platform{2000, y-650, 2150, y-650, color = {0.5, 0.5, 0}},
40 platform{2300, y-600, 2450, y-600, color = {0.5, 0.25, 0}},
42 platform{2600, y, 2600, y-549, color = {0.5, 0.5, 0}},
43 platform{2600, y-550, 2750, y-550, color = {0.5, 0.5, 0}},
44 platform{2750, y, 2750, y-549, color = {0.5, 0.5, 0}},
46 platform{2900, y-550, 3050, y-550, color = {0.5, 0.5, 0.5}},
48 platform{3100, y-550, 3250, y-550, color = {0.5, 0.5, 0.5}},
50 platform{3300, y-650, 3600, y-650, color = {0.5, 0.5, 0}},
52 platform{3750, y-550, 3900, y-550, color = {0.5, 0.25, 0}},
54 platform{4050, y-450, 4200, y-450, color = {0.5, 0.25, 0}},
56 platform{4200, y, 4200, y-349, color = {0.5, 0.5, 0}},
57 platform{4200, y-350, 4500, y-350, color = {0.5, 0.5, 0}},
58 platform{4500, y-250, 4500, y-349, color = {0.5, 0.5, 0}},
59 platform{4500, y-250, 5500, y-250, color = {0.5, 0.5, 0}},
60 platform{5500, y-250, 5500, y-449, color = {0.5, 0.5, 0}},
61 platform{5500, y-450, 5650, y-450, color = {0.5, 0.5, 0}},
62 platform{5650, y, 5650, y-449, color = {0.5, 0.5, 0}},
64 platform{5300, y-350, 5450, y-350, color = {1, 1, 0}},
66 platform{5700, y-550, 5850, y-550, color = {0.5, 0.5, 0.5}},
68 platform{5900, y-650, 6050, y-650, color = {0.5, 0.5, 0}},
70 platform{6200, y-550, 6350, y-550, color = {0.5, 0.25, 0}},
72 platform{6500, y-350, 6650, y-350, color = {1, 1, 0}},
74 platform{6650, y-450, 6950, y-450, color = {1, 1, 0}},
76 platform{6950, y-550, 7250, y-550, color = {1, 1, 0}},
78 platform{7250, y-650, 7350, y-650, color = {1, 1, 0}},
80 platform{7350, y, 7350, y-750, color = {0.5, 0.5, 0}},
81 platform{7350, y-750, 7500, y-750, color = {0.5, 0.5, 0}},
82 platform{7500, y, 7500, y-750, color = {0.5, 0.5, 0}},
84 platform{7650, y-650, 7800, y-650, color = {0.5, 0.5, 0.5}},
86 platform{7900, y-600, 8050, y-600, color = {0.5, 0.25, 0}},
88 platform{8150, y-650, 8300, y-650, color = {0.5, 0.5, 0}},
90 platform{8450, y-600, 8600, y-600, color = {0.5, 0.25, 0}},
92 platform{8750, y-550, 8900, y-550, color = {0.5, 0.25, 0}},
94 platform{9000, y, 9000, y-500, color = {0.5, 0.5, 0}},
95 platform{9000, y-500, 9200, y-500, color = {0.5, 0.5, 0}},
96 platform{9200, y-400, 9200, y-499, color = {0.5, 0.5, 0}},
97 platform{9200, y-400, 9400, y-400, color = {0.5, 0.5, 0}},
98 platform{9400, y-300, 9400, y-399, color = {0.5, 0.5, 0}},
99 platform{9400, y-300, 9999, y-300, color = {0.5, 0.5, 0}},
100 platform{9999, y, 9999, y-300, color = {0.5, 0.5, 0}},
102 weapons = {
103 {name = "Flamethrower", spawn = {x/3, y-5000}},
105 enemies = {