/traderous

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

« back to all changes in this revision

Viewing changes to bullet.lua

  • Committer: Josh C
  • Date: 2013-06-10 23:43:01 UTC
  • Revision ID: josh@9ix.org-20130610234301-7psv1434q7dacikh
make bullets not wrap

Show diffs side-by-side

added added

removed removed

1
1
-- TODO: these need to come out of a factory
2
2
 
3
 
Bullet = WrapTile:extend {
 
3
Bullet = Tile:extend {
4
4
   image = 'data/laser.png',
5
5
   onNew = function(self)
6
6
              --self.velocity = vector.new(1000, 0) -- veclocity 800