Toon Off - 3D Multiplayer FPS War Game

Seele01-Flash
By
Toon Off is an intense 3D multiplayer first-person shooter featuring World War 2 themed battles with capture-the-flag gameplay. Team up with friends to storm enemy bases and secure victory in this free browser-based FPS experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Toon Off: Mobile Front**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Create a **Low-Poly Voxel/Blocky aesthetic** (similar to Minecraft or Crossy Road but with higher fidelity). Characters should be blocky soldiers with distinct Red or Blue headbands/uniforms to distinguish teams. * **Map Design:** A stylized **World War 2 European town**. Key elements include a central stone bridge, simple blocky buildings with "European" signage, sandbag barricades, and stylized trees. * **Lighting & Atmosphere:** Implement a **Day/Night cycle** that transitions slowly. Lighting should be somewhat desaturated to mimic a war movie but maintain the "Toon" brightness. Use soft shadows. * **Mobile Optimization:** * Use `InstancedMesh` for repetitive elements like trees, sandbags, and paving stones to reduce draw calls. * Texture atlas usage to minimize texture swaps. * Limit dynamic lights; rely on a primary DirectionalLight and AmbientLight. * Implement basic LOD (Level of Detail) where distant buildings lose geometric complexity. ### 2. Audio Requirements * **BGM:** An energetic, **orchestral military march** that loops seamlessly. It should feel heroic but slightly arcade-like (not overly somber). * **Sound Effects (SFX):** * **Weapons:** Distinct sounds for the 5 weapon types (Pistol = sharp crack, Rifle = heavy bang, SMG = rapid fire, Sniper = loud echo, Grenade = cartoon explosion). * **UI:** "Click" sounds for button presses, a "Whistle" sound when the match starts/ends. * **Feedback:** A satisfying "Hit Marker" sound (high-pitched tick) when damaging an enemy, and a specific jingle when a Flag is captured or returned. * **Footsteps:** distinct sounds for walking on stone (bridge) vs. grass. ### 3. Gameplay Loop * **Game Mode:** **Capture the Flag (CTF)** combined with Team Deathmatch. * **Core Mechanics:** * **Objective:** Players spawn in a team base (Red or Blue), must cross the map to the enemy base, collide with the enemy Flag object to pick it up, and return it to their base to score. * **Combat:** First-Person Shooting (FPS) using Raycasting. * **Weapons:** Implement a cycling system for 5 weapons: Handgun, Assault Rifle, Rifle, Sniper, and Grenade. Each has different fire rates and damage values. Headshots deal 2x damage. * **Bot AI:** If no other players are present, spawn Bots that use a simple State Machine: `Idle` -> `Patrol` -> `Chase Player` -> `Attack` -> `Capture Flag`. * **Physics Props:** Include red barrels that explode when shot (dealing Area of Effect damage) and simple hinged doors that open when pushed. ### 4. Mobile Controls & Interaction * **Control Scheme:** **Dual Virtual Joysticks**. * **Left Stick:** Movement (WASD logic). Dragging further from center initiates "Sprint". * **Right Area:** Camera look/Aiming. * **UI & Buttons:** * **Fire Button:** Large circular button on the right (with an option for "Auto-fire when aiming at enemy" for better mobile accessibility). * **Jump Button:** Located near the fire button. * **Scope Button:** Toggle zoom for Rifle/Sniper. * **Weapon Switch:** A carousel or tap-to-cycle icon near the bottom center. * **Reload:** A distinct icon, but also tap the weapon icon to reload. * **Orientation:** **Landscape Mode** only. * **Feedback:** * **Haptic Feedback:** Trigger device vibration on shooting and taking damage. * **Visual Feedback:** Screen shakes slightly on explosions. A red vignette pulses when health is low. Damage numbers float up from hit enemies. * **HUD:** Top center displays the Match Timer and Score (Blue Flag Count vs Red Flag Count). Top right shows a simplified Kill Feed. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Toon Off is a thrilling 3D multiplayer co-op first-person shooter that combines the intensity of World War 2 combat with strategic team-based gameplay. This free-to-play browser game challenges you to work closely with teammates to capture enemy flags while defending your own base in realistic WWII-era locations.

The game features stunning 3D graphics with a unique pixel art aesthetic, creating an immersive battlefield experience that runs smoothly in any modern web browser. With its capture-the-flag mission structure, every match requires tactical coordination and sharp reflexes to outmaneuver opposing teams.

Core Features

Authentic World War 2 Setting

Battle across expansive maps inspired by real WWII locations, complete with period-appropriate architecture, fortifications, and environmental details. The large-scale battlefields provide multiple strategic routes and vantage points for tactical gameplay.

Team-Based Combat System

Success depends entirely on teamwork and coordination. Plan attacks with your squad, coordinate defensive positions, and execute synchronized assaults on enemy strongholds. The team deathmatch format with capture-the-flag objectives creates dynamic, objective-focused gameplay.

Advanced Weapon Arsenal

Choose from 5 distinct weapon categories to suit your playstyle: - Handgun : Quick draw sidearm for close encounters - Assault Rifle : Versatile automatic weapon for mid-range combat - Rifle : Reliable semi-automatic for balanced engagements - Sniper Rifle : Long-range precision weapon for strategic eliminations - Grenades : Explosive ordnance for area denial and crowd control

Dynamic Environment Features

  • Day and Night Cycles : Adapt your strategy as lighting conditions change throughout matches
  • Interactive Elements : Climb ladders, breach doors, and use explosive barrels tactically
  • Realistic Damage System : Headshots and limb hits deal varying damage for strategic combat
  • Auto-Optimization : Built-in system automatically adjusts graphics settings for optimal performance

Smart Matchmaking

When waiting for human players, AI bots automatically join to keep matches active and engaging. This ensures you can always find action regardless of player availability.

Gameplay Guide

Mission Objective

Your primary goal is to infiltrate the enemy base, capture their flag, and return it safely to your team's base while preventing opponents from doing the same to yours.

Strategic Elements

  • Map Control : Secure key positions and chokepoints
  • Team Coordination : Communicate with teammates for coordinated attacks
  • Resource Management : Manage ammunition and choose weapons strategically
  • Environmental Awareness : Use cover, explosive elements, and terrain advantages

Operation Controls

The game features intuitive FPS controls optimized for browser gameplay:

  • Movement : WASD keys for standard movement, Shift to sprint, Space to jump
  • Combat : Left mouse to aim and shoot, Right mouse for weapon scopes
  • Weapons : Number keys 1-5 or middle mouse to switch weapons, R to reload
  • Special Actions : G for grenades, Ctrl to crouch, ESC for game menu
  • Interaction : Navigate ladders and interact with environmental elements

Why Play Toon Off

Completely Free Experience

Enjoy full-featured multiplayer FPS action without any cost. No downloads, installations, or premium subscriptions required - just pure browser-based gaming.

Cross-Platform Accessibility

Play on any device with a modern web browser. Whether you're on PC, Mac, or mobile, you can join the battle instantly.

Skill-Based Gameplay

The realistic damage system rewards precision and tactical thinking. Master different weapons, learn map layouts, and develop team strategies to dominate the battlefield.

Active Community

Join matches with players worldwide or team up with friends for private battles. The automatic bot system ensures you'll always find engaging gameplay.

Regular Updates

The game receives ongoing improvements and optimizations to enhance performance and add new features based on player feedback.

Frequently Asked Questions (FAQ)