Updated lateral speed

This commit is contained in:
Thibault Blanc Beyne 2018-08-22 14:05:28 +02:00
parent 743282db43
commit 9f3070e526
1 changed files with 1 additions and 1 deletions

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;
} }