/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-28 02:02:58 UTC
  • Revision ID: josh@9ix.org-20130428020258-u7iwtprl6maa4634
village, lake

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
require 'player'
10
10
require 'transition'
11
11
require 'displacer'
12
 
require 'inventory'
13
 
require 'flower'
14
 
 
15
12
require 'svg_levels'
16
13
 
17
14
levels = {
64
61
                 self:add(obj)
65
62
              end
66
63
 
67
 
              self:add(the.inventory)
68
 
 
69
64
              self:flash({0,0,0})
70
65
 
71
66
              --self.focus = the.player
73
68
           end,
74
69
   draw = function (self, x, y)
75
70
             View.draw(self, x, y)
76
 
             --love.graphics.print('FPS:' .. love.timer.getFPS(), 20, 20)
 
71
             love.graphics.print('FPS:' .. love.timer.getFPS(), 20, 20)
77
72
             love.graphics.print('version:' .. VERSION, 20, 570)
78
73
          end,
79
74
   onUpdate = function (self, dt)