Motherload - Classic Mining Adventure Game

Seele01-Flash
By
Motherload is a legendary mining adventure game where you pilot a drilling vehicle deep into an alien planet's crust. Collect valuable minerals, upgrade your equipment, and discover ancient artifacts in this addictive underground exploration experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Motherload (Mobile Remake)". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 2.5D "Side-View" aesthetic. Use 3D models rendered with an `OrthographicCamera` to mimic the classic flat Flash look but with modern lighting. The style should be Low-Poly Sci-Fi. * **The Mining Pod:** A distinctive robot tank character (chassis, tracks, rotating drill bit). Needs simple animations: tracks rolling when moving, drill spinning when digging, and a flame particle effect from the bottom when flying. * **The Surface:** A red/orange alien landscape (Mars-like). Must include three distinct 3D structures: * **Fuel Station:** Marked with a floating "FUEL" sign (neon yellow). * **Mineral Processing Plant:** Industrial look, conveyer belt entrance. * **Repair/Upgrade Shop:** Garage style with a wrench icon. * **The Underground:** A generated grid (e.g., 50x200 blocks). * **Soil Blocks:** Standard brown earth textures. * **Ores:** Blocks with distinct colored flecks (Iron=Grey, Gold=Yellow, Emerald=Green, Ruby=Red). * **Bedrock:** Dark grey, unbreakable blocks at the edges. * **Lighting:** * Surface: Bright directional light (Sun). * Underground: Dark ambient light. The Player Pod must have a **PointLight** or **SpotLight** acting as a headlight that illuminates the soil immediately around them. * **Mobile Optimization:** Use **InstancedMesh** for the soil blocks to ensure high FPS on mobile browsers. Do not render thousands of individual mesh objects. ### 2. Audio Requirements * **BGM:** * **Surface:** Light, rhythmic industrial lo-fi beat. * **Underground:** As depth increases, crossfade to a dark, ambient, cavernous drone sound (sub-bass and reverb). * **SFX:** * **Digging:** A satisfying "crunch" or gravel sound (varied pitch). * **Engine:** A low hum that increases in pitch when "Flying" (holding Up). * **UI:** 'Cha-ching' cash register sound when selling. Mechanical wrench sound when repairing. * **Alarms:** High-pitched beep loop when Fuel or Hull is below 20%. ### 3. Gameplay Loop * **Core Mechanics:** The player controls the mining pod on a 2D plane (X/Y axis). * **Digging:** Moving into a soil/ore block destroys it, adds it to inventory, and slightly slows movement. * **Flying:** Moving UP consumes Fuel rapidly. Gravity pulls the pod down constantly. * **Economy & Stats:** * **Fuel:** Depletes over time and faster when drilling/flying. Hitting 0 causes the pod to explode (Game Over). * **Hull (HP):** Taking fall damage (falling too fast) or hitting bedrock too hard reduces Hull. Hitting 0 = Game Over. * **Cargo:** Limits how many ores can be held. * **Money:** Earned by touching the Mineral Plant on the surface. * **The Loop:** 1. Descend and mine until Fuel/Cargo is full. 2. Fly back to the surface (avoid running out of fuel!). 3. Touch the **Mineral Plant** to sell cargo ($$$). 4. Touch the **Fuel Station** to buy gas ($). 5. Touch the **Shop** to buy upgrades (Faster Drill, Larger Tank, Stronger Hull). ### 4. Mobile Controls & Interaction * **Orientation:** **Landscape Mode** is mandatory for the side-scrolling view. * **Virtual Controls:** * **Left Thumb:** A floating **Virtual Joystick** (D-Pad style preferred for grid precision). Controls Left/Right movement and Down (Dig). * **Right Thumb:** A large, round **"Thruster/Fly" Button**. Holding this applies upward force. * **Touch Feedback:** * Trigger `navigator.vibrate(20)` (Haptic Feedback) every time a block is destroyed. * Trigger `navigator.vibrate(200)` on heavy fall damage or explosion. * **UI Overlay:** * Top Left: Fuel Gauge (Green to Red gradient). * Top Center: Hull/Health Bar. * Top Right: Money Counter ($) and Cargo Capacity (e.g., "5/10"). * **Shop UI:** When entering the shop, open a large, touch-friendly HTML overlay modal with big buttons for "Upgrade Drill", "Upgrade Hull", etc. Close button in the corner. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Motherload is a classic mining simulation game that has captivated players for decades with its simple yet deeply engaging gameplay. In this 2D underground adventure, you take control of a mining vehicle on an alien planet, tasked with extracting valuable resources from beneath the surface. What starts as simple dirt digging quickly evolves into an epic journey to the planet's core, where precious minerals and mysterious artifacts await discovery.

The game combines resource management, strategic upgrading, and exploration elements to create an incredibly addictive gaming experience. Your mission is straightforward: dig deep, collect materials, sell them for profit, and use your earnings to upgrade your mining capabilities for even deeper excavations.

Core Features

Progressive Depth Exploration

Start at the surface and work your way down through increasingly valuable mineral layers. The deeper you venture, the more precious the resources become - from basic copper and iron near the surface to platinum, emeralds, and mysterious religious artifacts worth $50,000 each at depths beyond -1000 feet.

Comprehensive Upgrade System

Transform your basic mining vehicle into a powerful deep-core drilling machine. Purchase upgrades for: - Fuel Tank : Extend your mining expeditions with larger fuel capacity - Cargo Hold : Carry more minerals per trip to maximize profits - Drill Power : Break through tougher materials and mine faster - Engine : Improve movement speed and efficiency - Hull Strength : Withstand damage from rocks and environmental hazards - Radiator : Better heat management for deeper excavations

Resource Management Challenge

Balance your fuel consumption, cargo capacity, and hull integrity as you plan each mining expedition. Running out of fuel results in vehicle destruction, adding strategic depth to every decision about how far to venture.

Repair and Maintenance System

Visit the emendation station to repair hull damage and the junk shop to purchase essential items like backup fuel tanks and explosives for clearing obstacles.

Game Mechanics

Mining Operations

Your primary gameplay loop involves descending into the alien planet's crust, extracting valuable minerals, and returning to the surface processing plant to sell your haul. Each successful trip provides funds for crucial upgrades that enable deeper exploration.

Strategic Fuel Management

Fuel is your lifeline in Motherload. Plan your routes carefully, use backup fuel tanks for extended expeditions, and always maintain enough fuel for the return journey to avoid catastrophic vehicle destruction.

Artifact Discovery

Beyond standard minerals, the deep underground holds ancient religious artifacts that provide massive instant payouts. These rare discoveries can dramatically accelerate your upgrade progression.

Controls and Operation

Movement Controls: - Digging : Use A, S, D keys or Left, Down, Right arrow keys to dig in respective directions - Flying : Hold W key, Up arrow, or Left mouse button to ascend - Navigation : Combine digging and flying controls for efficient underground movement

Pro Tips for Efficient Mining: - Use your vehicle's flying ability to avoid fall damage when navigating deep shafts - Backup fuel tanks are essential for profitable deep mining expeditions - Focus on reaching -1000 feet depth quickly to access high-value religious artifacts - Plan your digging routes to create efficient pathways for future expeditions

Why Play Motherload

Timeless Addictive Gameplay : Motherload's simple concept masks incredibly deep and satisfying progression mechanics that keep players engaged for hours.

Perfect Casual Gaming : Easy to learn controls and mechanics make it accessible to all skill levels, while the upgrade system provides long-term goals for dedicated players.

No Download Required : Play instantly in your web browser without any installation or registration requirements.

Cross-Platform Compatibility : Runs smoothly on desktop computers, laptops, and mobile devices through modern HTML5 technology.

Retro Gaming Appeal : Experience a piece of gaming history with this beloved Flash-era classic, now preserved and playable through modern web standards.

Whether you're seeking a nostalgic trip back to classic web gaming or discovering this mining masterpiece for the first time, Motherload delivers an unforgettable underground adventure that perfectly balances simplicity with addictive depth.

Frequently Asked Questions (FAQ)