Raft Wars - Epic Water Battle Game

Seele01-Flash
By
Raft Wars is an exciting water-based shooting game where you defend your treasure from pirates, vikings, and gangs using strategic aim and powerful weapons.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Raft Wars 3D". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Adopt a vibrant **Toon-Shaded (Cel-shaded)** aesthetic to replicate the original 2D vector art in 3D. Use bright, saturated colors (Cyan #00BFFF for sky/water, Yellow #FFD700 for the player raft). * **Character Models**: Create Low-poly, "chibi" style characters. * **Protagonists**: A baby character (Simon) with large eyes, a blue superhero shirt with a red 'S', and a red cape. * **Enemies**: Low-poly Vikings and Pirates with exaggerated hats and makeshift rafts. * **Environment**: A dynamic water surface using a custom shader with vertex displacement to simulate gentle waves. The background should be a simple gradient blue sky with stylized, rotating sunbeams. * **Optimization**: Use simple geometry (spheres/cylinders) for characters to keep draw calls low. Implement object pooling for projectiles (tennis balls, grenades) and particle effects (water splashes). ### 2. Audio Requirements * **BGM**: An upbeat, orchestral-cartoon track featuring brass and marching snares, mixed with tropical steel drums to fit the "aquatic battle" theme. * **Sound Effects (SFX)**: * **Firing**: A satisfying pneumatic "Thwump" or "Pop" sound for the toy gun/tennis ball launcher. * **Impact**: A wet "Sploosh" for water misses, and a hollow "Bonk" for body hits. * **Reactions**: High-pitched, chipmunk-style voice clips for taking damage (e.g., "Ouch!", "Hey!"). * **UI**: crisp "Click" and "Ka-ching" sounds for buttons and shop purchases. ### 3. Gameplay Loop * **Core Mechanic**: Turn-based artillery shooting (2.5D side view). The player and enemy take turns firing projectiles across the screen. * **Physics & Combat**: * The rafts must bob up and down on the water (buoyancy physics), adding a layer of difficulty to aiming. * **Damage System**: Direct hits reduce HP. * **Knockback System**: Projectiles apply impulse force. If a character is pushed off the raft into the water, it is an instant KO. * **Progression**: Win the level to earn coins. Between levels, a shop UI appears allowing upgrades to: damage output, grenade unlocks, or raft stability/size. ### 4. Mobile Controls & Interaction * **Screen Orientation**: **Landscape Mode** (Essential for wide-range artillery aiming). * **Touch Controls**: * **Drag-to-Shoot**: Touching anywhere on the screen and dragging backward (slingshot mechanic) determines power and angle. * **Visual Aid**: Display a **dashed trajectory line** predicting the first 2 seconds of the projectile's arc to assist aiming on small screens. * **Camera Behavior**: The camera should automatically pan to follow the projectile after firing, show the impact, and then smooth-pan back to the active character for the next turn. * **Feedback**: Trigger Haptic Feedback (vibration) upon firing and when a character takes a hit. UI buttons (Fire, Shop, Pause) must have a hit area of at least 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

Raft Wars is a thrilling level-based shooting game that combines strategy, skill, and exciting water battles. In this engaging adventure, you and your brother Simon must protect your precious treasure from waves of enemies including pirates, vikings, and dangerous gangs. What starts as a simple defense mission with tennis balls evolves into an epic water warfare experience as you unlock powerful weapons and upgrades.

The game features colorful cartoon-style graphics and intuitive physics-based gameplay that makes every shot satisfying. Originally a Flash classic, Raft Wars has been updated to HTML5, ensuring smooth performance across all modern devices and browsers.

Core Features

Strategic Combat System

Raft Wars isn't just about shooting - it's about smart tactical decisions. Each shot requires careful consideration of angle, power, and trajectory. You'll need to account for physics as you aim your projectiles to knock enemies off their rafts or deplete their health completely.

Weapon Progression System

Start with simple tennis balls and gradually unlock an impressive arsenal: - Tennis Balls : Your starting weapon, perfect for learning the mechanics - Grenades : Explosive power for dealing area damage - Rockets : High-impact weapons for tough enemies - Raft Upgrades : Improve your vessel's defense and capabilities

Diverse Enemy Types

Face off against various opponents, each with unique behaviors and challenge levels: - Pirates seeking your treasure - Vikings with their own battle tactics - Dangerous gangs with advanced weapons - Boss enemies requiring special strategies

Level-Based Progression

Each level presents new challenges and scenarios, keeping the gameplay fresh and engaging. As you advance, enemies become more numerous and better equipped, requiring improved aim and strategic thinking.

Gameplay Mechanics

The core gameplay revolves around turn-based shooting where precision and strategy determine victory. Players must carefully aim their shots, considering factors like distance, wind, and enemy positioning. Successfully hitting opponents will either knock them into the water or reduce their health until they're defeated.

Earning coins through skillful play allows you to purchase weapon upgrades and raft improvements, creating a satisfying progression system that rewards good performance.

Operation Guide

Basic Controls

  • Mouse Click and Drag : Aim your weapon by clicking and dragging to set angle and power
  • Release : Fire your projectile at the target
  • Strategic Positioning : Use your raft's position to gain tactical advantages

Winning Strategies

  1. Master the Physics : Understanding projectile arc and power is crucial
  2. Prioritize Targets : Focus on the most dangerous enemies first
  3. Conserve Ammunition : Make every shot count, especially in later levels
  4. Upgrade Wisely : Invest coins in weapons and upgrades that match your play style
  5. Use Terrain : Take advantage of obstacles and environmental elements

Why Play This Game

Raft Wars offers the perfect blend of casual fun and strategic depth. Whether you're looking for a quick gaming session or an extended treasure-defense campaign, this game delivers:

  • Completely Free : Enjoy all content without any payment required
  • No Download Needed : Play instantly in your browser
  • Cross-Platform Compatible : Works seamlessly on desktop and mobile devices
  • Family-Friendly : Suitable for players of all ages with cartoon-style violence
  • Multiplayer Options : Challenge other players online in competitive modes
  • Proven Gameplay : Part of a beloved series with a dedicated fanbase

The game's charm lies in its simple concept executed brilliantly, offering both immediate fun and long-term engagement through its progression system and challenging later levels.

Frequently Asked Questions (FAQ)