/ld26

To get this branch, use:
bzr branch http://9ix.org/bzr/ld26
1
2
3
4
5
6
7
8
9
10
11
RealFairy = Tile:extend{
   image = 'data/realfairy.png',
   carryingPlayer = true,
   onUpdate = function (self, dt)
                 -- TODO: move player to self
                 if self.carryingPlayer then
                    the.player.x = self.x
                    the.player.y = self.y
                 end
              end
}