home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2011 November
/
CHIP_2011_11.iso
/
Programy
/
Inne
/
Gry
/
Pushover
/
themes
/
mechanic.lua
< prev
next >
Wrap
Text File
|
2011-05-11
|
3KB
|
268 lines
-- the 22 foreground tiles
foreground = {
1, 2, -- FgElementPlatformStart
2, 2, -- FgElementPlatformMiddle
3, 2, -- FgElementPlatformEnd
6, 2, -- FgElementPlatformLadderDown
6, 3, -- FgElementLadder
6, 4, -- FgElementPlatformLadderUp
7, 4, -- FgElementPlatformStep1
8, 4, -- FgElementPlatformStep2
7, 5, -- FgElementPlatformStep3
8, 5, -- FgElementPlatformStep4
11, 3, -- FgElementPlatformStep5
12, 3, -- FgElementPlatformStep6
13, 3, -- FgElementPlatformStep7
14, 3, -- FgElementPlatformStep8
9, 2, -- FgElementLadderMiddle
1, 4, -- FgElementPlatformStrip
9, 1, -- FgElementLadder2
18, 0, -- FgElementDoor0
19, 0, -- FgElementDoor1
20, 0, -- FgElementDoor2
21, 0, -- FgElementDoor3
}
-- as many background tiles as you want.
background = {
0, 0,
24, 4,
26, 4,
24, 0,
25, 0,
0, 7,
1, 7,
2, 7,
0, 9,
0, 10,
0, 11,
6, 10,
6, 11,
2, 20,
1, 20,
2, 21,
1, 21,
0, 22,
0, 21,
1, 23,
2, 22,
1, 22,
2, 23,
5, 21,
6, 21,
2, 9,
3, 9,
4, 9,
2, 10,
3, 10,
4, 10,
2, 11,
3, 11,
4, 11,
0, 13,
1, 13,
0, 14,
1, 14,
2, 13,
3, 13,
2, 14,
3, 14,
5, 13,
6, 13,
5, 14,
6, 14,
7, 13,
8, 13,
7, 14,
8, 14,
0, 16,
1, 16,
2, 16,
0, 17,
1, 17,
2, 17,
0, 18,
1, 18,
2, 18,
4, 16,
5, 16,
6, 16,
4, 17,
6, 17,
4, 18,
5, 18,
6, 18,
0, 25,
1, 25,
2, 25,
1, 26,
2, 26,
1, 27,
2, 27,
0, 28,
1, 28,
0, 29,
1, 29,
4, 25,
5, 25,
6, 25,
4, 26,
5, 26,
4, 27,
5, 27,
5, 28,
6, 28,
5, 29,
6, 29,
12, 9,
13, 9,
14, 9,
12, 11,
13, 11,
14, 11,
12, 10,
13, 10,
14, 10,
12, 19,
11, 20,
11, 21,
13, 20,
10, 21,
12, 20,
12, 21,
11, 22,
19, 19,
18, 20,
19, 20,
20, 20,
19, 21,
20, 21,
21, 21,
20, 22,
11, 13,
12, 13,
11, 14,
16, 12,
15, 13,
16, 13,
21, 12,
21, 13,
22, 13,
26, 13,
27, 13,
27, 14,
17, 15,
18, 15,
16, 16,
17, 16,
18, 16,
16, 17,
17, 17,
18, 17,
17, 18,
18, 18,
9, 15,
10, 15,
9, 16,
10, 16,
11, 16,
9, 17,
10, 17,
11, 17,
9, 18,
10, 18,
25, 25,
26, 25,
24, 26,
25, 26,
24, 27,
25, 27,
24, 28,
24, 29,
27, 25,
28, 25,
28, 26,
29, 26,
28, 27,
29, 27,
29, 28,
29, 29,
16, 9,
17, 9,
18, 9,
16, 10,
17, 10,
18, 10,
16, 11,
17, 11,
18, 11,
9, 19,
8, 20,
9, 20,
10, 20,
7, 21,
8, 21,
9, 21,
8, 22,
16, 19,
15, 20,
16, 20,
17, 20,
16, 21,
17, 21,
18, 21,
17, 22,
13, 13,
14, 13,
13, 14,
18, 12,
17, 13,
18, 13,
24, 12,
24, 13,
25, 13,
29, 13,
30, 13,
30, 14,
22, 15,
20, 16,
21, 16,
22, 16,
20, 17,
21, 17,
22, 17,
22, 18,
13, 15,
13, 16,
14, 16,
15, 16,
13, 17,
14, 17,
15, 17,
13, 18,
10, 25,
11, 25,
12, 25,
10, 26,
11, 26,
10, 27,
11, 27,
10, 28,
10, 29,
13, 25,
14, 25,
15, 25,
14, 26,
15, 26,
14, 27,
15, 27,
15, 28,
15, 29,
9, 9,
9, 11,
}