/ld28

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

« back to all changes in this revision

Viewing changes to main.lua

  • Committer: Josh C
  • Date: 2013-12-14 17:35:23 UTC
  • Revision ID: josh@9ix.org-20131214173523-8g4gd5hlk4fix1r6
collision

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
                       np:doMove()
37
37
                    end
38
38
 
 
39
                    the.clones:collide()
 
40
                    the.clones:collide(the.player)
 
41
 
39
42
                    the.player.moved = false
40
43
                 end
41
44
 
59
62
                 self.console.fill.fill[4] = 75
60
63
              end
61
64
           end,
 
65
   onUpdate = function (self, dt)
 
66
                 if the.keys:justPressed('f1') then
 
67
                    local ss = love.graphics.newScreenshot()
 
68
                    ss:encode('screenshot-' ..love.timer.getTime()..'.png')
 
69
                 end
 
70
              end
62
71
}