/traderous

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

« back to all changes in this revision

Viewing changes to main.lua

  • Committer: Josh C
  • Date: 2013-06-23 02:06:35 UTC
  • Revision ID: josh@9ix.org-20130623020635-31ov2mbrb67xe0h0
more mirror cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
 
48
48
              the.bg = Tile:new{
49
49
                 image = 'data/stars3.png',
50
 
                 width = 27320,
51
 
                 height = 15360
 
50
                 width = 13660,
 
51
                 height = 7680
52
52
              }
53
53
              self:add(the.bg)
54
54
 
62
62
 
63
63
              self:add(the.enemies)
64
64
 
65
 
              for _ = 1, 20 do
 
65
              for _ = 1, 5 do
66
66
                 local e = Enemy:new{x = math.random(the.bg.width),
67
67
                                     y = math.random(the.bg.height)}
68
68
                 --local e = Enemy:new{x=the.bg.width / 2, y=the.bg.height / 2}