Bad Egg - Zombie Chicken Survival Game

Seele01-Flash
By
Bad Egg is an intense arcade survival game where you play as a heroic little egg fighting against endless waves of zombie chickens. Collect upgrades, survive the chaos, and escape to the chopper in this thrilling top-down action experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Bad Egg". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: "Egg-punk" cartoon aesthetic with Low-poly 3D models. Use bright, high-contrast colors (Oranges, Whites, Greens) similar to *Shell Shockers* to ensure visibility on small mobile screens. * **Player Character**: A white 3D Egg (sphere geometry) wearing a black skull bandana (texture) and holding a blocky assault rifle. The egg should slightly squash and stretch when moving to simulate hopping/rolling. * **Enemies (The Horde)**: "Zombie Chickens". Green and brown blocky chicken models. They must be generated using `THREE.InstancedMesh` to allow hundreds of enemies on screen without mobile lag. * **Environment**: An infinite scrolling dirt/farm ground plane with scattered low-poly obstacles (hay bales, fences) that act as collision barriers. * **Camera**: Top-down Orthographic camera (fixed angle), following the player smoothly to create a 2.5D arcade feel. * **VFX**: Simple particle explosions (feathers and yellow yolk splatters) when enemies die. Muzzle flash on the gun. ### 2. Audio Requirements * **BGM**: High-energy, fast-paced Arcade Rock/Punk track with subtle "clucking" rhythms to maintain intensity. * **Sound Effects (SFX)**: * **Shooting**: Crunchy, rapid-fire impact sounds (not too loud). * **Enemy Death**: Wet "splat" or "squish" sounds combined with a chicken squawk. * **Level Up**: A satisfying "ding" or choir chord when collecting enough XP. * **UI**: crisp mechanical clicks for button presses. * **Context**: A dramatic voice line or siren sound when the extraction helicopter arrives. ### 3. Gameplay Loop * **Survivor Mechanics**: The player moves constantly; shooting is **automatic** (targeting the nearest enemy). * **Horde Logic**: Enemies spawn just outside the camera view and move linearly toward the player. Spawn rate increases over time. * **Progression**: Killed enemies drop "Golden Yolks" (XP items). Collecting them fills a bar. When full, the game pauses, and a UI modal offers 3 random upgrades (e.g., "Twin Shot", "Faster Whisking/Reload", "Hard Boiled/Health Up"). * **Win Condition**: Survive for a set time (e.g., 3 minutes). At the end, a "Chopper" (helicopter model) lands. The player must enter the landing zone circle to win. * **Lose Condition**: If player Health (egg shell integrity) reaches 0 from enemy collisions, the game ends. ### 4. Mobile Controls & Interaction * **Movement**: strictly **Virtual Joystick** located in the bottom-left/center area of the screen. The joystick should center itself wherever the player first touches to accommodate different hand sizes. * **Orientation**: Landscape mode locked. * **UI Layout**: * **XP Bar**: Full width across the top of the screen. * **Health**: Distinct hearts or a shield bar above the player character model. * **Upgrade Menu**: Large, thumb-friendly cards (minimum 30% screen width each) appearing in the center when leveling up. * **Feedback**: * **Haptic**: Trigger `navigator.vibrate(10)` on shooting and `navigator.vibrate(50)` on taking damage. * **Visual**: Screen shake (camera jitter) when taking damage or using heavy weapons. Floating damage numbers (white text) popping off enemies. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Bad Egg is a fast-paced arcade survival game that puts you in control of one brave little egg facing an army of zombie chickens. This top-down action game combines intense survival mechanics with arcade-style gameplay, creating an addictive experience that keeps players coming back for more. The game features colorful 2D graphics and smooth animations that bring the chaotic chicken apocalypse to life.

Core Features

Intense Horde Survival Action

Face endless waves of zombie chickens in heart-pounding survival gameplay. Each wave becomes progressively more challenging, testing your reflexes and strategic thinking as you fight to stay alive.

Dynamic Upgrade System

Collect eggs scattered throughout the battlefield to unlock powerful upgrades. Choose from various enhancement options that boost your speed, firepower, and defensive capabilities, allowing you to customize your playstyle.

Leaderboard Competition

Compete with players worldwide to reach the top of the global leaderboard. Your survival skills and high scores determine your ranking in this competitive survival arena.

Free-to-Play Experience

Enjoy the complete game experience at no cost. Bad Egg is entirely free to play with no hidden fees or premium content restrictions.

Cross-Platform Compatibility

Play seamlessly on both desktop and mobile devices through your web browser. No downloads required - just open and play instantly.

Game Mechanics

Survival Objective

Your primary goal is simple yet challenging: survive until the rescue chopper arrives. Navigate through waves of zombie chickens while collecting valuable upgrades to enhance your combat effectiveness.

Combat System

Utilize various weapons and abilities to eliminate the zombie chicken threat. The top-down perspective provides excellent battlefield awareness, allowing you to plan your movements and attacks strategically.

Progression Elements

As you survive longer and collect more eggs, you'll unlock increasingly powerful upgrades. These enhancements are crucial for surviving the later, more intense waves of enemies.

Operation Guide

The game features intuitive controls designed for both keyboard and touch input:

  • WASD keys or Arrow keys : Move your egg character in all directions
  • Left-click or Touch : Select upgrades when the upgrade menu appears
  • Mouse movement : Aim your attacks (automatic shooting)

The simple control scheme ensures that players can focus on strategy and survival rather than complex input combinations.

Why Play Bad Egg

Bad Egg offers a perfect blend of accessibility and challenge that appeals to both casual and hardcore gamers. The game's unique egg-versus-zombie-chicken theme provides a humorous twist on traditional survival games, while the competitive leaderboard system adds long-term replay value.

The quick session format makes it ideal for short gaming breaks, while the addictive progression system encourages longer play sessions. Whether you're looking for a few minutes of arcade action or an extended survival challenge, Bad Egg delivers engaging gameplay that scales to your available time.

Perfect for All Skill Levels

New players can jump in immediately thanks to the straightforward controls and clear objectives, while experienced gamers will appreciate the strategic depth of the upgrade system and the increasing difficulty curve.

Frequently Asked Questions (FAQ)