For this midterm project I chose to create a game of a garden filled with butterflies, nature-inspired environment where colorful butterflies flutter randomly across the screen. I used the spacebar to control a net that follows the cursor, to catch the butterflies making the gameplay intuitive and engaging.
The goal of the game is to catch as many butterflies as possible . Each butterfly has different colors and sizes, . I also added gentle ambient sounds, like a net sound, to create a soothing experience.
in conclusion , I aimed to create a beautiful digital garden that tests hand-eye coordination while offering a calming escape.
Future Improvements:
I believe the game could be further enhanced by adding different levels of difficulty. For example, introducing obstacles or making some butterflies faster and more evasive would add a layer of challenge. I also think that implementing a scoring system with a timer could increase replayability. Another idea is to introduce special butterflies that grant power-ups, like slowing down all butterflies or extending the catch radius of the net. Additionally, I would explore adding dynamic weather effects, such as changing skies or light rain, to create a more immersive environment. Ultimately, my goal is to refine the game by incorporating feedback and exploring new ways to engage players through both gameplay and visuals.
code im proud of:
class GameMenuDisplay { show() { butterflyMenu.move(); butterflyMenu.show(); noStroke(); fill(255, 255, 255, 200); rect(420, 20, 360, 560); // How To Play Text textSize(32); textAlign(CENTER, CENTER); fill(0); text("Catch The Butterfly", 600, 60); textSize(20); text("Game Instruction: ", 600, 220); textSize(14); text("Move the net with your mouse and\npress SPACE BAR to catch the butterflies.", 600, 280); textAlign(CENTER, CENTER); text("Click anywhere to start the game.", 600, 520); } }