/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:59:03 UTC
  • Revision ID: josh@9ix.org-20131215195903-3pb7rnz9xow0wkc9
move quit keybindings to app

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
86
82
              end,
87
83
}
88
84
 
152
148
                    local ss = love.graphics.newScreenshot()
153
149
                    ss:encode('screenshot-' ..love.timer.getTime()..'.png')
154
150
                 end
 
151
 
 
152
                 if the.keys:justPressed('escape', 'q') then
 
153
                    the.app:quit()
 
154
                 end
155
155
              end
156
156
}