Ignore:
Timestamp:
01/21/12 04:46:57 (12 years ago)
Author:
atzm
Message:
  • add bullet patterns, xreflect series
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pycodeshooter/trunk/shooter/trooper.js

    r113 r114  
    214214    this.addBullet = function(bulletType, size, color, frame, x, y, dir, speed) { 
    215215        this.bullets.push( 
    216             new bulletType(size, color, frame, this.x + x, this.y + y, dir, speed)); 
     216            new bulletType(size, color, frame, this.w, this.h, this.x + x, this.y + y, dir, speed)); 
    217217    }; 
    218218 
Note: See TracChangeset for help on using the changeset viewer.