Skip to content

Commit

Permalink
61
Browse files Browse the repository at this point in the history
  • Loading branch information
heybobjones committed Jun 25, 2024
1 parent 3c776f0 commit f42513b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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':
Expand Down

0 comments on commit f42513b

Please sign in to comment.