Boxhead 2Play - Two Player Zombie Shooter

Seele01-Flash
By
Boxhead 2Play is an exciting free online zombie shooter that lets you team up with a friend or battle solo against hordes of undead enemies. Customize your character, unlock powerful weapons, and survive intense multiplayer combat.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Boxhead Zombie Survival". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Low-poly "Voxel" aesthetic similar to *Minecraft* or the original *Boxhead* Flash games. All characters must be constructed from simple `BoxGeometry`. * **Player Model:** A simple compound mesh consisting of a cubic head (skin color), a rectangular body (soldier green), and separate cubic arms/legs. * **Enemy Models (Zombies):** Pale white/grey boxy characters with red glowing eyes. They should have a "shuffling" walking animation (limbs rotating slightly). * **Environment:** A grey concrete arena floor with a grid texture for depth perception. Place random crates/barrels (`BoxGeometry` with wood texture colors) as obstacles. * **VFX:** * **Gore:** When zombies die, spawn an explosion of red cubic particles (blood). Use `InstancedMesh` for these particles to ensure 60fps performance on mobile. * **Muzzle Flash:** A yellow point light/plane appearing briefly at the gun barrel when firing. * **Camera:** Isometric Top-Down view (OrthographicCamera preferred for the retro feel), strictly following the player with a slight smooth dampening. ### 2. Audio Requirements * **BGM:** Generate a fast-paced, looped synthesized track (using a library like Tone.js or simple oscillators if external assets aren't used) reminiscent of arcade action games. * **SFX:** * **Shooting:** Short, punchy square wave bursts. * **Zombie Death:** A low-pitch "crunch" or squish sound. * **Hit Feedback:** A high-pitch "thud" when the player takes damage. ### 3. Gameplay Loop * **Core Mechanism:** Wave-based survival. The player spawns in the center. Zombies spawn from the four edges of the map. * **Combat:** The player has a basic pistol (infinite ammo) and can find "Weapon Crates" (colored boxes) that grant temporary upgrades (Shotgun - spread shot, Uzi - rapid fire). * **AI Behavior:** Zombies use simple flocking or direct pathfinding towards the player. They deal damage upon collision. * **Win/Loss:** * **Game Over:** When Player HP reaches 0. Show a "You Died" overlay with a Restart button. * **Scoring:** +100 points per kill. Display current Wave number and Score at the top. ### 4. Mobile Controls & Interaction * **Control Scheme:** **Virtual Twin-Stick Shooter Controls**. * **Left Joystick:** Controls character movement (WASD logic mapped to touch). * **Right Joystick:** Controls rotation/aiming. **Auto-shoot** mechanism: The weapon fires automatically while the right stick is being held/aimed. * **Orientation:** Force **Landscape** mode logic (resize renderer to fit width/height properly). * **UI Layout:** * Joysticks positioned in the bottom-left and bottom-right corners (with transparency to not block view). * Health Bar: Wide bar at the top center of the screen. * Score/Wave: Large text in the top-left or top-right, safe from notch areas. * **Feedback:** Add `window.navigator.vibrate(20)` (if supported) whenever the player shoots or takes damage for tactile feedback. 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 2Play is a thrilling free online combat game that combines zombie survival with intense multiplayer action. With an impressive 4.45/5 rating, this game delivers heart-pounding gameplay where you can either face the undead alone or team up with a friend for the ultimate cooperative experience. The game features charming blocky graphics that blend cute character designs with bloody zombie action, creating a unique and engaging visual style.

Core Features

Multiplayer Zombie Combat

Boxhead 2Play stands out from other zombie games by offering seamless two-player cooperation . Share the game link with a friend and become an unstoppable duo, fighting back-to-back against waves of zombies and other players from around the world.

Character Customization System

Unlock and customize your character with: - Weapons and upgrades to enhance your combat effectiveness - Cool skins and character appearances to stand out on the battlefield - Equipment loadouts tailored to your preferred playstyle

Cross-Platform Accessibility

  • Completely free with no hidden costs or premium content
  • Browser-based gameplay - no downloads or installations required
  • Instant multiplayer - connect with friends anywhere in the world
  • All ages content suitable for players of every skill level

Dynamic Combat System

Experience intense real-time battles against both AI zombies and human players. The game's unique blend of cooperative and competitive elements means you'll face: - Solo players testing their individual skills - Coordinated duos working as teams - Unpredictable human opponents that require strategy and quick thinking

Gameplay Mechanics

The game features top-down shooter mechanics with smooth character movement and responsive combat controls. Players navigate through various environments while battling endless waves of zombies, collecting power-ups, and competing against other online players in real-time matches.

Strategic Depth

Unlike basic AI opponents, human players bring unpredictability and advanced tactics to every match. Success requires: - Quick reflexes and accurate shooting - Strategic positioning and movement - Effective communication with your teammate - Adaptive strategies for different opponent types

How to Play

Movement Controls: - WASD keys or Arrow keys for character movement - Navigate around obstacles and position strategically

Combat Controls: - Spacebar to shoot your equipped weapon - Aim carefully to conserve ammunition - Time your shots for maximum effectiveness

Multiplayer Setup: - Share the game link with a friend for cooperative play - Choose between local same-room play or online coordination - Communicate and coordinate your attacks for best results

Why Play Boxhead 2Play

This game offers the perfect combination of accessible gameplay and competitive depth . Whether you're looking for a quick gaming session with a friend or want to test your skills against players worldwide, Boxhead 2Play delivers exceptional entertainment value. The free-to-play model means you can jump right into the action without any barriers, while the multiplayer focus ensures every game feels fresh and challenging.

The charming blocky art style makes the game approachable for all ages, while the strategic combat keeps experienced gamers engaged. It's the ideal choice for anyone seeking cooperative zombie action or competitive multiplayer shooting.

Frequently Asked Questions (FAQ)