Stabfish.io - Underwater Battle Arena Game

Seele01-Flash
By
Stabfish.io is an intense underwater battle arena where you control deadly oceanic predators. Stab enemies, collect trophies, and evolve your sea beast in this thrilling IO game that's completely free to play in your browser.

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:** Use a **Toon-Shaded / Low-Poly 3D** aesthetic that mimics 2D vector art. Colors should be vibrant and saturated (ocean blues, bright neons for fish skins). * **Player Character:** A stylized shark or whale model equipped with a prominent **tusk/spike** on its nose. The tusk must be a separate mesh or bone to allow for scaling (lengthening). * **Enemies:** AI-controlled marine beasts (Sharks, Orcas) with similar tusks. Different colors to represent different "teams" or difficulty levels. * **"Skewer" Mechanic (Crucial):** Implement a visual system where defeated enemies turn into "ragdoll" or static meshes that physically attach to the player's tusk. They should stack up along the tusk like a shish kebab. * **Environment:** * Infinite scrolling background (blue gradient). * Floating particulates (plankton, bubbles) to give a sense of speed and depth. * **Food:** Scattered glowing orbs or small fish for collecting. * **Mobile Optimization:** Use `InstancedMesh` for food particles. Limit geometry complexity. Use simple `MeshToonMaterial` or `MeshBasicMaterial` to save GPU resources. ### 2. Audio Requirements * **BGM:** Upbeat, fast-paced arcade-style electronic music with an underwater filter (slightly muffled high frequencies). * **SFX:** * **Movement:** Continuous bubbling/swishing sound that changes pitch with speed. * **Boost:** A sudden "Whoosh" or jet-stream sound. * **Stab/Kill:** A sharp, impactful "Crunch" or "Squish" sound. * **Collection:** High-pitched "Ding" or bubble pop when eating food. * **Death:** A low-pitched underwater thud or glass-breaking sound. ### 3. Gameplay Loop * **Core Logic:** The player moves a shark in a 2D plane (Top-Down view). * **Victory/Growth:** * Eat food -> slight score increase + boost meter refill. * Kill enemy -> large score increase + **Tusk Length increases**. * **Combat Mechanics:** * **Hit Detection:** If Player Tusk hits Enemy Body -> Enemy dies (and gets skewered). * **Vulnerability:** If Enemy Tusk hits Player Body -> Player dies (Game Over). * **Clash:** Tusk vs. Tusk -> Physics recoil (bounce back), no death. * **Bot AI:** Implement simple AI that wanders, seeks food, and occasionally sprints towards the player if they are nearby. * **Physics:** Movement should have "aquatic inertia"—slow acceleration and slightly slippery turning (drift). ### 4. Mobile Controls & Interaction * **Primary Control (Steering):** Implement a **"Follow Finger"** or **"Relative Swipe"** mechanic. The shark should rotate smoothly to face the direction of the user's touch/drag relative to the shark's position. * **Boost Mechanic:** * *As per original game:* Detect a **Two-Finger Touch** (multi-touch) on the screen to activate the speed boost. * *Fallback/Alternative:* Add a semi-transparent "Boost Button" overlay in the bottom-right corner (min size 64x64px) for better accessibility. * **Camera:** Orthographic Camera that smoothly follows the player. The camera should zoom out slightly as the player's shark grows larger or the tusk gets longer. * **Haptic Feedback:** Trigger a short vibration (`navigator.vibrate`) when the player kills an enemy or takes damage. * **UI Layout:** * Top Left: Score / Kill Count. * Top Right: Leaderboard (mock data allowed). * Bottom: Boost Stamina Bar (visually distinct). * Screen Orientation: Force Landscape mode or adapt responsively, but Landscape is preferred for the arena view. 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 brings the classic IO game formula to the depths of the ocean, where survival depends on your ability to outmaneuver and eliminate other sea creatures. As a deadly oceanic beast equipped with a fatal tusk, you'll navigate through treacherous waters filled with both prey and predators. The game combines strategic positioning, quick reflexes, and progressive character development in an engaging underwater battleground.

This free browser-based game offers instant access without any downloads or installations required. Simply open your web browser and dive into the action-packed world where only the strongest survive.

Core Features

Aggressive Combat System

The heart of Stabfish.io lies in its "stab or be stabbed" gameplay mechanics. Every encounter requires tactical thinking as you must approach enemies from strategic angles - attacking from the side or behind to ensure successful eliminations while avoiding their deadly tusks.

Progressive Character Growth

Each successful kill extends your tusk length, making you more formidable in future battles. Your eliminated enemies become trophies displayed on your weapon, creating a visual reminder of your hunting prowess and intimidating other players in the arena.

Extensive Customization Options

Unlock powerful sea creatures including killer whales and hammerhead sharks by reaching milestone achievements. Each unlockable skin provides unique in-game advantages such as kill bonuses, speed boosts, or enhanced durability.

Weapon Evolution System

Start with a basic tusk and upgrade through four distinct weapon tiers: basic tusk → trident → chill blade → chainsaw. Each upgrade significantly changes your combat capabilities and visual appearance.

Dynamic Bonus System

Discover random power-ups throughout the ocean that provide temporary advantages including speed boosts, invincibility periods, or score multipliers that can turn the tide of battle.

Gameplay Mechanics

Combat Strategy

Success in Stabfish.io requires mastering positioning and timing. Frontal attacks often result in mutual destruction, so skilled players learn to circle their prey, striking from vulnerable angles. The longer your tusk becomes, the more aggressive you can be with your attack patterns.

Scoring and Progression

Your score increases with each elimination, and consuming food scattered throughout the arena provides essential boosts to your speed and size. The chain bonus system rewards consecutive kills of similarly colored opponents, encouraging sustained aggressive play.

Arena Dynamics

The underwater battlefield features various environmental elements including food sources, obstacles, and power-up spawns that create dynamic tactical situations requiring constant adaptation.

Operation Guide

Desktop Controls

  • Mouse Movement : Navigate your sea creature through the water
  • Left Mouse Button : Activate speed boost for quick escapes or aggressive pursuits

Mobile Controls

  • Swipe Gestures : Control movement direction with intuitive touch controls
  • Two-Finger Hold : Activate boost function for enhanced mobility

The control scheme is designed for accessibility, allowing players to focus on strategy and positioning rather than complex input combinations.

Why Play Stabfish.io

This game excels in delivering immediate, high-stakes action that's easy to learn but challenging to master. The combination of skill-based combat, character progression, and competitive leaderboards creates an addictive gameplay loop that keeps players returning.

The browser-based platform ensures you can access the game from any device without storage concerns or lengthy downloads. Whether you have five minutes or an hour, Stabfish.io provides satisfying gaming sessions that fit your schedule.

For fans of competitive online games, IO titles, or aquatic-themed adventures, Stabfish.io offers a unique blend of strategy and action that stands out in the crowded browser game market.

Frequently Asked Questions (FAQ)