/traderous

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

« back to all changes in this revision

Viewing changes to main.lua

  • Committer: Josh C
  • Date: 2013-05-24 03:14:13 UTC
  • Revision ID: josh@9ix.org-20130524031413-b7104z7wa1zpavzd
thrust indicator

Show diffs side-by-side

added added

removed removed

Lines of Context:
259
259
              math.randomseed(os.time())
260
260
 
261
261
              self.view = GameView:new()
262
 
 
263
 
              -- try going fullscreen.  should fail silently if it
264
 
              -- can't go to fullscreen.
265
 
              love.graphics.toggleFullscreen()
266
 
 
267
262
              if DEBUG then
268
263
                 self.console:watch('VERSION', 'VERSION')
269
264
                 self.console:watch('updateTook', 'the.updateTook')
284
279
                    self.quit()
285
280
                 elseif the.keys:justPressed('return') then
286
281
                    self.view = GameView:new()
287
 
                 elseif the.keys:justPressed('f1') then
288
 
                    local ss = love.graphics.newScreenshot()
289
 
                    ss:encode('screenshot-' ..love.timer.getTime()..'.png')
290
282
                 end
291
283
              end,
292
284
   update = function (self, dt)