Miner Cat 4 - Mining Adventure Game

Seele01-Flash
By
Miner Cat 4 is a delightful side-scrolling mining adventure featuring an adorable cat character. Dig through colorful pixel worlds, collect treasures, and avoid dangerous lava pits in this charming Minecraft-inspired browser game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Miner Cat 4: Pocket Voxel 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. Although the reference is 2D, use Three.js 3D capabilities to render cubes. The camera should be **Orthographic** to maintain the "flat" side-view aesthetic while allowing for 3D depth perception of blocks. * **Textures:** Use low-resolution pixel art textures (16x16px style) for Dirt, Grass, Stone, Coal, Iron, Gold, Diamond, and Lava. **Crucial:** Set texture filtering to `THREE.NearestFilter` to ensure pixels remain crisp and sharp, not blurry. * **Player Character:** A Voxel-style orange cat (referencing the "Scratch Cat"). The model should be simple (head, body, tail) and hold a pickaxe. * **Lighting:** Bright, outdoor lighting. Use an `AmbientLight` for base visibility and a `DirectionalLight` to cast soft shadows from the blocks. * **Optimization (Mobile):** Use `THREE.InstancedMesh` for rendering the terrain blocks. Do not create individual Mesh objects for every block, as this will crash mobile browsers. Implement a chunk system or simple culling to only render blocks within the camera's view. ### 2. Audio Requirements * **BGM:** A cheerful, looping 8-bit chiptune track. It should be relaxing and rhythmic, suitable for repetitive mining tasks. * **Sound Effects (SFX):** * **Mining:** A "crunch" or "pop" sound with varying pitch each time a block is hit. * **Jump:** A retro synth "up" slide or a cute "Meow". * **Collection:** A high-pitched "ding" when picking up ore. * **Lava:** A low, bubbling sizzling sound when near lava. * **UI:** Soft clicks for inventory and shop interaction. ### 3. Gameplay Loop * **Core Mechanics:** The player starts on the surface. They must dig down into the grid-based terrain to find resources. * **Mining & Durability:** Blocks take time to break based on the current pickaxe tier. Harder blocks (Stone vs. Dirt) take longer. * **Economy:** The player returns to the surface to talk to NPC "Bob" (a static voxel character). Interacting with Bob opens a UI to sell ores for money and buy better pickaxes. * **Hazards:** Lava pools generate randomly deep underground. Touching lava deals damage or instantly respawns the player at the surface, losing a portion of resources. * **Win/Loss:** There is no strict "Game Over." The goal is infinite progression (Better tools -> Deeper mining -> More money). ### 4. Mobile Controls & Interaction * **Movement:** Implement an on-screen **Virtual Joystick** on the bottom-left for moving Left/Right. * **Jump:** A large, circular **Jump Button** on the bottom-right. * **Mining Interaction (Touch):** * Instead of mouse clicks, use **Raycasting from touch input**. * The player can tap any block within a radius of 3 units to start mining it. * Visual Feedback: Display a "cracking" overlay texture or shrink the block slightly while the user holds their finger down to mine. * **UI Layout:** * **Hotbar:** A centered row of slots at the bottom showing selected items/blocks. Tap to select active slot. * **Action Buttons:** A generic "Interact" button (exclamation mark icon) appears above the Jump button only when near NPC Bob. * **Pause/Inventory:** Small icons in the top-right corner (at least 44x44px touch target). * **Haptic Feedback:** Trigger `navigator.vibrate(50)` when a block is successfully destroyed or when the player takes damage. 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 enchanting side-scrolling adventure that combines the excitement of mining with the charm of a loveable feline protagonist. This Minecraft-inspired pixel game offers players a delightful underground exploration experience where your main goal is simple yet addictive: mine, collect, and prosper while avoiding the deadly lava below.

The game features beautiful 2D pixel art graphics that create a nostalgic gaming atmosphere. As you control your adorable cat miner through various underground environments, you'll discover a world filled with valuable resources, hidden treasures, and exciting challenges that will keep you engaged for hours.

Core Features

Charming Cat Character

Play as an absolutely adorable cat miner with smooth animations and cute expressions. The feline protagonist brings personality and charm to every mining expedition, making each gameplay session enjoyable and memorable.

Minecraft-Inspired Gameplay

Experience familiar block-based mining mechanics with a unique twist. Break blocks, collect resources, and navigate through procedurally interesting underground caverns filled with valuable materials and hidden secrets.

Beautiful Pixel Art Graphics

Enjoy stunning 2D pixel art that brings the mining world to life. The colorful environments, detailed block textures, and smooth animations create an immersive visual experience that appeals to players of all ages.

Progressive Mining System

Start with basic tools and gradually upgrade your equipment as you collect more resources. The progression system keeps gameplay fresh and motivating as you work towards better mining capabilities.

Safe and Dangerous Areas

Navigate carefully through underground caverns where valuable treasures await, but deadly lava pools pose constant threats. Strategic movement and planning are essential for successful mining expeditions.

Gameplay Mechanics

Resource Collection

Mine various types of blocks to collect different materials. Each resource type has its own value and purpose, encouraging players to explore different areas and develop efficient mining strategies.

Character Interaction

Meet Bob, a helpful NPC who provides guidance, trading opportunities, and valuable information about your mining adventures. Building relationships with characters adds depth to the gameplay experience.

Inventory Management

Utilize a comprehensive inventory system to organize your collected resources. Strategic inventory management becomes crucial as you gather more valuable materials during extended mining sessions.

Operation Guide

Mastering the controls is essential for successful mining:

  • Movement : Use AD keys or left/right arrow keys to move your cat horizontally
  • Jumping : Press W, up arrow key, or spacebar to jump over obstacles and reach higher platforms
  • NPC Interaction : Press F to talk with Bob and other characters
  • Item Management : Use number keys 1-6 to quickly select items from your inventory
  • Mining Action : Left mouse button to use selected tools and mine blocks
  • Item Dropping : Press Q to drop unwanted items
  • Inventory Access : Press E to open your full inventory management screen
  • Game Control : Press P to pause the game when needed

Why Play Miner Cat 4

Perfect for All Ages : The cute cat character and colorful pixel graphics make this game appealing to both children and adults who enjoy casual gaming experiences.

Relaxing Yet Engaging : While the gameplay is accessible and relaxing, the mining mechanics and lava avoidance provide enough challenge to keep players engaged without being overwhelming.

No Download Required : Play instantly in your web browser without any downloads or installations. Perfect for quick gaming sessions during breaks or extended play periods.

Free Entertainment : Enjoy hours of mining fun completely free of charge. No hidden costs or premium features - just pure gaming enjoyment.

Nostalgic Appeal : The pixel art style and mining mechanics will appeal to fans of classic adventure games and modern sandbox titles alike.

Frequently Asked Questions (FAQ)