/spacey

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

« back to all changes in this revision

Viewing changes to player.lua

  • Committer: Josh C
  • Date: 2013-05-07 21:30:17 UTC
  • Revision ID: josh@9ix.org-20130507213017-i9xbjk0qjjqe91dk
constant velocity for bullets.  using hump.vector e9b86ef 

Show diffs side-by-side

added added

removed removed

43
43
                           b = Bullet:new{
44
44
                              x = self.x, y = self.y,
45
45
                              rotation = self.rotation,
46
 
                              velocity = {
47
 
                                 x = self.velocity.x * 1.5,
48
 
                                 y = self.velocity.y * 1.5
49
 
                              },
50
46
                           }
51
47
                           the.app.view:add(b)
52
48
                           self.lastFired = love.timer.getTime()