/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:17:35 UTC
  • Revision ID: josh@9ix.org-20131214171735-aenlrspqbem3104g
screenshots

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
62
68
}