/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:11:27 UTC
  • Revision ID: josh@9ix.org-20130626011127-7e7z5ed0r0xmtva3
show planet labels, get better names

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)