Updated lateral speed

This commit is contained in:
2018-08-22 14:05:28 +02:00
parent 743282db43
commit 9f3070e526
+1 -1
View File
@@ -65,7 +65,7 @@ class Box {
if (this.jumpCounter > 0) { if (this.jumpCounter > 0) {
this.jumpCounter--; this.jumpCounter--;
this.speedX = MAX_SPEED * x; this.speedX = MAX_SPEED * x * 0.8;
this.speedY = MAX_SPEED; this.speedY = MAX_SPEED;
} }