/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-15 19:47:43 UTC
  • Revision ID: josh@9ix.org-20131215194743-ye0rbul4qruqau4g
title screen

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
 
80
80
                    the.player.moved = false
81
81
                 end
 
82
 
 
83
                 if the.keys:justPressed('escape', 'q') then
 
84
                    the.app:quit()
 
85
                 end
82
86
              end,
83
87
}
84
88
 
148
152
                    local ss = love.graphics.newScreenshot()
149
153
                    ss:encode('screenshot-' ..love.timer.getTime()..'.png')
150
154
                 end
151
 
 
152
 
                 if the.keys:justPressed('escape', 'q') then
153
 
                    the.app:quit()
154
 
                 end
155
155
              end
156
156
}