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/system.js

    r112 r114  
    3636 */ 
    3737var DeathPiece = function(sizes, colors, x, y, dir, speed) { 
    38     var that = new LinerBullet(sizes[0], colors[0], null, x, y, dir, speed); 
     38    var that = new LinerBullet(sizes[0], colors[0], null, 
     39                               System.screen.width, System.screen.height, 
     40                               x, y, dir, speed); 
    3941 
    4042    var sizeIdx  = -1; 
     
    112114        var s = Math.ceil(Math.random() * 5); 
    113115        System.backgroundObject.push( 
    114             new LinerBullet(size, color, null, x, 0, 0.5 * Math.PI, s)); 
     116            new LinerBullet(size, color, null, 
     117                            System.screen.width, System.screen.height, 
     118                            x, 0, 0.5 * Math.PI, s)); 
    115119    } 
    116120 
Note: See TracChangeset for help on using the changeset viewer.