From f42513b4db58c7045db60861e3fefa0031b7f98a Mon Sep 17 00:00:00 2001 From: heybobjones Date: Wed, 26 Jun 2024 00:49:24 +0800 Subject: [PATCH] 61 --- script.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script.js b/script.js index 5a69851..23e695a 100644 --- a/script.js +++ b/script.js @@ -207,7 +207,7 @@ function moveObstacles() { switch(obstacle.type) { case 'crypto': - obstacle.y += Math.sin(obstacle.x * 0.1) * 2; + obstacle.y += Math.sin(obstacle.x * 0.4) * 2; break; case 'onlyfans': const dx = player.x - obstacle.x; @@ -218,8 +218,8 @@ function moveObstacles() { break; case 'marketer': if (Math.random() < 0.001 && obstacle.radius > 15) { - obstacle.radius *= 0.7; - obstacles.push({...obstacle, y: obstacle.y + 30}); + obstacle.radius *= 0.9; + obstacles.push({...obstacle, y: obstacle.y + 40}); } break; case 'fitness':