/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 05:24:01 UTC
  • Revision ID: josh@9ix.org-20131214052401-8b2cma95lsvw7avq
rename NotPlayer to Clone cuz they're clones, and it's way too early 
for a class name like NotPlayer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
                 self.console.fill.fill[4] = 75
60
60
              end
61
61
           end,
62
 
   onUpdate = function (self, dt)
63
 
                 if the.keys:justPressed('f1') then
64
 
                    local ss = love.graphics.newScreenshot()
65
 
                    ss:encode('screenshot-' ..love.timer.getTime()..'.png')
66
 
                 end
67
 
              end
68
62
}