Boxhead - The Zombie Wars

Seele01-Flash
By
Boxhead - The Zombie Wars is an intense top-down zombie survival shooter where you battle endless hordes of undead enemies. Build defensive barricades, collect powerful weapons, and test your survival skills in this action-packed browser game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Boxhead - The Zombie Wars". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Voxel / Low-poly aesthetic. All characters (Player and Zombies) should be constructed from simple geometric primitives (mostly cubes/boxes) to mimic the classic "Boxhead" style. * **Characters:** * **Player:** A distinct box-character (e.g., wearing a headband or distinct color) holding a weapon. * **Zombies:** Hordes of uniform box-characters (white shirts, dark pants, pale skin). Use `THREE.InstancedMesh` to render hundreds of zombies efficiently on mobile devices. * **Environment:** A top-down isometric view of a grassy arena enclosed by natural rock formations or walls. The ground texture should be a tiling grass pattern. * **Visual Effects (FX):** * **Gore:** When zombies die, generate persistent red "blood splatter" plane geometries flat on the ground (Decals). This is a core visual element. * **Muzzle Flash:** Bright yellow/orange cone or sprite appearing at the gun barrel when firing. * **Explosions:** Simple particle systems for barrel explosions or grenade impacts. ### 2. Audio Requirements * **BGM:** A fast-paced, adrenaline-inducing electronic or rock loop to maintain tension. * **Sound Effects (SFX):** * **Weaponry:** Distinct sounds for Pistol (sharp crack), Shotgun (boom), and Uzi (rapid fire). * **Zombies:** Groans/moans when spawning or approaching; a wet "squish" or impact sound when killed. * **Environment:** Thud sound when placing a barricade. * **UI:** Arcade-style "ding" or pitch-shifting sound as the score multiplier increases. ### 3. Gameplay Loop * **Core Mechanic:** Endless survival. The player starts in the center of the map. Zombies spawn from the edges and pathfind towards the player. * **Combat:** The player must shoot zombies to survive. Weapons include a starting Pistol, upgradable to Uzi, Shotgun, and Grenades. * **Defense Mechanic:** The player can place "Box Barricades" to block zombie pathfinding, creating choke points. * **Scoring System:** * Points per kill. * **Combo System:** A visible multiplier (e.g., "x10", "x24") that increases with rapid kills and decays if the player stops killing. Higher combo = distinct visual feedback (bigger numbers). * **Win/Loss:** Game Over if the player's health reaches zero. No "Win" condition (High Score chase). ### 4. Mobile Controls & Interaction * **Orientation:** Landscape Mode (Required for Twin-Stick layout). * **Control Scheme (Twin-Stick Shooter):** * **Left Virtual Joystick:** Controls character movement (WASD logic). * **Right Virtual Joystick:** Controls aiming direction and auto-fires when held/pushed. * **Action Buttons:** * **Weapon Cycle:** A circular button (icon: gun) to cycle through available weapons. * **Build Button:** A dedicated button (icon: box) to place a barricade at the player's current location (with a slight cooldown). * **Camera:** Fixed isometric camera that smoothly follows the player with a slight dampening effect (lerp), ensuring the player is always visible but allows seeing upcoming enemies. * **Feedback:** * **Haptic:** Trigger device vibration (using `navigator.vibrate`) when the player takes damage or kills a large group (explosions). * **Visual:** Screen shake effect (camera jitter) on explosions or taking damage. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Boxhead - The Zombie Wars is a thrilling top-down zombie survival shooter that has captivated players with its intense action and strategic gameplay. In this blood-pumping adventure, you'll face wave after wave of relentless zombies while collecting an arsenal of devastating weapons to defend yourself.

The game features a distinctive pixelated art style that perfectly captures the chaotic atmosphere of a zombie apocalypse. With its fast-paced combat and strategic elements, Boxhead offers an engaging experience that keeps players coming back for more zombie-slaying action.

Core Features

Multiple Game Modes

Choose between Classic Mode for pure zombie-slaying action or Defense Mode where you can build anti-zombie barricades to create strategic defensive positions. Each mode offers unique challenges and gameplay mechanics.

Extensive Weapon Arsenal

Discover and wield a variety of powerful weapons, from basic pistols to explosive rocket launchers. Each weapon has distinct damage output, range, and special effects, allowing you to adapt your strategy to different zombie threats.

Strategic Barricade System

In Defense Mode, construct barricades and defensive structures to control zombie movement and create kill zones. Smart placement of barriers can mean the difference between survival and becoming zombie food.

Endless Zombie Waves

Face increasingly difficult waves of zombies, each more challenging than the last. The game progressively introduces new zombie types and larger hordes to test your survival skills.

Free Browser Gaming

Enjoy completely free gameplay directly in your web browser without any downloads or installations required. The game runs smoothly on both desktop and mobile devices.

Game Mechanics

Zombie Combat System

Engage in fast-paced combat against various zombie types, each with different movement speeds, health levels, and attack patterns. Master the art of crowd control as you thin out massive zombie hordes.

Weapon Switching

Quickly switch between different weapons using number keys to adapt to changing combat situations. Whether you need rapid-fire assault or explosive area damage, having the right weapon ready is crucial.

Survival Strategy

Balance aggressive offense with tactical positioning. Use the environment to your advantage, funnel zombies into chokepoints, and manage your ammunition wisely to survive longer.

How to Play

Basic Controls

  • Arrow Keys : Move your character in all four directions
  • Spacebar : Fire your current weapon at nearby zombies
  • Number Keys (1-9) : Switch between available weapons in your arsenal
  • Mouse : Aim and target specific zombie locations

Gameplay Tips

  • Collect new weapons by walking over them during combat
  • Use barricades strategically to create defensive chokepoints
  • Keep moving to avoid being surrounded by zombie hordes
  • Save powerful weapons like explosives for large groups
  • Monitor your ammunition and plan weapon switches accordingly

Why Play Boxhead Zombie Wars

This game stands out in the zombie survival genre for several compelling reasons:

Immediate Action : Jump straight into intense zombie combat without complicated tutorials or storylines. The game delivers pure, adrenaline-pumping action from the first moment.

Strategic Depth : While easy to learn, the game offers surprising tactical depth through its barricade system and weapon management mechanics.

Replayability : With random zombie spawn patterns and multiple game modes, each playthrough feels fresh and challenging.

Nostalgic Appeal : The classic pixel art style and straightforward gameplay evoke the golden age of arcade shooters while adding modern zombie survival elements.

Accessibility : Completely free to play with no barriers to entry - just open your browser and start shooting zombies immediately.

Frequently Asked Questions (FAQ)