Updated lateral speed
This commit is contained in:
parent
743282db43
commit
9f3070e526
|
@ -65,7 +65,7 @@ class Box {
|
|||
|
||||
if (this.jumpCounter > 0) {
|
||||
this.jumpCounter--;
|
||||
this.speedX = MAX_SPEED * x;
|
||||
this.speedX = MAX_SPEED * x * 0.8;
|
||||
this.speedY = MAX_SPEED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue