Raft Wars - Online Shooting Game

Seele01-Flash
By
Raft Wars is an exciting level-based shooting game where you defend your precious treasure from waves of enemies. Use strategic aim and power to knock opponents off their rafts in thrilling water battles.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Raft Wars: 3D Tropical Takedown**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Use a **Low-poly, Vibrant Toon style**. The scene should look like a 3D adaptation of a classic Flash cartoon. Use bright, saturated colors (Cyan for water, Yellow/Orange for rafts and UI). Implement a "Toon Shader" or Cell Shading for materials to mimic the original 2D art. * **The Scene**: Create a 2.5D side-scrolling perspective (Fixed Camera position, looking at the scene from the side). * **Water**: A dynamic low-poly water mesh with vertex displacement to simulate gentle waves. * **Background**: A simple gradient skybox (Light Blue to White) with distant, low-poly palm tree islands to create depth. * **Characters & Props**: * **Player Raft**: A yellow inflatable boat or wooden raft. * **Player Character**: A simplified "Chibi" style character (sphere head, small body) holding a tennis ball launcher. * **Enemies**: Distinctive pirate or viking characters on opposing rafts. * **Mobile Optimization**: Limit total polygon count. Use simple geometry (spheres, cylinders) for characters if external models aren't loaded. Ensure shadows are baked or strictly limited to the main directional light. ### 2. Audio Requirements * **BGM**: An upbeat, looping **Tropical/Reggae-Pop track** (steel drums, bass, rhythmic guitar) to convey a fun, sunny atmosphere. * **Sound Effects (SFX)**: * **UI**: "Pop" sound for button clicks. * **Weapon**: A satisfying "Thump" or "Poom" for the tennis ball launcher. * **Impact**: A dull "Bonk" when hitting a character, and a loud "Splash" when an object or character hits the water. * **Reaction**: Cartoonish grunts ("Oof!") when characters take damage. ### 3. Gameplay Loop * **Core Mechanics**: Turn-based artillery combat (similar to *Worms* or *Angry Birds*). 1. **Player Turn**: The player aims and sets power to fire a projectile (Tennis Ball). 2. **Physics Resolution**: The projectile follows a parabolic arc affected by gravity. 3. **Impact**: * If it hits an enemy: Deal HP damage and apply **Physics Knockback**. * If it misses: Splash effect in water. 4. **Enemy Turn**: The AI calculates a trajectory (with slight planned inaccuracy) and fires back. * **Victory Condition**: Knock all enemies into the water (instant kill) OR reduce their HP to zero. * **Defeat Condition**: The player falls into the water or HP reaches zero. * **Physics**: Implement simple buoyancy logic. Rafts should bob on the water surface. Explosions/Hits should rock the rafts violently. ### 4. Mobile Controls & Interaction * **Touch Controls (Drag-to-Shoot)**: * **Input**: Touch and drag anywhere on the screen (or specifically on the character) to aim. * **Visual Feedback**: Render a **dashed trajectory line** showing the predicted path of the projectile based on current drag angle and power. * **Release**: Lifting the finger fires the weapon. * **Screen Orientation**: **Landscape Mode** is mandatory to view the distance between rafts. * **UI Layout**: * Large, thumb-friendly buttons (min 44px hit area) for "Weapon Switch" (Tennis Ball / Grenade) placed at the bottom corners. * Health bars floating in 3D space above character heads. * **Haptic Feedback**: Trigger a short vibration (`navigator.vibrate(50)`) when the player fires and a longer vibration when the player gets hit. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Raft Wars

Raft Wars is a beloved online shooting game that combines strategy, skill, and non-stop action in a unique water-based battleground. In this engaging adventure, you and your brother Simon discover a valuable treasure, but keeping it safe proves to be the real challenge. Armed initially with just tennis balls and your trusty raft, you must defend your treasure against an endless parade of enemies including fierce vikings, cunning pirates, dangerous gangs, and other treasure hunters.

This level-based shooting game has captivated players worldwide with its perfect blend of physics-based gameplay and strategic combat. Originally created as a Flash game, Raft Wars has been seamlessly converted to HTML5, ensuring it runs smoothly on all modern devices and browsers without any compatibility issues.

Core Features

Strategic Physics-Based Combat

Raft Wars stands out with its realistic physics engine that makes every shot count. You'll need to carefully calculate trajectory, power, and wind resistance to land the perfect shot. The satisfaction of knocking an enemy off their raft with a well-aimed tennis ball is unmatched.

Progressive Weapon System

Start with simple tennis balls and gradually unlock an impressive arsenal of weapons. Earn coins through successful battles to purchase grenades for explosive damage, rockets for maximum impact, and various raft upgrades that enhance your defensive capabilities and offensive power.

Diverse Enemy Types

Face off against multiple enemy factions, each with unique behaviors and attack patterns: - Vikings : Fierce warriors with heavy armor and powerful weapons - Pirates : Cunning seafarers with quick reflexes and strategic positioning - Gangs : Modern threats with advanced weaponry and coordinated attacks - Treasure Hunters : Rival adventurers seeking to claim your hard-earned treasure

Multiplayer Combat

Take the battle online with Raft Wars Multiplayer mode! Challenge players from around the world in real-time combat. Test your aiming skills against human opponents who bring unpredictable strategies and competitive gameplay to every match.

Gameplay Mechanics

The core gameplay revolves around turn-based combat where precision and strategy determine victory. Each level presents new challenges with different enemy configurations, environmental obstacles, and strategic opportunities. Success depends on:

  • Accurate Aiming : Master the art of trajectory calculation
  • Power Management : Balance shot power for optimal distance and impact
  • Strategic Thinking : Choose the right weapon for each situation
  • Resource Management : Spend coins wisely on upgrades and ammunition

Operation Guide

Basic Controls

  • Mouse Control : Click and drag to aim your weapon
  • Power Adjustment : The longer you drag, the more power behind your shot
  • Release to Fire : Let go of the mouse button to launch your projectile
  • Angle Calculation : Consider the arc of your shot for maximum accuracy

Combat Tips

  • Aim for direct hits to deal maximum damage
  • Target the base of enemy rafts to cause instability
  • Use terrain and obstacles to your advantage
  • Save powerful weapons for challenging enemies
  • Upgrade your raft's durability to withstand enemy attacks

Why Play Raft Wars

Raft Wars offers an unparalleled gaming experience that combines nostalgia with modern accessibility. Here's why millions of players choose this game:

Completely Free Entertainment

Enjoy the full Raft Wars experience without spending a penny. No hidden fees, no premium content locks - just pure, unlimited fun.

Cross-Platform Compatibility

Whether you're on a desktop computer, laptop, tablet, or smartphone, Raft Wars runs perfectly in your browser. The HTML5 version ensures smooth performance across all devices.

Perfect for All Skill Levels

New players can quickly learn the basics, while experienced gamers will appreciate the depth of strategy required for higher levels. The progressive difficulty curve keeps everyone engaged.

Social Gaming Experience

Connect with friends or challenge strangers in multiplayer mode. Share strategies, compete for high scores, and build a community around this beloved game.

Nostalgic Gaming Value

For many players, Raft Wars represents the golden age of browser gaming. It captures the simple joy of well-designed gameplay without unnecessary complexity.

Quick Gaming Sessions

Perfect for short breaks or extended gaming sessions. Each level can be completed in minutes, making it ideal for busy schedules while still offering hours of total gameplay content.

Frequently Asked Questions (FAQ)