Miner Cat 4

Seele01-Flash
By
Miner Cat 4 is a delightful side-scrolling mining adventure that combines the charm of pixel art with addictive resource collection gameplay. Guide your adorable cat character through underground worlds, mining valuable resources while avoiding dangerous lava pits.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Miner Cat 4 - Pocket Edition". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 2.5D Side-Scrolling Voxel Art. The game should use 3D Cube geometries to represent a 2D plane (like Terraria but with 3D blocks). The camera should be fixed in a side-view perspective (OrthographicCamera is preferred for the flat look, or PerspectiveCamera with a narrow FOV). * **World Generation:** A grid-based world generation using `InstancedMesh` for performance optimization on mobile devices. * **Layers:** Top layer is Green Grass, below is brown Dirt, deeper is grey Stone. * **Ores:** Randomly scattered Coal (black specs), Iron (beige specs), and Gold (yellow specs) blocks within the stone layer. * **Fluids:** Blue water blocks and red glowing Lava blocks (emissive material) found deep underground. * **Character:** A simple Voxel-style Orange Cat (resembling the Scratch Cat color palette) consisting of combined cubes. * **Lighting:** Bright, cheerful daylight settings using HemisphereLight and a DirectionalLight to cast soft shadows from the blocks. * **Performance:** Use low-poly geometries. Textures must use `NearestFilter` to maintain the crisp pixel-art look without blurring. ### 2. Audio Requirements * **BGM:** A looping, upbeat 8-bit/Chiptune track that evokes a sense of exploration and sunny days. * **Sound Effects (SFX):** * **Mining:** A "Crunch" or "Pop" sound with varying pitch when a block is destroyed. * **Jump:** A retro "Boing" or rising synth slide. * **Collection:** A high-pitched "Ding" or coin sound when ores are collected. * **Damage:** A distinct "Hiss" or cat yowl if the player touches Lava. * **UI:** A soft "Click" for inventory selection. ### 3. Gameplay Loop * **Core Mechanic:** The player moves left/right and jumps to navigate the terrain. The primary goal is to mine blocks to gather resources. * **Mining System:** Different blocks have different "hardness." Touching a block initiates mining. The player must be within a certain distance (range) to mine. * **Economy:** * **Collect:** Mining Coal, Iron, and Gold adds to the inventory count. * **NPC Bob:** A stationary NPC character ("Bob") located at the spawn point. Moving close to Bob and tapping him opens a simple "Sell" menu to convert ores into Money ($). * **Game Over/Hazard:** Falling into Lava causes rapid health loss. If health hits 0, the player respawns at the start and loses a portion of their ores. ### 4. Mobile Controls & Interaction * **Movement (Left Hand):** Implement a semi-transparent **Virtual Joystick** in the bottom-left corner of the screen for horizontal movement (Left/Right). * **Actions (Right Hand):** * **Jump Button:** A circular button in the bottom-right corner. * **Mining Interaction:** Utilize **Raycasting on Touch**. When the player taps a block directly on the screen: 1. Check distance (must be close to player). 2. If valid, play particle effect and remove block after a delay (simulating mining time). * **UI Layout:** * **Hotbar:** A centered row of slots at the bottom showing the currently selected tool (Pickaxe) and block counts. Buttons must be at least 44x44px. * **Orientation:** Force Landscape mode layout. * **Feedback:** * **Haptic:** Trigger `navigator.vibrate(50)` when a block is successfully destroyed or when taking damage. * **Visual:** Spawn small cube particles (block debris) that scatter when a block is broken. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Miner Cat 4 is an engaging side-scrolling mining adventure that brings together the beloved Scratch cat character with Minecraft-inspired gameplay mechanics. This charming pixel art game invites players to embark on an underground journey filled with resource collection, exploration, and strategic mining. The game's simple yet addictive gameplay loop focuses on digging deeper, collecting valuable materials, and building wealth while navigating the dangers lurking beneath the surface.

Core Features

Minecraft-Inspired Gameplay

Experience the thrill of block-based mining in a side-scrolling format. The game captures the essence of Minecraft's resource gathering mechanics while offering a unique 2D perspective that makes exploration feel fresh and accessible.

Adorable Pixel Art Style

The game features beautiful pixel art graphics that bring the underground world to life. Every block, character, and environmental element is crafted with attention to detail, creating a visually appealing experience that appeals to players of all ages.

Progressive Mining System

Start your mining adventure with basic tools and gradually work your way up to more advanced equipment. As you dig deeper and collect more resources, you'll unlock new possibilities and discover rarer materials that command higher prices.

Resource Management

Balance risk and reward as you decide how deep to venture and which resources to prioritize. The game's inventory system allows you to manage your collected materials efficiently, making strategic decisions about what to keep and what to sell.

Dangerous Underground Hazards

Navigate carefully through the underground world as deadly lava pools pose a constant threat. One wrong move could end your mining expedition, adding an element of tension and strategy to every dig.

Gameplay Mechanics

Mining and Exploration

Use your mining tools to break through different types of blocks, each containing various resources. The deeper you go, the more valuable materials you'll discover, but the dangers also increase proportionally.

Character Interaction

Meet Bob, a helpful character who provides guidance and trading opportunities. Use the interaction system to learn more about the game world and access important services that will aid your mining career.

Inventory Management

The game features a comprehensive inventory system where you can organize your collected resources. Quick-select numbered slots allow for easy access to your most important tools and items during intense mining sessions.

Operation Guide

Movement Controls

  • Movement : Use A and D keys or left and right arrow keys to move your cat character horizontally
  • Jumping : Press W, up arrow key, or spacebar to jump over obstacles and reach higher platforms
  • Item Selection : Use number keys 1-6 to quickly select different tools and items from your inventory
  • Mining Action : Left-click to use your selected tool or item
  • Item Management : Press Q to drop unwanted items and E to open your full inventory
  • Character Interaction : Press F when near Bob to engage in conversation or trading
  • Game Control : Press P to pause the game when you need a break

Strategic Tips

  • Plan your mining routes carefully to avoid getting trapped by lava
  • Collect resources systematically to maximize your efficiency
  • Keep an eye on your tool durability and plan for replacements
  • Balance exploration with safety to avoid losing valuable progress

Why Play This Game

Miner Cat 4 offers the perfect blend of relaxing mining gameplay and strategic resource management. The game's charming pixel art style and cute cat protagonist create an inviting atmosphere that welcomes players of all skill levels. Whether you're a fan of Minecraft-style games or simply enjoy casual adventure experiences, this browser-based gem provides hours of engaging gameplay without requiring any downloads or installations.

The game's accessible controls and progressive difficulty make it ideal for both quick gaming sessions and longer exploration adventures. Its free-to-play nature means you can dive into the mining fun immediately, making it perfect for office breaks, study pauses, or casual gaming sessions.

Frequently Asked Questions (FAQ)