/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 22:00:27 UTC
  • Revision ID: josh@9ix.org-20130428220027-uneuwd3am4wl6klk
GET FISH

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
require 'transition'
11
11
require 'displacer'
12
12
require 'inventory'
13
 
require 'flower'
14
13
require 'levels'
 
14
require 'items'
15
15
 
16
16
require 'svg_levels'
17
17
 
40
40
   draw = function (self, x, y)
41
41
             View.draw(self, x, y)
42
42
             --love.graphics.print('FPS:' .. love.timer.getFPS(), 20, 20)
43
 
             love.graphics.print('version:' .. VERSION, 20, 570)
 
43
             --love.graphics.print('version:' .. VERSION, 20, 570)
44
44
          end,
45
45
   onUpdate = function (self, dt)
46
46
              end
49
49
the.app = App:new {
50
50
   level = 'shore', --default level
51
51
   onRun = function (self)
 
52
              print('Version: ' .. VERSION)
52
53
              self.view = GameView:new{level = self.level}
53
54
              if DEBUG then
54
55
                 self.console:watch('VERSION', 'VERSION')