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
|
levels = {
forest1 = {
objects = function() return {
Tile:new{image = 'data/forest1-bg.png'},
Player:new{x = 200, y = 380,
minY = 330, maxY = 500,
image = 'data/forest1-player.png'},
Tile:new{image = 'data/forest1-fg.png'}
} end,
},
foresthut = {
objects = function() return {
Tile:new{image = 'data/foresthut-bg.png'},
Player:new{x = 745, y = 430,
image = 'data/forest1-player.png'},
Tile:new{image = 'data/foresthut-fg.png'}
} end,
},
shore = {
objects = function() return {
Tile:new{image = 'data/shore-bg.png'},
Player:new{x = 145, y = 133,
minY = 133, maxY = 133,
image = 'data/shore-player.png'},
Tile:new{image = 'data/shore-fg.png'},
Transition:new{x = 10, y = 133, target = 'forest1',
targetX = 735, targetY = 370}
} end
},
lake = {
objects = function() return {
Tile:new{image = 'data/lake-bg.png'},
Player:new{x = 620, y = 336,
image = 'data/lake-player.png'},
}
end
},
-- village = {
-- objects = function() return {
-- Tile:new{image = 'data/village-bg.png'},
-- Player:new{x = 121, y = 440,
-- image = 'data/village-player.png'},
-- }
-- end
-- },
bridge = {
objects = function() return {
Tile:new{image = 'data/bridge-bg.png'},
Player:new{x = 121, y = 440,
image = 'data/bridge-player.png'},
Tile:new{image = 'data/bridge-fg.png'}
}
end
},
gate = {
objects = function() return {
Tile:new{image = 'data/gate-bg.png'},
Player:new{x = 90, y = 388,
minY = 388, maxY = 388,
image = 'data/bridge-player.png'},
}
end
}
}
|