War Sea - Battle Raft Combat Game

Seele01-Flash
By
War Sea is an exciting 3D naval battle game where you command a customizable battle raft to defeat enemies. Build, merge, and upgrade your fleet while engaging in thrilling maritime warfare across dynamic ocean battlefields.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "War Sea". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Hyper-casual, vibrant 3D aesthetic. Use a bright, saturated color palette: Cyan (#00BFFF) for the ocean, White (#FFFFFF) for raft tiles with soft blue shadows, and Bright Green (#32CD32) for player units. * **The Ocean**: Implement a performant vertex shader for the water surface to simulate gentle waves without heavy physics cost. Include a stylized white foam outline effect around the raft and floating objects. * **The Raft**: A modular grid system based on square tiles. The raft grows dynamically as the player collects "driftwood" or "raft parts." The raft should have a slight "bobbing" animation based on the water shader. * **Units**: Low-poly models representing units placed on the raft tiles. * *Soldier*: Simple stickman/capsule geometry with a rifle. * *Tank*: Blocky, low-poly tank turret that sits on a 2x2 or 1x1 tile area. * **Optimization**: Use `InstancedMesh` for rendering identical raft tiles and enemy units to ensure 60FPS on mobile devices. Use simple shadow blobs instead of expensive dynamic lighting shadows. ### 2. Audio Requirements * **BGM**: An energetic, marching-band style track mixed with tropical sounds (steel drums or light synth) to keep the mood adventurous but casual. * **Sound Effects (SFX)**: * *Movement*: Gentle water splashing loops when moving. * *Combat*: "Pop" or "Pew" sounds for shooting (arcade style, not realistic war sounds). A satisfying "Crunch" or "Wood splintering" sound when a raft part is destroyed. * *Collection*: A high-pitched positive chime when collecting new tiles or units from the water. * *UI*: Soft clicks for button interactions. ### 3. Gameplay Loop * **Core Mechanic**: The player starts with a small 2x2 raft and one soldier. The raft auto-fires at nearest enemies within range. * **Expansion & Merge**: * Scatter "Raft Tiles" and "Unit Crates" floating in the ocean. * Moving over a Tile attaches it to the player's raft, expanding the grid. * Moving over a Unit Crate adds a unit to an empty slot. If the grid is full, the unit merges with an existing unit to upgrade it (e.g., 2 Soldiers -> 1 Tank). * **Combat**: * Enemies are AI-controlled rafts roaming the map. * Projectiles destroy individual tiles of the opponent's raft. If a tile holding a unit is destroyed, the unit falls into the water and is lost. * **Game Over**: When the player's last tile is destroyed or the captain/main unit falls into the water. * **Victory**: Survive as the last raft standing in the arena (Battle Royale style) or reach a specific size score. ### 4. Mobile Controls & Interaction * **Control Scheme**: **Virtual Joystick (Floating)**. The player touches anywhere on the screen and drags to steer the raft. The raft moves with momentum (slightly slippery arcade physics). * **Orientation**: **Portrait Mode** optimized for one-handed play. * **Camera**: Top-down Orthographic camera. The camera must smoothly follow the player's raft with a slight delay (lerp) to prevent motion sickness. Zoom out slightly as the raft grows larger to keep the gameplay viewable. * **Feedback**: * **Haptic Feedback**: Trigger a short vibration (using `navigator.vibrate`) when the raft hits an enemy, takes damage, or collects an item. * **Visual Feedback**: floating damage numbers and screen shake (mild) when taking heavy hits. * **UI**: Minimalist HUD. A health bar above the raft (world space UI). A "Restart" button that appears only on Game Over, sized at least 60x60px for easy tapping. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

War Sea is a captivating 3D naval combat game that puts you in command of a battle raft on the high seas. This free-to-play browser game combines strategic unit management with real-time maritime warfare, creating an engaging experience that's perfect for both casual gamers and strategy enthusiasts.

The game features a unique top-down perspective that gives you complete tactical control over your floating fortress. As you navigate the vast ocean battlefield, you'll face increasingly challenging opponents while expanding and upgrading your raft's combat capabilities.

Core Features

Dynamic Raft Building System

Start with a basic raft and transform it into a formidable naval fortress. The innovative building system allows you to:

  • Expand Your Platform : Grow your raft by adding new sections and modules
  • Strategic Positioning : Place units and weapons in optimal formations for maximum effectiveness
  • Modular Design : Create unique raft configurations that match your tactical preferences

Advanced Merge Mechanics

War Sea introduces sophisticated merge gameplay that adds depth to combat strategy:

  • Unit Fusion : Combine identical units to create more powerful versions
  • Weapon Upgrades : Merge weapons to increase damage and unlock special abilities
  • Progressive Enhancement : Each merge level brings significant combat improvements

Immersive 3D Naval Combat

Experience realistic maritime warfare with stunning visual effects:

  • Dynamic Water Physics : Realistic wave movements and water interactions
  • Explosive Battles : Spectacular weapon effects and destruction animations
  • Multiple Battle Arenas : Fight across diverse ocean environments and weather conditions

Strategic Unit Recruitment

Build your crew with various specialized units:

  • Combat Soldiers : Front-line fighters with different weapon specializations
  • Support Units : Engineers and medics that provide tactical advantages
  • Heavy Artillery : Powerful cannons and advanced weaponry for devastating attacks

Gameplay Mechanics

Battle Arena System

Engage in intense PvP-style battles against AI opponents in structured arena matches. Each battle tests your strategic planning and real-time tactical decisions as you maneuver your raft while managing combat operations.

Resource Management

Balance offense and defense by wisely allocating resources between: - Raft expansion and reinforcement - Unit recruitment and training - Weapon research and development - Special ability activation

Progressive Difficulty

Face increasingly sophisticated enemies that require advanced strategies and upgraded equipment to defeat. The challenge scales perfectly with your growing capabilities.

Operation Guide

Basic Controls

  • Movement : Use WASD keys, arrow keys, or drag with left mouse button to navigate your raft
  • Unit Management : Click and drag to position units on your raft
  • Merge Actions : Drag similar units together to combine them
  • Combat : Units automatically engage enemies when in range

Strategic Tips

  • Position ranged units in the center of your raft for maximum protection
  • Place defensive units along the edges to absorb enemy attacks
  • Regularly merge units to maintain competitive combat power
  • Expand your raft strategically to accommodate more powerful formations

Advanced Tactics

  • Create specialized sections for different unit types
  • Use terrain features and positioning to gain tactical advantages
  • Time your attacks and retreats based on enemy patterns
  • Balance offensive power with defensive capabilities

Why Play War Sea

War Sea offers a unique blend of strategy and action that sets it apart from traditional naval games. The combination of merge mechanics, real-time combat, and raft customization creates endless possibilities for tactical creativity.

Perfect for Strategy Lovers : The deep merge system and unit management provide satisfying strategic depth without overwhelming complexity.

Accessible Yet Challenging : Easy-to-learn controls make the game approachable for newcomers, while advanced tactics keep experienced players engaged.

Free and Convenient : No downloads required - play instantly in your browser on any device with full cross-platform compatibility.

Engaging Progression : Constant upgrades and improvements keep every battle fresh and rewarding.

Whether you're looking for a quick gaming session or an extended strategic campaign, War Sea delivers thrilling naval combat that adapts to your preferred play style.

Frequently Asked Questions (FAQ)