Commit d27477b2 by doszhang

dos

parent 85492bf8
......@@ -149,12 +149,12 @@ function Particle() {
}
Particle.prototype = {
gravity: 0.3,
gravity: 0.01,
move: function () {
this.x += this.vx;
this.vy += this.gravity;
this.y += this.vy;
this.alpha -= 0.01;
this.alpha -= 0.001;
if (this.x <= -this.w || this.x >= canvas.width ||
this.y >= canvas.height ||
this.alpha <= 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment