diff --git a/sketch.js b/sketch.js index 41164fb..4171510 100644 --- a/sketch.js +++ b/sketch.js @@ -285,7 +285,7 @@ function startGame(level_start) { } }, }; - cameraPosX = gameChar.x; + cameraPosX = gameChar.x - width/2; // Creating trees, clouds, mountains, rivers, collectables. { // Creating trees, clouds, mountains, rivers, collectables, platforms, enemies. @@ -474,7 +474,7 @@ function draw() { else gameChar.sprite = 1; } } - // Depicting plummeting + // Doing plummeting if (gameChar.isPlummeting) { gameChar.y += 3; }