Updated lateral speed
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user