Sub 2 - Underwater Treasure Hunt Adventure

Seele01-Flash
By
Sub 2 is an exciting underwater adventure game where you pilot a submarine through the ocean depths, collecting precious treasures while dodging dangerous marine life. Perfect for players of all ages seeking aquatic thrills.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Sub 2: Deep Sea Hunter**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Cute, Vibrant, Low-Poly 3D. The aesthetic should mimic the colorful cartoon style of early 2000s flash games but rendered in modern 3D. * **Player Model:** A cute, yellow mini-submarine with a spinning rear propeller and a glass cockpit window. It should have a subtle bobbing animation. * **Enemy Models:** * **Armored Fish:** Based on the reference image – a chunky fish with brown rock-like plating on its head and blue fins. It moves slowly but has high health. * **Sharks:** Sleek, grey/blue models that move faster across the screen. * **Environment:** A horizontal side-scrolling underwater scene. * **Background:** Deep blue fog (`scene.fog`) to simulate depth. * **Decor:** Simple low-poly coral, rocks, and seaweed passing by at the bottom of the screen (parallax effect) to indicate speed. * **Effects:** Particle system for rising bubbles from the submarine and explosions/bubbles when enemies are defeated. * **Performance:** Use `BoxGeometry` or `ConeGeometry` primitives for rapid prototyping if models aren't available. Implement **Object Pooling** for bullets and enemies to maintain 60 FPS on mobile devices. ### 2. Audio Requirements * **BGM:** An upbeat, "tropical" style track using marimbas or steel drums (calypso style) to fit the "Cute" tag. * **Sound Effects:** * **Movement:** A constant low-pitch hum for the submarine engine. * **Shooting:** Soft "bloop" or "pew" sounds (torpedo launches). * **Impact:** A metallic "clank" when the sub takes damage. * **Collect:** A high-pitched chime or coin sound when collecting treasure. ### 3. Gameplay Loop * **Perspective:** Side-scrolling shooter (SHMUP). The camera is fixed on the side, looking at the submarine moving from left to right (or stationary while the world scrolls). * **Objective:** survive as long as possible while collecting scores. * **Mechanics:** * **Movement:** The player can move the submarine freely within the screen bounds (Up, Down, Left, Right). * **Combat:** The player shoots torpedoes forward to destroy incoming fish and sharks. * **Collection:** "Treasures" (gold chests or coins) float by. Touching them adds to the score. * **Hazards:** Colliding with an enemy or their projectiles reduces HP. Hitting the sea floor or surface is safe (or bounces the player off). * **Game Over:** When HP reaches 0, show a "Game Over" overlay with the final score and a "Restart" button. ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Landscape Mode** is mandatory for this side-scroller view. * **Control Scheme:** * **Left Screen Area (Virtual Joystick):** An invisible or semi-transparent analog stick on the left half of the screen controls the submarine's movement. * **Right Screen Area (Action Button):** A large, circular button with a target icon on the right side triggers the torpedo shot. * **Physics/Feel:** The submarine should have slight inertia/drift when movement stops to simulate underwater resistance (lerp position). * **Feedback:** * **Visual:** The submarine flashes red when hit. * **Haptic:** Trigger `navigator.vibrate(200)` upon taking damage. * **UI Scaling:** All HUD elements (Health Bar, Score, Pause Button) must be positioned within the "Safe Area" (padding: 20px) to avoid notches on modern phones. Buttons must be at least 44x44 pixels. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Sub 2 is a captivating underwater action adventure that takes you on an exciting journey through the mysterious depths of the ocean. As the captain of your own submarine, you'll navigate through treacherous waters filled with both treasure and danger. This family-friendly game combines simple controls with engaging gameplay, making it perfect for players of all skill levels.

Rated for all ages, Sub 2 offers a safe and entertaining gaming experience that focuses on exploration, collection, and quick reflexes. The charming underwater world awaits your discovery!

Core Features

Immersive Ocean Exploration

Dive deep into beautifully crafted underwater environments where every corner holds the promise of treasure. The ocean floor is scattered with valuable items waiting to be collected by skilled submarine pilots.

Dynamic Marine Life Encounters

The seas are alive with various creatures! Navigate carefully around sharks, fish, and other marine animals that patrol their underwater territories. Each encounter requires quick thinking and precise maneuvering.

Treasure Collection System

Your primary mission is to collect as many treasures as possible while maintaining the safety of your submarine. The more treasures you gather, the higher your score climbs, challenging you to push deeper and take calculated risks.

Simple Yet Engaging Gameplay

Sub 2 strikes the perfect balance between accessibility and challenge. New players can quickly learn the basics, while experienced gamers will find depth in mastering advanced maneuvering techniques.

Gameplay Mechanics

The core gameplay revolves around skillful navigation and treasure collection. As you pilot your submarine through the ocean depths, you'll need to:

  • Navigate carefully through underwater terrain
  • Collect treasures scattered across the ocean floor
  • Avoid marine life that can damage your submarine
  • Use defensive measures when threatened
  • Manage your submarine's condition throughout the journey

Operation Guide

Mastering Sub 2's controls is essential for successful treasure hunting:

  • Mouse Movement : Control your submarine's direction by moving the mouse. The submarine follows your cursor, allowing for precise navigation through tight spaces and around obstacles.
  • Left Mouse Button (LMB) : Fire defensive shots when threatened by aggressive marine life. Use this sparingly and strategically to clear your path.
  • Navigation Strategy : Plan your route carefully, balancing treasure collection opportunities with safe passage through dangerous waters.

Why Play Sub 2

Perfect for All Ages

With its all-ages content rating, Sub 2 provides wholesome entertainment that families can enjoy together. The cute visual style and non-violent approach make it ideal for younger players while still offering enough challenge for adults.

Instant Browser Gaming

No downloads or installations required! Sub 2 runs directly in your web browser, making it instantly accessible whenever you want to embark on an underwater adventure.

Skill Development

The game helps develop hand-eye coordination, strategic planning, and quick decision-making skills as players navigate through increasingly challenging underwater environments.

Stress-Free Gaming

Unlike intense action games, Sub 2 offers a more relaxed gaming experience while still providing excitement and engagement. It's perfect for short gaming sessions or longer treasure-hunting expeditions.

Replay Value

Each playthrough offers a unique experience as marine life patterns and treasure distributions vary, encouraging multiple attempts to achieve higher scores and perfect your submarine piloting skills.

Frequently Asked Questions (FAQ)