/spacey

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

« back to all changes in this revision

Viewing changes to player.lua

  • Committer: Josh C
  • Date: 2013-05-20 01:09:55 UTC
  • Revision ID: josh@9ix.org-20130520010955-8kzcxxe7sa8pdk8e
don't keep spawning rocks after death.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
                        text = "Game Over" }
82
82
                     the.app.view:add(over)
83
83
 
84
 
                     the.app.view:updateScore()
85
 
 
 
84
                     --the.storage.data.highScore
86
85
                     local score = love.timer.getTime() - the.app.view.gameStart
87
86
                     if score > the.storage.data.highScore then
88
87
                        the.storage.data.highScore = score