/traderous

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

« back to all changes in this revision

Viewing changes to planet.lua

  • Committer: Josh C
  • Date: 2013-06-26 01:33:26 UTC
  • Revision ID: josh@9ix.org-20130626013326-k5uawz75pw2ujunu
s/spacey/spacey-nova/ (still need a real name...)

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
                 if pvec:len2() < hw ^ 2 then
73
73
                    self.label.visible = true
74
74
                    self.keyLabel.visible = true
75
 
                    the.player.onPlanet = self
76
75
 
77
76
                    if the.keys:justPressed('l') then
78
77
                       the.player.velocity = {x=0, y=0}
93
92
                 else
94
93
                    self.label.visible = false
95
94
                    self.keyLabel.visible = false
96
 
                    if the.player.onPlanet == self then
97
 
                       the.player.onPlanet = false
98
 
                    end
99
95
                 end
100
96
              end,
101
97
   onEndFrame = function (self)