/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-28 18:52:04 UTC
  • Revision ID: josh@9ix.org-20130428185204-auxrflmqghvti2zm
put levels in their own file

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
   lake = {
31
31
      objects = function() return {
32
32
                      Tile:new{image = 'data/lake-bg.png'},
33
 
                      Player:new{x = 620, y = 336,
 
33
                      Player:new{x = 540, y = 266,
34
34
                                 image = 'data/lake-player.png'},
35
35
                   }
36
36
                end
46
46
   bridge = {
47
47
      objects = function() return {
48
48
                      Tile:new{image = 'data/bridge-bg.png'},
49
 
                      Player:new{x = 600, y = 440,
 
49
                      Player:new{x = 121, y = 440,
50
50
                                 image = 'data/bridge-player.png'},
51
51
                      Tile:new{image = 'data/bridge-fg.png'}
52
52
                   }
53
53
                end
54
 
   },
55
 
   gate = {
56
 
      objects = function() return {
57
 
                      Tile:new{image = 'data/gate-bg.png'},
58
 
                      Player:new{x = 90, y = 388,
59
 
                                 minY = 388, maxY = 388,
60
 
                                 image = 'data/bridge-player.png'},
61
 
                   }
62
 
                end
63
 
   },
64
 
   castle = {
65
 
      objects = function() return {
66
 
                      Tile:new{image = 'data/castle-bg.png'},
67
 
                      Player:new{x = 120, y = 435,
68
 
                                 minY = 435, maxY = 435,
69
 
                                 image = 'data/castle-player.png'},
70
 
                   }
71
 
                end
72
54
   }
73
 
 
74
55
}