Iron Legion - Tank Battle Arena

Seele01-Flash
By
Iron Legion is an intense 3D tank warfare game featuring epic multiplayer battles with over 10 legendary tanks. Command powerful armored vehicles in real-time combat with up to 10 players per battle.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Iron Legion". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Realistic but optimized military aesthetic ("Low-poly Realism"). Use a desaturated color palette (earthy browns, military greens, steel grays) accented by bright orange/yellow explosions. * **Tank Models**: Construct player and enemy tanks using composed Three.js primitives (BoxGeometry for hull/turret, CylinderGeometry for cannon/wheels) to ensure code runs without external assets. Apply PBR materials (MeshStandardMaterial) with metallic roughness to simulate armor plating. Distinguish the "Hull" (chassis) from the "Turret" (rotatable head). * **Environment**: Create a rugged battlefield using a `PlaneGeometry` with vertex manipulation (or a heightmap) to simulate uneven, rocky terrain. Add scattered low-poly rocks and debris for cover. * **Atmosphere**: Implement a dusty skybox (fog) to limit draw distance for mobile performance. Use a directional light (sun) with `castShadow` enabled only for the player and active enemies to maintain high FPS on mobile devices. * **Effects**: Use `THREE.Points` or simple particle systems for muzzle flashes, smoke trails from missiles, and fire explosions upon tank destruction. ### 2. Audio Requirements * **BGM**: A loopable, heavy-percussion military orchestral track (tense and driving) to maintain combat momentum. * **Sound Effects (SFX)**: * **Engine**: A low-frequency diesel rumble that pitches up slightly when moving. * **Turret**: A mechanical servo whine when aiming. * **Combat**: heavy cannon fire (bass-heavy blast), metallic impacts (clanking), and explosion crunches. * **UI**: Metallic clicks for button presses. ### 3. Gameplay Loop * **Objective**: Survive a "Battle Royale" or "Team Deathmatch" style skirmish against AI tanks. The player wins by destroying a set number of enemies or surviving a time limit. * **Tank Physics**: Implement "heavy" movement physics. The tank should accelerate slowly (inertia), turn gradually (tank controls), and not stop instantly. The turret should rotate independently of the hull. * **Combat System**: * **Ballistics**: Projectiles should have a travel time (raycasting or simple physics translation), not instant hits. * **Damage**: Tanks have HP. Hits to the rear (if possible to calculate) should deal critical damage. * **Recoil**: Visual camera shake and slight tank pushback when firing. * **Bot Behavior**: Enemy tanks should patrol the map, detect the player within a certain radius, rotate their turrets to aim, and fire when line-of-sight is clear. ### 4. Mobile Controls & Interaction * **Screen Orientation**: **Landscape** only. * **Movement (Left Hand)**: A Virtual Joystick (Thumbstick) on the bottom-left screen. * Up/Down: Move Forward/Reverse. * Left/Right: Rotate Hull. * **Aiming (Right Hand)**: Swipe anywhere on the right half of the screen to rotate the Camera and Turret. * **Action Buttons**: * **Fire Button**: A large, distinct circular button (red/orange) on the bottom-right (min 64x64px hit area). * **Scope Button**: A smaller button above the Fire button to zoom the camera (Field of View change) for precision aiming. * **UI Elements**: * Health Bar floating above the player tank and enemy tanks. * A reload indicator (circle fill or bar) preventing rapid-fire spam. * Pause button in the top-right corner. * **Feedback**: Trigger `navigator.vibrate` (if supported) on shooting and taking 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

Iron Legion delivers the ultimate tank warfare experience in stunning 3D graphics. This action-packed multiplayer combat game puts you in command of legendary tanks from history, engaging in explosive battles where strategy, skill, and precision determine victory. With realistic damage mechanics and physics-based combat, every battle feels authentic and thrilling.

Core Features

Legendary Tank Arsenal

Choose from more than 10 models of classic legendary tanks , each with unique characteristics and combat capabilities. From swift reconnaissance vehicles to devastating heavy assault tanks, find the perfect machine that matches your tactical preferences and battlefield role.

Real-Time Multiplayer Combat

Engage in intense team battles supporting up to 10 players simultaneously. Coordinate with allies, execute tactical maneuvers, and dominate the battlefield in fast-paced real-time combat scenarios that test both individual skill and team coordination.

Advanced Customization System

Upgrade and develop your combat vehicles through a comprehensive vehicle development and upgrade system . Enhance armor, firepower, mobility, and other crucial stats to create the ultimate war machine tailored to your combat style.

Immersive Battle Environments

Fight across unique maps with detailed terrain that affect combat strategies. Navigate through diverse landscapes, use natural cover, and exploit terrain advantages to gain the upper hand against enemy forces.

Realistic Combat Mechanics

Experience realistic damage mechanics with physically correct effects of explosions and destruction. Every shot matters as you witness authentic battle damage and environmental destruction that impacts gameplay.

Gameplay Experience

Strategic Tank Combat

Success in Iron Legion requires more than just firepower. Analyze enemy positions, coordinate team attacks, and choose the right moment to strike. The game rewards tactical thinking and strategic positioning over mindless aggression.

Progressive Mission System

Complete exciting combat missions and tasks that challenge your skills and unlock new content. Each mission presents unique objectives and increasing difficulty levels that keep gameplay fresh and engaging.

Visual and Audio Excellence

Immerse yourself in realistic 3D graphics with detailed vehicle models and atmospheric environments. The game features physically correct explosion effects and immersive sound design that brings the battlefield to life.

Operation Guide

Master the intuitive control system designed for optimal tank combat:

  • WASD or Arrow Keys : Control tank movement and navigation
  • Left Mouse Button : Fire main weapon and engage targets
  • Right Mouse Button : Activate iron sight for precision aiming
  • Tab Key : Access real-time player statistics and battlefield information
  • P Key : Pause game when needed

The controls are responsive and allow for precise maneuvering during intense combat situations, giving you full control over your armored vehicle.

Why Play Iron Legion

Iron Legion stands out as a premier tank combat experience that combines historical authenticity with modern gameplay mechanics. The game offers completely free access to all core features, making it accessible to all tank warfare enthusiasts.

Whether you prefer aggressive frontal assaults or tactical support roles, the diverse tank selection and upgrade systems allow you to develop your preferred combat style. The multiplayer focus ensures every battle is unpredictable and challenging, as you face human opponents with their own strategies and skills.

The realistic graphics and physics create an immersive battlefield experience that makes every explosion, every hit, and every victory feel significant. Join thousands of commanders worldwide in this ultimate test of armored warfare supremacy.

Frequently Asked Questions (FAQ)