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
|
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 = 540, y = 266,
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
}
}
|