/ld26

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

« back to all changes in this revision

Viewing changes to main.lua

  • Committer: Josh C
  • Date: 2013-04-27 23:43:03 UTC
  • Revision ID: josh@9ix.org-20130427234303-35drcx68t13gb3b8
more transitions and collisions

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
   forest1 = {
16
16
      objects = function() return {
17
17
                      Tile:new{image = 'data/forest1-bg.png'},
18
 
                      Player:new{x = 200, y = 370,
 
18
                      Player:new{x = 200, y = 380,
19
19
                                 minY = 330, maxY = 500,
20
20
                                 image = 'data/forest1-player.png'},
21
21
                      Tile:new{image = 'data/forest1-fg.png'}
28
28
                                 minY = 133, maxY = 133,
29
29
                                 image = 'data/shore-player.png'},
30
30
                      Tile:new{image = 'data/shore-fg.png'},
31
 
                      Transition:new{x = 10, y = 133, target = 'forest1'}
 
31
                      Transition:new{x = 10, y = 133, target = 'forest1',
 
32
                                     targetX = 735, targetY = 370}
32
33
                   } end
33
34
   }
34
35
}