Fish Eat Fish - Multiplayer Ocean Survival Game

Seele01-Flash
By
Fish Eat Fish is an exciting multiplayer ocean survival game where you grow by eating smaller fish, collect gems, and work to restore a damaged reef. Perfect for 1-3 players with cross-platform support.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Fish Eat Fish: Mobile Reef Defender**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 3D Low-poly style mimicking 2D cartoon art (Cell-shaded or Flat Shading materials). Bright, highly saturated colors (Coral Orange, Deep Blue, Seaweed Green). * **Camera:** Use an **Orthographic Camera** positioned on the Z-axis looking at the X-Y plane to create a side-scrolling "aquarium" perspective. * **Player Model:** A customizable low-poly fish. Default to "Neo" style (Orange and White stripes, Clownfish-like). The fish must have a visible numerical label above its head indicating its current "Size/Score". * **Enemy Assets:** Procedurally generated fish of varying sizes and colors (Red/Blue for aggressive, Green/Yellow for passive). * **Environment:** * **Background:** A deep blue gradient shader representing the ocean depth. * **Props:** Background layers with parallax scrolling (distant reefs, rocks, and the "Head of the Stone Golem" artifact as a static background mesh). * **Particles:** Rising bubble particles and floating plankton dust to create underwater atmosphere. * **Mobile Optimization:** Use `InstancedMesh` for enemy fish swarms to maintain high FPS on mobile devices. Texture resolution limit: 512x512. ### 2. Audio Requirements * **BGM:** A looping, tropical underwater track. Think "calypso style" with steel drums and soft bubbling synth pads. Lighthearted and casual. * **Sound Effects (SFX):** * **Movement:** Soft "whoosh" when changing direction quickly. * **Eating:** A cartoonish "Chomp" or "Gulp" sound. * **Level Up/Growth:** A magical "Ding" or ascending chime. * **Damage/Death:** A dull "Thud" or bone-rattle sound when hitting a mine or larger fish. * **UI:** Pop sounds for button clicks. ### 3. Gameplay Loop * **Core Mechanic:** The "Agar.io" mechanic. The player controls a fish that can only eat enemies with a smaller "Size Number" than itself. * **Growth Logic:** Upon eating a smaller fish, the player's scale increases by 5%, and their "Size Number" increases by the value of the eaten fish. * **Gem System:** Occasionally, eating a fish drops a "Gem". Collecting Gems adds to a currency counter (UI Top Right). * **Threats:** * **Bigger Fish:** Contact causes instant Game Over. * **Sea Mines:** Static spiky obstacles. Contact causes Game Over. * **Shark:** A rare event where a massive shadow passes and a giant shark swims across the screen (invincible hazard). * **Victory/Endless:** The game is endless, tracking the "Highest Size Reached". ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Landscape Mode** is mandatory. * **Control Scheme:** * **Virtual Joystick:** Implement a dynamic virtual joystick on the left side of the screen. The fish moves relative to the joystick angle. * **Alternative (Optional Toggle):** "Follow Finger" logic where the fish smoothly lerps toward the touch position. * **UI Layout:** * **Touch Targets:** All UI buttons (Pause, Shop, Restart) must be at least 48x48px safe area. * **HUD:** Player Score (Top Left), Gems (Top Right). * **Feedback:** * **Haptic Feedback:** Trigger `navigator.vibrate(50)` when eating a fish. Trigger a heavy vibration on death. * **Visual Feedback:** Screen shake (camera jitter) when eating a large target or getting close to a mine. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Fish Eat Fish

Fish Eat Fish is a captivating multiplayer ocean survival game that combines strategy, growth mechanics, and cooperative gameplay. After a devastating shark attack leaves the reef barren, three brave fish - Ivi, Neo, and Tod - embark on a mission to restore their underwater home. This engaging game supports 1-3 players and offers endless hours of aquatic adventure.

Core Features

Multiplayer Gaming Excellence

Fish Eat Fish shines as a multiplayer experience that accommodates different group sizes. Whether playing solo for a peaceful experience, with a friend for competitive fun, or with two friends for chaotic underwater action, the game adapts perfectly to your gaming situation.

Progressive Growth System

The core gameplay revolves around the classic "bigger fish eats smaller fish" concept, but with strategic depth. As your fish grows larger by consuming smaller creatures, you unlock new abilities and earn valuable gems that serve as the game's currency system.

Reef Restoration Mission

Beyond simple survival, players work toward a meaningful goal: restoring the damaged reef . Use collected gems to purchase plants, decorative items, and inhabitants from the in-game shop. The ultimate objective is acquiring the legendary Head of the Stone Golem artifact to protect the reef from future attacks.

Unique Character System

Each of the three playable fish has distinct characteristics: - Ivi (yellow and purple): The balanced starter fish - Neo (orange and white): Reminiscent of popular animated fish characters - Tod (red and blue): The versatile option with multiple control schemes

Gameplay Mechanics

Survival Strategy

Success in Fish Eat Fish requires careful size management and timing . Players must identify which fish they can safely consume while avoiding larger predators. The ocean environment includes dangerous sea mines that pose threats to all fish regardless of size, adding strategic obstacles to navigation.

Gem Economy

The game features a robust economic system where gems serve as currency for reef restoration. Larger fish yield more gems when consumed, encouraging players to take calculated risks for greater rewards. The shop system allows for meaningful progression beyond simple growth.

Environmental Awareness

Navigating the post-attack reef requires spatial awareness and quick decision-making. Players must balance aggressive feeding with cautious movement, especially when sea mines are present in the area.

Controls and Accessibility

Flexible Control Options

  • Player 1 : WASD keys for intuitive movement
  • Player 2 : Arrow keys for classic directional control
  • Player 3 : UHJK keys or mouse for versatile input options

The multiple control schemes ensure that players can choose their preferred input method, making the game accessible to different gaming preferences and hardware setups.

Platform Compatibility

Cross-Platform Gaming

Fish Eat Fish offers seamless cross-platform compatibility , running smoothly on both desktop computers and mobile devices. The browser-based design means no downloads or installations are required - simply visit the game page and start playing immediately.

Mobile Optimization

The mobile version maintains all desktop features while adapting the interface for touchscreen controls. This ensures that the multiplayer experience remains consistent across all devices.

Why Play Fish Eat Fish

Fish Eat Fish stands out in the crowded ocean of online games through its perfect balance of competition and cooperation . The reef restoration theme adds purpose to the gameplay beyond simple survival mechanics. The multiplayer support makes it ideal for family gaming sessions or friendly competitions.

The game's immediate accessibility - no downloads, no accounts, no payments - removes barriers to entry while maintaining engaging long-term progression through the gem collection and reef restoration systems. Whether you're looking for a quick gaming session or an extended underwater adventure, Fish Eat Fish delivers an satisfying experience that scales with your available time and player count.

Frequently Asked Questions (FAQ)