/spacey

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

« back to all changes in this revision

Viewing changes to main.lua

  • Committer: Josh C
  • Date: 2013-05-14 17:13:43 UTC
  • Revision ID: josh@9ix.org-20130514171343-s251e971hc92mzb0
shoot things!

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
              --    end
84
84
              -- end
85
85
 
 
86
              the.rockColliders = Group:new()
 
87
              the.bullets = Group:new()
 
88
 
86
89
              the.bg = Tile:new{
87
90
                 image = 'data/stars3.png',
88
91
                 -- 1366x768 * 3
137
140
 
138
141
                    self.lastRock = love.timer.getTime()
139
142
                 end
 
143
 
 
144
                 the.bullets:collide(the.rockColliders)
140
145
              end,
141
146
   draw = function (self, x, y)
142
147
             View.draw(self, x, y)