From 9f3070e52686aa306759bc0827c8bc607eadd013 Mon Sep 17 00:00:00 2001 From: Thibault Blanc Beyne Date: Wed, 22 Aug 2018 14:05:28 +0200 Subject: [PATCH] Updated lateral speed --- src/box.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/box.js b/src/box.js index be05ae9..686739a 100644 --- a/src/box.js +++ b/src/box.js @@ -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; }