Blockheads - Online Multiplayer Block Shooter

Seele01-Flash
By
Blockheads is an exciting blocky first-person shooter where you battle other players online in fast-paced multiplayer combat. Race through weapon upgrades while taking down opponents in this thrilling block-style arena shooter.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Blockheads: Voxel FPS Gun Game**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** High-contrast Voxel Art / Low-poly aesthetic similar to Minecraft or Crossy Road. Characters should be blocky figures with distinct, expressive 2D pixel-art faces texture-mapped onto the front of their head cubes (e.g., a smiley face, a clown mask, a hockey mask). * **Environment:** A compact, arena-style map (like a warehouse or a small city block) constructed from modular voxel cubes. Use bright, saturated colors for walls and floors to ensure high visibility on small mobile screens. * **Weapon Models:** Chunky, blocky guns (Pistol, SMG, Shotgun, Sniper) that are distinct in silhouette. * **Optimization (Mobile Priority):** Use simple geometry (BoxGeometries) for all characters and terrain. Limit the draw calls by merging static geometries where possible. Use basic Lambert or Phong materials rather than expensive PBR shaders to ensure 60FPS on mobile browsers. * **Visual Feedback:** When a player is hit, emit blocky red particle effects. When a gun is fired, show a simple muzzle flash geometry. ### 2. Audio Requirements * **BGM:** An energetic, 8-bit chiptune mixed with a modern drum and bass beat to keep the pace fast and arcade-like. * **SFX:** * *Shooting:* Crunchy, distinct sounds for each weapon tier (e.g., a "pew" for pistols vs. a heavy "thud" for snipers). * *Impact:* A satisfying "thwack" sound when bullets hit enemies. * *UI:* A retro "level up" chime when the weapon upgrades. * *Movement:* Subtle footstep sounds that change based on the surface type (optional). ### 3. Gameplay Loop * **Core Mode (Gun Game):** The player starts with a basic pistol. Every time they score a kill, their weapon immediately upgrades to the next tier (Pistol -> SMG -> Shotgun -> Assault Rifle -> Sniper -> Knife). The first player to get a kill with the final weapon wins. * **Bot Logic:** Since this is a browser demo, simulate multiplayer by adding 3-5 AI bots that patrol the map, aim at the player when in line-of-sight, and shoot. * **Upgrade System:** Implement a lightweight progression stat. After a match, display a "Shop" UI where earned "points" can be simulated to upgrade "Health," "Movement Speed," or "Ammo Regen." * **Respawn:** Infinite respawns. When the player dies, they respawn at a random spawn point after 3 seconds, but their weapon tier does not downgrade. ### 4. Mobile Controls & Interaction * **Orientation:** **Landscape Mode** only. * **Touch Controls (On-Screen Overlay):** * *Left Thumb:* A dynamic virtual joystick for movement (WASD logic). The center floats to where the thumb first touches the left half of the screen. * *Right Thumb Area:* Drag anywhere on the right half of the screen to aim (rotate camera). * *Action Buttons:* Large, distinct circular buttons on the right side overlay: * **Fire Button:** The largest button, placed comfortably for the right thumb. * **Jump Button:** Placed slightly above or to the left of the fire button. * **Reload Button:** A smaller icon near the top right. * **Auto-Fire Option:** To improve mobile accessibility, implement a "Auto-Shoot" toggle (if the crosshair hovers over an enemy for 0.2s, the gun fires automatically). * **UI Layout:** * Top Left: Radar/Mini-map. * Top Center: Current Weapon Icon and Tier (e.g., "Weapon: 3/6"). * Top Right: Kill Feed. * Center: A prominent crosshair that turns red when hovering over an enemy. * **Feedback:** Add slight camera shake on shooting and screen red flash on taking damage. Use `navigator.vibrate` (if available) for haptic feedback when shooting or getting hit. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Blockheads

Blockheads is a dynamic multiplayer first-person shooter that combines the beloved blocky aesthetic with intense competitive gameplay. This free-to-play browser game drops you into action-packed battles where you'll compete against real players from around the world in a race to dominate the battlefield.

The game features a unique weapon progression system where you advance through different firearms by eliminating opponents. Each successful takedown brings you closer to more powerful weapons, creating an exciting risk-reward gameplay loop that keeps every match fresh and competitive.

Core Features

Multiplayer Combat System

Engage in real-time battles with players worldwide. The game's matchmaking system ensures balanced competition, pairing you with opponents of similar skill levels for fair and exciting matches.

Progressive Weapon System

Start with basic firearms and work your way up to devastating high-tier weapons. Each elimination advances your weapon tier, but getting eliminated sends you back down the ladder, creating intense strategic gameplay.

Character Upgrade System

Utilize the comprehensive upgrade system to enhance your Blockhead's capabilities: - Health Boost : Increase your survivability in firefights - Speed Enhancement : Move faster to outmaneuver opponents - Regeneration : Recover health more quickly between encounters - Additional Upgrades : Various other enhancements to give you the competitive edge

Cross-Platform Accessibility

Play seamlessly across desktop computers, smartphones, and tablets. The game is optimized for both mouse-and-keyboard and touch controls, ensuring smooth gameplay regardless of your device.

Game Modes and Features

Battle Royale Style Competition

Fight to be the last Blockhead standing in intense free-for-all matches. The blocky arena provides multiple strategic positions and cover opportunities for tactical gameplay.

Real-Time Multiplayer

No bots here - every opponent is a real player, making each match unpredictable and challenging. The game's netcode ensures smooth online play with minimal lag.

Operation Guide

Desktop Controls

  • Movement : Use WASD keys or arrow keys to navigate the battlefield
  • Shooting : Left mouse button to fire your weapon
  • Reloading : Press R key to reload your current weapon
  • Jumping : Spacebar for jumping and navigating terrain

Mobile Controls

The mobile version features intuitive on-screen buttons designed for touch gameplay: - Virtual joystick for movement - Fire button for shooting - Dedicated reload and jump buttons - Optimized UI for smaller screens

Why Play Blockheads

Completely Free Experience

Enjoy the full game experience without any cost. No premium subscriptions, no pay-to-win mechanics - skill and strategy determine victory.

No Download Required

Jump straight into action through your web browser. The game loads quickly and runs smoothly without installation hassles.

Regular Updates

The game receives ongoing improvements, new features, and balance updates to keep the gameplay fresh and competitive.

Perfect for Quick Sessions

Matches are designed for quick, intense gameplay sessions - perfect for gaming breaks or extended play sessions alike.

Community Competition

Join a growing community of block shooter enthusiasts. Compete in leaderboards and prove your skills against players worldwide.

Getting Started

Beginning your Blockheads journey is simple: load the game in your browser, choose your Blockhead character, and dive into battle. The tutorial will guide you through basic controls and gameplay mechanics, but mastery comes through practice and strategic thinking.

Focus on positioning, accuracy, and smart use of the upgrade system to climb the weapon tiers and dominate your opponents.

Frequently Asked Questions (FAQ)