-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlevels.js
executable file
·136 lines (132 loc) · 2.46 KB
/
levels.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
const startLevel = 1;
const levels = [
{ // test level, doesn't play (unless you set the previous const to 0)
start: [50, 50],
end: [550, 375],
boxes: [ // [x, y, width]
[50, 300, 100],
[150, 277, 200],
[400, 20, 100]
],
text: "Sometimes a KEY is required in order to pass a LEVEL.",
lava: [ // [x, y, width, height]
]
}, {//1
start: [25, 400],
end: [550, 425],
boxes: [
[0, 450, 600],
],
text: "Reach the GOAL to finish the LEVEL.",
}, {//2
start: [25, 200],
end: [550, 375],
boxes: [
[0, 250, 250],
[300, 400, 300],
],
text: "Avoid contact with RED LAVA.",
lava: [
[0, 500, 600, 100]
]
}, {//3
start: [25, 200],
end: [550, 225],
boxes: [
[0, 250, 200],
[300, 250, 300],
],
text: "Press the UP ARROW to JUMP.",
lava: [
[0, 500, 600, 100]
]
}, {//4
start: [25, 400],
end: [550, 75],
boxes: [
[0, 450, 250],
[400, 450, 200],
[0, 100, 600]
],
text: "Falling through the FLOOR loops you to the top.",
lava: [
[]
]
}, {//5
start: [25, 400],
end: [550, 325],
boxes: [
[0, 450, 600],
[0, 350, 600]
],
text: "You can jump upwards through BLOCKS.",
lava: [
[]
]
}, {//6
start: [25, 200],
end: [550, 325],
boxes: [
[0, 250, 150],
[450, 350, 150],
],
text: "Falling off a LEDGE allows you 1 AIR JUMP.",
lava: [
[290, 0, 20, 200],
[0, 500, 600, 100]
],
}, {//7
start: [25, 300],
end: [550, 325],
boxes: [
[0, 350, 150],
[450, 350, 150],
],
text: "Sometimes one or more KEYs are required.",
lava: [
[0, 500, 600, 100]
],
keys: [
[75, 200],
[300, 200]
]
}, {//8
start: [25, 200],
end: [550, 225],
boxes: [
[0, 250, 100],
[100, 410, 100],
[200, 250, 400],
],
text: "You can utilize bouncing to get a higher AIR JUMP.",
lava: [
[0, 500, 600, 100]
],
keys: [
[150, 390]
]
}, {//9
start: [25, 150],
end: [50, 375],
boxes: [
[0, 200, 530],
[0, 410, 110],
],
text: "Bounce off the WALLs to change direction quickly.",
lava: [
[0, 500, 600, 100]
],
}, {//10
start: [0, 300],
end: [575, 325],
boxes: [
[0, 350, 50],
[500, 350, 100],
],
text: "PORTALS provide quick one-way transport.",
lava: [
[0, 500, 600, 100]
],
portals: [[[25, 200], [525, 200]]]
}, {"start":[233,287],"end":[312,453],"boxes":[[205,337,105],[265,482,95],[428,259,115]],"text":"Good luck with this one.","lava":[[112,352,52,62],[420,316,54,41]],"keys":[[482,185],[54,254]]}, // 10
{}];