Skip to content

Conversation

@HenryTheAddict
Copy link
Owner

@HenryTheAddict HenryTheAddict commented Dec 19, 2025

Add gameMode tracking and the mustardApocalypse minigame's initial data structure to prepare for a new round-based minigame.


Open in Cursor Open in Web


Note

Adds gameMode tracking and a full mustardApocalypse state object (player/world/combat/config) to game.js for a new minigame.

  • Game State
    • Introduces gameMode in game.js to switch between main game and mustardApocalypse.
  • Minigame Scaffold: mustardApocalypse
    • Adds comprehensive state/config: player (position, angle, movement, health), world bounds, camera/FOV, spray/shoot cooldowns, and timers.
    • Initializes arrays for splats, enemies, projectiles, and a message system.
    • Includes round/time tracking (roundNumber, timeLimitMs, startedAtMs) and rewards (scoreReward, coinReward).

Written by Cursor Bugbot for commit b52d9dc. This will update automatically on new commits. Configure here.

Co-authored-by: 1324902498a <1324902498a@gmail.com>
@cursor
Copy link

cursor bot commented Dec 19, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@HenryTheAddict HenryTheAddict marked this pull request as ready for review December 19, 2025 17:47
Add new minigame mode with unique gameplay, controls, and visuals.

Co-authored-by: 1324902498a <1324902498a@gmail.com>
@HenryTheAddict
Copy link
Owner Author

@cursoragent make earlier rounds have a easyer curve and add indication that the shop exists if you have more than 20 coins, make mustard homing attack, add evan mode in settings that doubles attack, speed, health, and removes half health, also add death wish mode that adds 3x more enamys in settings under difficulty

@cursor
Copy link

cursor bot commented Dec 19, 2025

Done (from your GitHub comment)

Easier early-round curve

  • Rounds 1–4 now ramp slower via a new getEnemiesPerRound() and gentler enemy scaling (getRoundSpeedMultiplier() + getRoundHealthBonus()).
  • This affects:
    • enemy count per round
    • enemy speed scaling
    • enemy health scaling

Shop indication at 20+ coins

  • When you have 20+ coins (and aren’t in the shop), the Shop button pulses and a small label appears: “Shop available! Press S”.
  • Implemented via #shopHint + .shop-available styling in index.html, driven by updateShopIndicator() in game.js.

Mustard homing attack

  • Mustard Apocalypse shots now home toward the nearest ketchup enemy using a smooth turn-rate (shoot.homingTurnRate), so it feels like a real homing blob, not an instant lock-on.

Evan Mode (Settings)

  • Added Evan Mode toggle in Settings → 😈 Difficulty.
  • Effect: double attack + speed + max health, but you start at half health when you toggle it on.

Death Wish mode (Settings → Difficulty)

  • Added Death Wish toggle in Settings → 😈 Difficulty.
  • Effect: 3× more enemies per round (applies to the round’s “total enemies” count and future spawns).

Files updated: index.html, game.js.


Open in Cursor Open in Web

Learn more about Cursor Agents

Co-authored-by: 1324902498a <1324902498a@gmail.com>
@HenryTheAddict
Copy link
Owner Author

add controll remapping and a boss level every 10 rounds and mustard apocolypes every round that ends with 5

add option to poop with the p key and you can only poop every 10 seconds and you can kill people by throwing it at them it kills all enemys in the whole round but its a secret that only is avalible by typing "poop" @cursor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants