Stabfish.io - Ocean Arena Battle

Seele01-Flash
By
Stabfish.io is an intense free-to-play ocean arena game where you control a deadly fish in the ultimate underwater battle for survival. Swim, eat, grow larger, and stab your enemies in this thrilling multiplayer IO experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Stabfish.io Clone**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Top-down 3D arena with a "Flat Shading" or "Toon" aesthetic to mimic the original vector art style. The background should be a vibrant, solid cyan/blue ocean color (#0099CC) with subtle scrolling caustic shaders or floating bubble particles to indicate depth. * **Character Models**: * **Player/Enemies**: Represented by a simplified 3D fish body (capsule or modified sphere geometry) with a distinct, long sharp weapon attached to the nose (Tusk, Sword, or Trident). * **Decoration**: Fish should have simple accessories (hats, fins) to distinguish different AI bots. * **Trophy Mechanic**: When an enemy is killed, their body must visually shrink slightly and become "impaled" on the player's weapon, creating a trail of corpses. * **Performance Optimization**: * Use `THREE.InstancedMesh` for the collectible food particles (hundreds of dots/blobs floating in the arena) to maintain 60 FPS on mobile devices. * Limit total polygon count per fish model (<500 polys). * Use an `OrthographicCamera` to maintain the classic .io game look and reduce perspective distortion on small screens. ### 2. Audio Requirements * **BGM**: An upbeat, energetic, looping track with an aquatic theme (marimba or synthesized bubbles) that increases in tempo as the player gets a higher score. * **Sound Effects**: * **Swimming**: A subtle, continuous low-frequency liquid loop. * **Boost**: A sharp "Whoosh" or bubble burst sound when speeding up. * **Stab/Impact**: A satisfying "Crunch" or wet impact sound when hitting an enemy. * **Collection**: High-pitched "Ding" or "Pop" when eating food dots. ### 3. Gameplay Loop * **Core Mechanic**: The fish moves forward automatically and constantly. The player only controls the *direction* of movement. * **Combat Logic**: * **Hitbox**: The weapon tip is the "kill zone." The fish body is the "vulnerable zone." * **Stab**: If Player Weapon touches Enemy Body -> Enemy dies, Player gains score, Enemy mesh attaches to Player Weapon. * **Parry**: If Player Weapon touches Enemy Weapon -> Both bounce back slightly (physics impulse). * **Growth & Resources**: * Scattered food dots refill the "Boost Meter." * Killing enemies drops a cluster of meat (high-value food). * **Win/Loss**: The game is an endless high-score loop. "Game Over" occurs immediately upon being stabbed. Show a "Restart" button and final score. ### 4. Mobile Controls & Interaction * **Control Scheme**: * **Left Side of Screen**: Invisible dynamic Virtual Joystick for steering (360-degree rotation). The fish turns smoothly towards the joystick angle. * **Right Side of Screen**: Large, semi-transparent "Boost" button. Holding it consumes the Boost Meter to double movement speed. * **Orientation**: Locked to **Landscape** mode for a wider field of view. * **Feedback**: * **Haptic**: Trigger `navigator.vibrate(200)` on a successful kill and `navigator.vibrate(50)` on a collision/parry. * **Visual**: Add a camera shake effect (Screen Shake) when a kill occurs. Display floating damage text or "Combo!" text near the player on kills. * **UI**: Minimalist HUD. Score in the top-left. Boost bar (stamina) curved around the player character or at the bottom center. All buttons must have a minimum touch target of 48x48px. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Stabfish.io is a fast-paced multiplayer arena game that transforms the ocean into the world's largest battleground. With a stellar 4.35/5 rating, this free-to-play IO game delivers non-stop underwater action where survival depends on your speed, strategy, and killer instinct.

In this aquatic arena, you control a vicious fish armed with a deadly beak, competing against players worldwide in real-time battles. The objective is simple yet challenging: swim, eat, grow, and eliminate your competitors to reach the top of the oceanic food chain.

Core Features

Intense Multiplayer Action

Battle against real players from around the globe in massive oceanic arenas. Every match is unique, with unpredictable encounters and constantly shifting power dynamics as fish grow larger and more dangerous.

Simple Yet Addictive Gameplay

The beauty of Stabfish.io lies in its accessibility. With intuitive mouse controls, anyone can jump in and start playing immediately, but mastering the art of underwater combat takes skill and practice.

Growth and Progression System

Consume food scattered throughout the ocean to increase your size and power. Larger fish move faster, deal more damage, and become increasingly formidable opponents. The bigger you grow, the more dangerous you become.

Fast-Paced Combat Mechanics

Every movement matters in this high-stakes environment. You must constantly swim to survive, timing your attacks perfectly while avoiding enemy strikes. The charging mechanism adds tactical depth to combat encounters.

Free Browser-Based Gaming

No downloads, no installations – jump straight into the action through your web browser. The game is completely free to play with no hidden costs or premium barriers.

Gameplay Mechanics

Stabfish.io combines elements of strategy, reflexes, and survival instincts. Players start as small fish in a vast ocean filled with food particles and other competing fish. Your primary goals are:

  • Survival : Avoid being stabbed by larger or more skilled opponents
  • Growth : Consume food and defeated enemies to increase your size
  • Domination : Eliminate other players to climb the leaderboard
  • Speed Management : Use your charge ability strategically for attacks and escapes

The game features a unique charging system where consuming food not only increases your size but also powers up your speed meter, allowing for devastating charge attacks against unsuspecting enemies.

Game Controls

Mouse Movement : Control your fish's swimming direction with smooth, responsive mouse movements. Your fish follows your cursor, allowing for precise navigation through the crowded ocean arena.

Right Mouse Button : Execute powerful charge attacks to close distance quickly and deliver devastating strikes to enemies. Timing your charges is crucial for both offensive maneuvers and defensive escapes.

Continuous Swimming : Unlike many games, stopping is not an option in Stabfish.io. Your fish must always be in motion, adding constant tension and requiring players to think on the move.

Strategic Elements

Positioning and Map Awareness

Understanding the arena layout and maintaining optimal positioning is crucial. Stay near food sources when small, but be ready to venture into dangerous territory as you grow larger and more confident.

Size Management

Balancing growth with mobility is key. While larger size provides advantages in combat, it can also make you a bigger target and affect your maneuverability.

Combat Timing

Success in Stabfish.io relies heavily on reading opponent movements and timing your attacks perfectly. Premature charges can leave you vulnerable, while hesitation might cost you a kill.

Why Play Stabfish.io

This game offers the perfect blend of simplicity and complexity that defines the best IO games. Whether you have five minutes or several hours, Stabfish.io provides intense, satisfying gameplay that keeps you coming back for more.

The competitive nature of the game, combined with its easy accessibility and zero cost, makes it an ideal choice for casual gamers and competitive players alike. Each match offers a fresh experience with different opponents and evolving strategies.

Join millions of players worldwide in the ultimate underwater battle arena and prove your dominance in the ocean's most dangerous ecosystem.

Frequently Asked Questions (FAQ)