Shark.io - Multiplayer Ocean Battle Arena

Seele01-Flash
By
Shark.io is an intense multiplayer ocean battle arena where players control customizable sea creatures in epic underwater combat. Fight other sharks, collect power-ups, and dominate the seas to become the ultimate apex predator.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Shark.io - Underwater Battle Royale**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Vibrant, cartoonish 3D aesthetics (similar to "Baby Shark" or "Finding Nemo" colors). High saturation textures. * **Player Character**: A low-poly, stylized shark (purple by default) equipped with a **sharp horn** on its nose (this is the weapon). The shark should have a "wobble" animation to simulate swimming. * **Environment**: An expansive, flat seabed (sand texture) enclosed by invisible walls. * **Lighting**: Use directional light with soft shadows and Ambient light to ensure visibility. Implement a blue `scene.fog` to simulate underwater depth and hide the render distance limits. * **Water Effect**: Simple caustics (light patterns) projected on the seabed texture or floating light particles to sell the underwater feel without expensive shaders. * **Collectibles**: * **White Pellets**: Small spheres scattered everywhere (restores/fills Boost Bar). * **Gold Stars**: Floating star shapes with a rotation animation (increases Score/Size). * **Optimization (Mobile)**: Use `InstancedMesh` for all collectibles (pellets/stars) to ensure 60FPS on mobile devices. Limit shark polygon count to under 500 tris. ### 2. Audio Requirements * **BGM**: Upbeat, tropical arcade-style music (Steel drums mixed with electronic beats). * **SFX**: * **Movement**: Subtle continuous water swishing sound. * **Dash**: A high-pitched "Whoosh" or bubble burst sound. * **Collect**: High-pitched "Ding" or "Pop" for stars/pellets. * **Kill/Impact**: A comedic "Crunch" or "Bonk" sound when hitting an enemy. ### 3. Gameplay Loop * **Perspective**: Top-down isometric view (Camera angle approx 60 degrees), following the player smoothly. * **Core Mechanic**: * **Swimming**: The shark moves constantly in the direction of input. * **Combat**: The player's weapon is the **Horn**. If the Player's horn touches an Enemy's body/side -> Enemy dies (turns into meat/stars). If Enemy's horn touches Player's body -> Game Over. Head-on collisions (Horn vs Horn) result in a bounce-back. * **Resource Management**: * **Boost Bar**: Consumed by holding the Dash button. Refilled by eating White Pellets. * **Growth**: Collecting Stars increases the player's Score and slightly increases the Shark's scale (size). * **Bot Logic**: Spawn 10-20 AI sharks with random skins/horns. They wander randomly, seek pellets, and flee if the player is boosting towards them. ### 4. Mobile Controls & Interaction * **Orientation**: Landscape Mode (force strictly). * **Touch Controls**: * **Left Half of Screen**: Invisible Dynamic Virtual Joystick for 360-degree movement steering. * **Right Half of Screen**: A large, semi-transparent circular button (with a lightning bolt icon) for **Boosting/Dashing**. * **UI Layout**: * Top Left: Scoreboard (Player Rank). * Top Right: Kill Count / Score. * Bottom: Boost Stamina Bar (Visual gauge). * **Feedback**: * **Haptic**: Trigger `navigator.vibrate(200)` when the player kills an enemy. * **Visual**: Camera Shake (screen shake effect) upon impact/kill. Floating text (+100) when collecting stars. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Shark.io is an addictive multiplayer battle arena game that plunges you into the depths of ocean warfare. In this fast-paced aquatic combat experience, you'll take control of a fierce shark and battle against players from around the world in real-time underwater combat. The goal is simple yet challenging: survive, grow stronger, and claim your title as the undisputed King of the Sea.

This exciting .io game combines the thrill of battle royale mechanics with unique ocean-themed gameplay, creating an experience that's both accessible to newcomers and engaging for seasoned players. With its colorful cartoon-style graphics and smooth gameplay mechanics, Shark.io offers endless entertainment in bite-sized gaming sessions.

Core Features

Multiplayer Ocean Combat

Engage in real-time battles with players worldwide in massive underwater arenas. Every match brings new challenges as you face off against sharks of varying sizes and skill levels, creating dynamic and unpredictable gameplay experiences.

Extensive Customization System

Personalize your aquatic warrior with an impressive array of customization options: - Weapon Selection : Choose from a variety of deadly horns, each with unique combat advantages - Character Transformation : Transform into different sea creatures and even some surprising non-aquatic animals - Visual Customization : Create a unique appearance that strikes fear into your opponents

Strategic Boost Mechanics

Master the boost system to gain tactical advantages in battle. Collect white objects scattered throughout the ocean to build your boost bar, then unleash devastating speed bursts to outmaneuver enemies or deliver crushing attacks.

Progressive Scoring System

Increase your score and climb the leaderboards by collecting stars throughout the arena. Higher scores unlock new customization options and demonstrate your prowess as an ocean predator.

Gameplay Mechanics

The core gameplay revolves around tactical movement and timing. Players must balance aggressive attacks with strategic positioning, using the ocean environment to their advantage. Success requires mastering the boost system, understanding enemy movement patterns, and making split-second decisions in high-pressure combat situations.

Combat is horn-based, requiring players to ram into opponents with precise timing and positioning. This creates intense moments where victory depends on skillful maneuvering rather than just reflexes.

Operation Guide

Controls are designed for both desktop and mobile players:

Movement Controls: - WASD Keys : Classic keyboard movement for precise control - Arrow Keys : Alternative keyboard option for comfortable gameplay - Mouse Control : Intuitive mouse-based movement for smooth navigation

Combat Actions: - Spacebar : Execute powerful dash attacks - Left Mouse Click : Alternative dash control for quick response - Horn Combat : Defeat enemies by ramming them with your equipped horn

Strategy Tips: - Collect white boost objects to maintain your energy reserves - Use walls and obstacles to outmaneuver larger opponents - Time your boosts carefully for maximum impact - Target smaller fish to grow stronger before facing larger predators

Why Play Shark.io

Shark.io stands out in the crowded .io game market through its unique combination of ocean-themed combat and deep customization systems. The game offers:

Immediate Accessibility : Jump into matches within seconds with no downloads required. The browser-based platform ensures you can start playing immediately on any device.

Competitive Depth : While easy to learn, the game rewards skill development and strategic thinking. Master players can consistently dominate through superior positioning and boost management.

Social Gaming : Connect with a global community of players in real-time multiplayer battles. Every match brings new opponents and fresh challenges.

Regular Content : The customization system provides long-term progression goals, keeping gameplay fresh as you unlock new creatures and weapons.

Cross-Platform Play : Seamlessly switch between desktop and mobile devices while maintaining your progress and customizations.

Whether you're looking for quick gaming sessions during breaks or extended competitive play, Shark.io delivers an engaging ocean adventure that keeps you coming back for more aquatic battles.

Frequently Asked Questions (FAQ)