/ld26

To get this branch, use:
bzr branch http://9ix.org/bzr/ld26

« back to all changes in this revision

Viewing changes to levels.lua

  • Committer: Josh C
  • Date: 2013-04-29 01:26:02 UTC
  • Revision ID: josh@9ix.org-20130429012602-ev6ww21nb01zgddg
out of bounds

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
      objects = function() return {
21
21
                      Tile:new{image = 'data/shore-bg.png'},
22
22
                      Player:new{x = 145, y = 133,
23
 
                                 minY = 133, maxY = 133,
 
23
                                 --minY = 133, maxY = 133,
24
24
                                 image = 'data/shore-player.png'},
25
 
                      Tile:new{image = 'data/shore-fg.png'},
 
25
                      --Tile:new{image = 'data/shore-fg.png'},
26
26
                      Transition:new{x = 10, y = 133, target = 'forest1',
27
 
                                     targetX = 735, targetY = 370}
 
27
                                     targetX = 735, targetY = 370},
 
28
                      fairytarget
28
29
                   } end
29
30
   },
30
31
   lake = {
46
47
   bridge = {
47
48
      objects = function() return {
48
49
                      Tile:new{image = 'data/bridge-bg.png'},
49
 
                      Player:new{x = 121, y = 440,
 
50
                      Player:new{x = 600, y = 440,
50
51
                                 image = 'data/bridge-player.png'},
51
52
                      Tile:new{image = 'data/bridge-fg.png'}
52
53
                   }
58
59
                      Player:new{x = 90, y = 388,
59
60
                                 minY = 388, maxY = 388,
60
61
                                 image = 'data/bridge-player.png'},
 
62
                      gateup,
 
63
                      gatedown
61
64
                   }
62
65
                end
63
66
   },
69
72
                                 image = 'data/castle-player.png'},
70
73
                   }
71
74
                end
 
75
   },
 
76
   sheep = {
 
77
      objects = function() return {
 
78
                      Tile:new{image = 'data/sheep-bg.png'},
 
79
                      Player:new{x = 640, y = 454,
 
80
                                 image = 'data/sheep-player.png'},
 
81
                   }
 
82
                end
 
83
   },
 
84
   cave = {
 
85
      objects = function() return {
 
86
                      Tile:new{image = 'data/cave-bg.png'},
 
87
                      Player:new{x = 120, y = 450,
 
88
                                 minY = 450, maxY = 450,
 
89
                                 image = 'data/cave-player.png'},
 
90
                   }
 
91
                end
72
92
   }
73
93
 
74
94
}