Mercurial > hg > Game > WebGL
view Walk/resources/bullet.js @ 8:49b0d0c7d613 default tip
fix drawObj
author | dimolto |
---|---|
date | Thu, 19 Apr 2012 16:29:13 +0900 |
parents | 718974a1a32b |
children |
line wrap: on
line source
bullet_move = function(node, sgroot, w, h){ this.xyz[0] += this.dx this.xyz[1] += this.dy this.xyz[2] += this.dz this.frame++ if(this.frame > 400){ this.remove(this) } }