mirror of https://github.com/espruino/BangleApps
Update app.js
parent
11c7fd7e34
commit
fd3838dff6
|
@ -28,7 +28,7 @@ class Ball {
|
|||
}
|
||||
if (test) {
|
||||
this.velX = -this.velX;
|
||||
this.valY = (3.5 + 2 * Math.random()) * this.valY / Math.abs(this.valY);
|
||||
this.velY = (3.5 + 2 * Math.random()) * this.velY / Math.abs(this.velY);
|
||||
|
||||
if (isLeft) {
|
||||
right.follow = this;
|
||||
|
|
Loading…
Reference in New Issue