Cave Chaos - Underground Mining Adventure

Seele01-Flash
By
Cave Chaos is an exciting pixel-art platformer where you play as a brave miner escaping from collapsing underground caverns. Collect precious loot, dodge falling rocks, and use powerful upgrades in this thrilling 2-player adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Cave Chaos 3D: Escape Run**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 2.5D Voxel Art style (Low-poly blocks with pixel-art textures), mimicking the original Nitrome pixel art aesthetic but with depth. * **Characters**: Create a Voxel-style miner mole character. * **Accessories**: Must wear a mining helmet with a dynamic spotlight (`THREE.SpotLight`) attached to it that illuminates the path ahead. * **Animation**: Simple "Squash and Stretch" scaling animations for jumping and landing to give it a "juicy" arcade feel. * **Environment**: * **Platforms**: Purple/Grey cubic rock blocks. * **Background**: A dark, cavernous purple gradient with parallax layers of stalactites. * **Particles**: Low-poly debris particles that spawn when platforms collapse. * **Performance (Mobile)**: Use `THREE.InstancedMesh` for the platform blocks to ensure 60FPS on mobile devices. Use simple BoxGeometries for collision detection. ### 2. Audio Requirements * **BGM**: Fast-paced, frantic 8-bit/Chiptune track that loops seamlessly. The tempo should feel urgent to match the "escaping" theme. * **SFX**: * **Jump**: A retro "boing" or rising frequency square wave. * **Crumble**: A low-frequency rumble/crunch when blocks fall away. * **Collect**: A high-pitched "ding" for picking up loot. * **Power-up**: A magical ascending arpeggio when invincibility or double-jump is acquired. ### 3. Gameplay Loop * **Core Mechanic**: Infinite Runner / Platformer. The player moves constantly to the right. * **The Threat (Collapse)**: The camera automatically scrolls to the right. Platforms off-screen to the left (or immediately behind the player) must physically fall down into the abyss after a short delay (0.5s) to simulate the cave collapsing. * **Obstacles**: * Gaps between platforms (requiring jumps). * Falling rocks from the ceiling (indicated by a shadow appearing first). * **Power-ups**: * **Double Jump**: Allows a second jump in mid-air (visualize with a particle burst). * **Invincibility**: Player glows gold and ignores falling rocks for 5 seconds. * **Win/Loss**: * **Loss**: Falling into the pit or getting crushed by a rock. * **Score**: Based on distance traveled + loot collected. ### 4. Mobile Controls & Interaction * **Orientation**: **Landscape Mode** is mandatory for side-scrolling visibility. * **Touch Controls**: * **Left Hand**: Virtual Joystick or huge "Left/Right" arrow buttons (bottom-left corner) for movement speed control (air control is allowed). * **Right Hand**: A large, circular "Jump" button (bottom-right corner, min-size 60px). * **Feedback**: * **Haptics**: Trigger `navigator.vibrate(50)` when the player lands a jump or takes damage. * **Visual**: Screen shake effect (camera jitter) when heavy rocks hit the ground. * **UI**: Minimalist HUD showing Score (top-left) and Power-up duration bar (top-center). UI buttons must prevent default browser touch actions (scrolling/zooming). Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Cave Chaos

Cave Chaos is a fast-paced underground adventure platformer that combines classic pixel art aesthetics with heart-pounding escape gameplay. As a skilled miner trapped in collapsing cave systems, your mission is to navigate treacherous underground passages, collect valuable treasures, and reach safety before the entire cavern system comes crashing down.

This thrilling adventure game features beautifully crafted 16-bit style graphics that bring the dangerous underground world to life. Every level presents new challenges as you race against time through crumbling mine shafts, avoiding deadly obstacles while maximizing your treasure collection.

Core Features

Intense Escape Gameplay

Experience the adrenaline rush of escaping collapsing caves as rocks fall around you. The constant pressure creates an exciting atmosphere where every second counts and every jump matters.

Two-Player Cooperative Mode

Team up with a friend for double the fun! Cave Chaos supports 2-player local co-op, allowing you and a buddy to work together to escape the underground dangers. Coordinate your movements, help each other reach difficult areas, and compete for the highest treasure collection.

Strategic Loot Collection

While speed is essential, smart players will balance rushing to safety with collecting valuable loot scattered throughout each level. Gems, coins, and other treasures add to your score and unlock new content.

Powerful Upgrades and Power-ups

Discover game-changing power-ups during your escape: - Double Jump : Reach higher platforms and make impossible leaps - Invincibility : Temporary protection from falling debris - Explosive Bombs : Clear obstacles and create new escape routes

Classic Pixel Art Design

Enjoy nostalgic 16-bit graphics that perfectly capture the retro gaming atmosphere. The detailed sprite work and atmospheric cave environments create an immersive underground adventure experience.

Gameplay Mechanics

Cave Chaos combines precision platforming with time pressure gameplay. Players must quickly assess each situation, deciding when to rush forward and when to carefully navigate obstacles. The collapsing cave environment creates dynamic challenges - what was safe a moment ago might now be blocked by fallen rocks.

The game rewards both speed and exploration. While reaching the exit quickly is important, players who take calculated risks to collect extra loot will achieve higher scores and unlock additional content.

Operation Guide

Master these simple but essential controls:

  • Movement : Use WASD keys or Arrow keys to move your miner left, right, up, and down
  • Jumping : Press the Spacebar to jump over obstacles and reach higher platforms
  • Power-up Activation : Collected power-ups activate automatically or can be triggered with specific key combinations

Pro Tips for Success

  1. Keep Moving : The caves are collapsing - hesitation can be deadly
  2. Plan Your Route : Look ahead to identify the safest path through obstacles
  3. Use Power-ups Wisely : Save game-changing abilities for the most challenging sections
  4. Coordinate in Co-op : Communication with your partner is key to successful teamwork

Why Play Cave Chaos

Cave Chaos offers the perfect blend of retro charm and modern gameplay mechanics. Whether you're a fan of classic platformers or looking for an exciting co-op experience with friends, this game delivers:

  • Instant Action : Jump right into the excitement with intuitive controls
  • Replayability : Multiple difficulty levels and hidden secrets encourage repeated playthroughs
  • Social Gaming : Perfect for sharing the adventure with a friend
  • Nostalgic Appeal : Authentic retro graphics and sound design
  • Free Entertainment : Complete gaming experience at no cost

The game is perfect for players who enjoy classic arcade-style challenges, cooperative gameplay, and the satisfaction of mastering precision platforming skills under pressure.

Frequently Asked Questions (FAQ)