/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-23 02:28:12 UTC
  • Revision ID: josh@9ix.org-20130623022812-zhz3azvff45bgsw1
bigger space, slower movement, maintain enemy density

Show diffs side-by-side

added added

removed removed

47
47
 
48
48
              the.bg = Tile:new{
49
49
                 image = 'data/stars3.png',
50
 
                 width = 13660,
51
 
                 height = 7680
 
50
                 width = 27320,
 
51
                 height = 15360
52
52
              }
53
53
              self:add(the.bg)
54
54
 
62
62
 
63
63
              self:add(the.enemies)
64
64
 
65
 
              for _ = 1, 5 do
 
65
              for _ = 1, 20 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}