/spacey

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

« back to all changes in this revision

Viewing changes to player.lua

  • Committer: Josh C
  • Date: 2013-05-09 00:35:25 UTC
  • Revision ID: josh@9ix.org-20130509003525-ad51iyqb2j9eg1wl
get lasers going the right way

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
}
21
21
 
22
22
local velLimit = 600
 
23
--local velLimit = 50
23
24
SpacePlayer = Tile:extend{
24
25
   image = 'data/ship.png',
25
26
   maxVelocity = {x=velLimit,y=velLimit},
43
44
                           --print('pew')
44
45
                           b = Bullet:new{
45
46
                              x = self.x, y = self.y,
46
 
                              rotation = self.rotation,
47
47
                           }
48
48
                           the.app.view:add(b)
49
49
                           self.lastFired = love.timer.getTime()