Stabfish.io - Online Multiplayer Fish Arena Game

Seele01-Flash
By
Stabfish.io is an intense multiplayer ocean arena game where you control a deadly fish, grow by consuming food, and battle other players to become the apex predator of the sea.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Stabfish.io - Ocean Arena Battle**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: High-saturation, cartoonish "Low Poly" 3D aesthetic. The camera should use an **Orthographic projection** positioned top-down to mimic the classic 2D IO game feel but with 3D depth. * **Player & Enemies**: Create a base "Fish" class. Each fish must have a prominent, sharp **tusk/sword** attached to its nose (this is the weapon). * **Customization**: Randomize body colors and simple geometric accessories (like top hats or crowns) for variety. * **Movement**: Fish should have a subtle tail-wagging animation (vertex shader or simple bone rotation) when moving. * **Environment**: An infinite (or clamped large circular) blue ocean background. Use a simple shader for water caustics or a tiled texture to suggest depth without heavy performance cost. * **Collectibles**: * **Food**: Small, floating neon spheres or plankton. * **Steaks**: Larger food items dropped when an enemy is killed. * **Performance Optimization**: Use `THREE.InstancedMesh` for the hundreds of food particles to ensure 60FPS on mobile devices. Implement simple LOD (Level of Detail) to hide objects outside the mobile viewport. ### 2. Audio Requirements * **BGM**: A fast-paced, upbeat track featuring "tropical" instruments (steel drums, marimbas) mixed with an electronic drum and bass beat to induce tension. * **Sound Effects**: * **Swimming**: A continuous low-volume bubbling/water displacement sound. * **Boost**: A sudden "Whoosh" or jet-stream sound when accelerating. * **Eating**: High-pitched "Pop" or "Bloop" sounds (varying pitch) when collecting food. * **Kill/Stab**: A heavy "Squelch" or "Crunch" sound followed by a splash effect. * **Death**: A "wobble" descending synth sound. ### 3. Gameplay Loop * **Core Mechanics**: * **Auto-Swim**: The fish constantly moves forward. The player only controls direction and speed boost. * **Growth**: Eating food increases the player's score and slightly increases the size of the fish and the length of the sword/tusk. * **Combat (The "Stab")**: * **Hit Logic**: If Player A's tusk hits Player B's body (side or rear) -> Player B dies. * **Parry Logic**: If Player A's tusk hits Player B's tusk -> Both bounce back, no death. * **Boost**: Holding the boost button increases speed by 50% but rapidly drains the player's score/mass. * **Death & Respawn**: When a fish dies, it explodes into multiple "Steak" collectibles (worth high points). The player gets a "Game Over" screen with a "Respawn" button. * **Win Condition**: Infinite gameplay. A leaderboard in the top-right corner displays the names of the top 5 largest fish. ### 4. Mobile Controls & Interaction * **Control Scheme**: * **Left Screen (Steering)**: Implement a dynamic **Virtual Joystick**. Touching anywhere on the left half of the screen centers the joystick, allowing for precise 360-degree turning. * **Right Screen (Action)**: A large, semi-transparent circular button with a lightning bolt icon for **Boost/Sprint**. * **UI Layout**: * Top Left: Player Score/Mass. * Top Right: Leaderboard (semi-transparent background). * Center: Player name hovering above the fish mesh. * **Feedback**: * **Haptic**: Trigger `navigator.vibrate(200)` when the player kills an enemy or dies. Trigger a light vibration (50ms) when eating "Steak". * **Visual**: Display a "floating text" damage number or "NICE STAB!" text pop-up upon killing an enemy. * **Orientation**: Lock to **Landscape Mode** for a wider field of view. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Stabfish.io

Stabfish.io is a thrilling free-to-play multiplayer arena game that plunges you into the depths of the ocean's most dangerous battleground. With a stellar 4.35/5 rating from players worldwide, this intense IO game transforms you into a vicious aquatic predator fighting for survival in the ultimate marine free-for-all.

In this fast-paced underwater arena, you'll control a deadly fish equipped with a razor-sharp beak, swimming through treacherous waters filled with both prey and predators. The ocean becomes your battlefield, where only the strongest, fastest, and most cunning fish can claim dominance over the food chain.

Core Features

Competitive Multiplayer Action

Join hundreds of players from around the world in real-time ocean battles. Each game session brings unique challenges as you face off against human opponents, making every match unpredictable and exciting.

Progressive Growth System

Start small and grow into a formidable ocean predator. Collect food scattered throughout the arena to increase your size, speed, and attack power. The larger you become, the more intimidating you'll be to smaller fish.

Intuitive Mouse Controls

Simple yet precise mouse-based controls make the game accessible to players of all skill levels. Navigate your fish with fluid movements while timing your attacks perfectly.

Fast-Paced Arena Combat

Experience non-stop action in this avoider-style game where constant movement is essential for survival. Stop swimming, and you'll become an easy target for hungry predators.

Free Browser-Based Gaming

No downloads required! Play instantly in any modern web browser on desktop or mobile devices. Jump into the action within seconds.

Gameplay Mechanics

Survival Strategy

Success in Stabfish.io requires a perfect balance of aggression and caution. Hunt smaller fish to grow your size while avoiding larger predators that can eliminate you instantly. Master the art of hit-and-run tactics to dominate the arena.

Speed Boost System

Gain speed by consuming food and use strategic speed bursts to escape dangerous situations or catch fleeing prey. Managing your speed meter becomes crucial in high-stakes encounters.

Territory Control

Claim your section of the ocean by eliminating competitors and controlling food-rich areas. Strategic positioning can give you significant advantages over other players.

Game Controls

Mouse Movement : Control your fish's swimming direction smoothly across the arena Right Mouse Button : Execute powerful charge attacks to stab enemies or escape quickly Continuous Swimming : Keep moving at all times - stopping means certain death in this unforgiving ocean environment

The controls are designed for maximum responsiveness, allowing for precise movements during intense chase sequences and combat encounters.

Why Play Stabfish.io

Perfect for Quick Gaming Sessions

Each match offers intense action that can be enjoyed in short bursts, making it ideal for casual gaming or competitive play sessions.

Constantly Evolving Challenges

With real human opponents, no two games are ever the same. Develop new strategies and adapt to different playing styles to stay ahead of the competition.

Cross-Platform Accessibility

Whether you're on a computer, tablet, or smartphone, Stabfish.io delivers the same high-quality experience across all devices.

Skill-Based Progression

While easy to learn, the game offers deep strategic gameplay that rewards practice and tactical thinking. Develop your skills to climb the leaderboards and achieve ocean supremacy.

Community-Driven Fun

Join a global community of players who share your passion for competitive arena gaming. Share strategies, celebrate victories, and learn from defeats in this engaging multiplayer environment.

Frequently Asked Questions (FAQ)