Changeset 101 for pycodeshooter


Ignore:
Timestamp:
01/23/11 00:03:20 (14 years ago)
Author:
atzm
Message:

chousei

File:
1 edited

Legend:

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

    r95 r101  
    6363    var that = new LinerBullet(size, color, x, y, dir, speed); 
    6464 
    65     that.dx = that.speed * that.deltaBaseX / 2; 
    66     that.dy = that.speed * that.deltaBaseY / 2; 
     65    that.dx = that.speed * that.deltaBaseX / 1.5; 
     66    that.dy = that.speed * that.deltaBaseY / 1.5; 
    6767 
    6868    that.getDeltaX = function() { 
     
    8585    that.i = 1; 
    8686    that.getAxisDeltaX = function() { 
    87         return this.getCurrentDelta(this.i, 2); 
     87        return this.getCurrentDelta(this.i, 1.5); 
    8888    }; 
    8989    that.getAxisDeltaY = function() { 
    90         return this.getCurrentDelta(this.i++, 2); 
     90        return this.getCurrentDelta(this.i++, 1.5); 
    9191    }; 
    9292 
     
    9999    that.i = 1; 
    100100    that.getAxisDeltaX = function() { 
    101         return this.getCurrentDelta(this.i, 2); 
     101        return this.getCurrentDelta(this.i, 1.5); 
    102102    }; 
    103103    that.getAxisDeltaY = function() { 
    104         return 1 / this.getCurrentDelta(this.i++, 2); 
     104        return 1 / this.getCurrentDelta(this.i++, 1.5); 
    105105    }; 
    106106 
Note: See TracChangeset for help on using the changeset viewer.