/traderous

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

« back to all changes in this revision

Viewing changes to game_over.lua

  • Committer: Josh C
  • Date: 2013-06-25 21:47:47 UTC
  • Revision ID: josh@9ix.org-20130625214747-bqjfaktdqj76aq8o
game over timer & penalty

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
              self:add(self.timer)
49
49
           end,
50
50
   onUpdate = function (self)
51
 
                 local time = math.floor(self.died + 5.9 - love.timer.getTime())
 
51
                 local time = math.floor(self.died + 5 - love.timer.getTime())
52
52
 
53
53
                 self.timer.text = 'Respawning in ' .. time .. '...'
54
54
 
66
66
 
67
67
                    the.app.view.focus = the.player
68
68
 
69
 
                    love.mouse.setPosition(the.app.width / 2, the.app.height / 2)
70
 
 
71
69
                    the.interface:remove(self)
72
70
                 end
73
71
              end