/traderous

To get this branch, use:
bzr branch /bzr/traderous

« back to all changes in this revision

Viewing changes to main.lua

  • Committer: Josh C
  • Date: 2013-06-11 00:18:49 UTC
  • Revision ID: josh@9ix.org-20130611001849-jqr0t1zzhhvcjxjo
put player in center of map

Show diffs side-by-side

added added

removed removed

109
109
              self:add(the.planets)
110
110
 
111
111
              --the.player = CrystalPlayer:new{x=400,y=300}
112
 
              the.player = SpacePlayer:new{x=1366,y=768}
 
112
              the.player = SpacePlayer:new{x=the.bg.width / 2, y=the.bg.height / 2}
113
113
              self:add(the.player)
114
114
              self:add(the.player.thrust)
115
115