Tanks 3D - Multiplayer Tank Battle Game

Seele01-Flash
By
Tanks 3D is an intense multiplayer io game where up to 1,000 tank commanders battle on fully destructible terrain. Choose your tank, customize weapons, and dominate the battlefield in this free-to-play browser game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Tanks 3D**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Low-poly 3D aesthetics with a vibrant "Toon Shader" (Cel-shading) to mimic the illustrative style of the promotional image. Use bright, saturated colors (lush green terrain, bright orange/blue/red for tanks). * **Terrain:** A procedural undulating terrain (rolling hills and valleys) generated using a heightmap or Perlin noise. The tank must align with the terrain normals (slope handling) to simulate climbing hills. * **Characters/Units:** * **Player Tank:** Composed of two distinct parts: the **Hull** (rotates with movement) and the **Turret** (rotates independently for aiming). * **Enemy Tanks:** Simple AI-controlled tanks with different colors. * **Soldiers:** Very low-poly humanoid shapes or capsules wandering the map (as mentioned in the description) that act as "fodder" or proximity alarms. * **Performance:** Use `THREE.InstancedMesh` for environmental props (trees, rocks) and projectiles to ensure 60fps on mobile browsers. Use a simple fog effect (`THREE.Fog`) to limit draw distance and save resources. ### 2. Audio Requirements * **BGM:** An energetic, marching-band style military track with snare drums and brass instruments to keep the tension high. * **SFX:** * **Locomotion:** A continuous, low-frequency engine rumble and tread clanking sound that varies pitch based on speed. * **Combat:** Heavy "Boom" for cannon fire, high-pitched "Whiz" for projectiles, and a crunchy explosion sound for destroying enemies. * **UI:** Metallic clicks for menu interaction. ### 3. Gameplay Loop * **Core Logic:** An endless ".io" style Free-For-All deathmatch. The player spawns in a random location. * **Combat:** * The player navigates the terrain to find enemies. * Projectiles have travel time and gravity (slight arc). * **Damage System:** Tanks have HP bars floating above them. 3-4 hits destroy a tank. * **Terrain Strategy:** Lower valleys provide cover; hilltops provide better vantage points for shooting. * **Minimap:** A top-down 2D view in the top-left corner showing player (green dot) and enemies (red dots). * **Victory/Defeat:** If HP hits 0, the tank explodes (particle effect) and a "Respawn" button appears. A kill counter (Leaderboard) is displayed in the top-right. ### 4. Mobile Controls & Interaction * **Orientation:** Landscape Mode (Horizontal). * **Control Scheme (Dual Stick + Buttons):** * **Left Virtual Joystick:** Controls tank hull movement (Forward/Backward/Rotate Hull). * **Right Virtual Joystick:** Controls Turret rotation independent of the hull. * **Fire Button:** A large, circular button near the right joystick to fire the main cannon. * **Camera:** Third-person follow camera that smooth-follows the tank but looks in the direction of the *Turret*. * **Feedback:** * **Visual:** Screen shake effect on firing and when taking damage. Flash the tank red when hit. * **Touch:** All UI elements (Chat button, Respawn button) must have a minimum touch target size of 44x44px. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Tanks 3D is a high-intensity multiplayer io game that brings massive tank warfare to your browser. Supporting up to 1,000 simultaneous players, this game creates one of the largest online battlefields where tank commanders from around the world clash in epic combat scenarios. The fully destructible environment allows you to reshape the battlefield to your advantage, creating strategic opportunities and tactical challenges.

With its combination of classic tank warfare mechanics and modern multiplayer technology, Tanks 3D offers an adrenaline-pumping experience that keeps players engaged for hours. The game features diverse tank types, customizable weapon loadouts, and dynamic terrain that changes as battles rage on.

Core Features

Massive Multiplayer Battles

Experience unprecedented scale in online tank warfare with support for up to 1,000 players in a single match. This creates a truly chaotic and unpredictable battlefield where alliances form and break, and victory requires both skill and strategy.

Fully Destructible Environment

Unlike traditional tank games, Tanks 3D features completely destructible terrain. Build barriers for protection, dig trenches for tactical advantage, or create new pathways by blasting through obstacles. The battlefield evolves with every explosion, creating unique strategic opportunities.

Diverse Tank Arsenal

Choose from a wide range of tank types, each with unique characteristics: - Heavy tanks with superior armor and firepower - Light tanks offering speed and maneuverability - Medium tanks providing balanced performance - Specialized vehicles with unique weapon systems

Real-Time Communication

Coordinate with allies using the built-in chat system. Share intelligence, plan coordinated attacks, or negotiate temporary truces in the heat of battle.

Dynamic Map System

Fight across diverse battlefields, each presenting unique tactical challenges. From open plains perfect for tank duels to mountainous terrain offering natural cover, every map requires different strategies.

Gameplay Mechanics

Terrain Navigation

Your tank is engineered for all-terrain combat. Climb steep hills to gain tactical high ground, or descend into valleys for cover. Remember that low areas offer protection but can become deadly traps if enemies surround you.

Combat System

Engagement requires careful positioning and timing. While tanks can absorb several hits, sustained damage will result in destruction and respawn. Monitor your health and seek cover when necessary.

Strategic Elements

Use the minimap to track enemy positions and plan your movements. The real-time leaderboard shows current match standings, helping you gauge your performance against other players.

Environmental Awareness

Infantry units scattered across the battlefield serve as both easy targets and early warning systems for nearby enemy tanks.

Controls Guide

Master these essential controls for battlefield dominance:

  • WASD or Arrow Keys : Tank movement and navigation
  • Left Mouse Button : Fire primary weapon
  • V Key : Change camera view for better battlefield awareness
  • M Key : Toggle detailed map display
  • J Key : Emergency respawn if stuck
  • Number Keys 1-5 : Switch between different weapons
  • Enter Key : Open chat for team communication

Why Play Tanks 3D

Completely Free Experience

Enjoy full access to all game features without any payment requirements. No premium currencies, no pay-to-win mechanics – just pure skill-based tank combat.

Cross-Platform Compatibility

Play instantly in any modern web browser on PC, Mac, or mobile devices. No downloads or installations required.

Constant Action

With matches supporting up to 1,000 players, there's never a dull moment. The action is continuous, with new challenges and opportunities emerging constantly.

Strategic Depth

While easy to learn, the game offers incredible strategic depth. Terrain manipulation, weapon selection, positioning, and teamwork all contribute to victory.

Global Community

Join players from around the world in epic tank battles. Form alliances, challenge rivals, and climb the global leaderboards.

Whether you're a casual gamer looking for quick action or a strategy enthusiast seeking deep tactical gameplay, Tanks 3D delivers an unmatched multiplayer tank combat experience that's accessible to all skill levels.

Frequently Asked Questions (FAQ)