/ld27

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

« back to all changes in this revision

Viewing changes to main.lua

  • Committer: Josh C
  • Date: 2014-07-03 14:21:42 UTC
  • Revision ID: josh@9ix.org-20140703142142-2hk5ssb8szrbylht
leftover screenshot functionality I never checked in

Show diffs side-by-side

added added

removed removed

Lines of Context:
195
195
              end
196
196
           end,
197
197
   onUpdate = function (self, dt)
 
198
                 if the.keys:justPressed('f1') then
 
199
                    local ss = love.graphics.newScreenshot()
 
200
                    ss:encode('screenshot-' ..love.timer.getTime()..'.png')
 
201
                 end
198
202
              end
199
203
}