/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:32:46 UTC
  • Revision ID: josh@9ix.org-20130514173246-rjq8assj79qbd6fn
explosions

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
 
86
86
              the.rockColliders = Group:new()
87
87
              the.bullets = Group:new()
88
 
              the.mirrors = Group:new()
89
 
              the.rocks = Group:new()
90
88
 
91
89
              the.bg = Tile:new{
92
90
                 image = 'data/stars3.png',
102
100
 
103
101
              --self:add(Enemy:new{x=400, y=300})
104
102
 
105
 
              self:add(the.bullets)
106
 
              self:add(the.rockColliders)
107
 
              self:add(the.mirrors)
108
 
              self:add(the.rocks)
109
 
 
110
103
              the.cursor = Cursor:new()
111
104
              self:add(the.cursor)
112
105
 
143
136
                        end
144
137
                    end
145
138
 
146
 
                    the.rocks:add(unseenRock)
 
139
                    self:add(unseenRock)
147
140
 
148
141
                    self.lastRock = love.timer.getTime()
149
142
                 end