Mine-Craft.io - Online Minecraft Building Game

Seele01-Flash
By
Mine-Craft.io is a free online multiplayer building game inspired by Minecraft. Create custom worlds, gather resources, build structures, and engage in exciting PvP battles with players worldwide.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Mine-Craft.io". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 2D Top-Down perspective using an **Orthographic Camera** to simulate the flat, pixel-art style seen in the screenshot. The aesthetic should be "Voxel Art flattened to 2D" (Low-poly aesthetics but rendered as sprites or flat planes). * **World Generation**: A grid-based, chunk-generated infinite map. * **Biomes**: Green grasslands (start area), dark water patches, grey stone patches, and distinct "Safe Zone" flooring in the center. * **Textures**: Pixelated textures for Grass, Dirt, Stone, Wood, and Water. Use a **Texture Atlas** to reduce draw calls. * **Characters**: * **Player**: A top-down view of a "Steve-like" character (square head, shoulders visible). * **Mobs**: Square-shaped pigs (pink), zombies (green), and spiders (black). * **Particles**: Simple heart particles (for breeding/healing) and block-break debris (square particles matching block color). * **Mobile Optimization**: * Use `THREE.InstancedMesh` for rendering the ground and environmental blocks to handle thousands of tiles at 60fps on mobile. * Limit visible chunks based on mobile device capability. ### 2. Audio Requirements * **BGM**: A relaxing, Lo-Fi piano loop similar to "C418 - Sweden" but simplified for a web .io game context. It should fade out during combat. * **Sound Effects (SFX)**: * **Movement**: Soft "crunch" sounds synced with player movement speed (interval varies for running vs. walking). * **Interaction**: A distinctive "Pop" sound when collecting items. * **Combat**: A high-pitched "Oof" for player damage, and a retro "thud" for hitting enemies. * **UI**: Crisp clicking sounds for inventory management and hotbar selection. ### 3. Gameplay Loop * **Core Mechanics**: 1. **Spawn**: Player starts in the central "Safe Zone" (no PvP/PvE allowed here). 2. **Gather**: Player moves to the "Wild," punching trees/rocks to gather Wood and Stone. 3. **Craft**: Open inventory to convert resources into Tools (Pickaxe, Sword) and Walls. 4. **Build**: Place blocks on the grid to build bases or traps. 5. **Survive**: Defend against Zombies that spawn at night or hostile players in PvP zones. * **Economy**: A simple system where collected rare ores (Gold, Diamond) can be traded in the Safe Zone shop for coins. * **Victory/Defeat**: * **Defeat**: Upon HP reaching 0, drop 50% of inventory and respawn in the Safe Zone. * **Score**: Leaderboard tracks "Wealth" (Gold/Items) and "Kills". ### 4. Mobile Controls & Interaction * **Movement**: A dynamic **Virtual Joystick** on the left side of the screen for omnidirectional movement (WASD equivalent). * **Action Buttons (Right Side)**: * **Primary Action (Big Button)**: Context-sensitive. Attacks if holding a weapon/mining tool; Places block if holding a building item. * **Secondary Action (Small Button)**: "Interact/Open" (for chests/doors/shops). * **Inventory & Hotbar**: * **Hotbar**: A row of 5-8 slots centered at the bottom. Tap a slot to equip. Active slot highlights yellow. * **Inventory Toggle**: A backpack icon (top-right) opens a full-screen grid UI for crafting. * **Screen Orientation**: **Landscape Mode** locked. * **Feedback**: * **Haptic**: Short vibration (10ms) when placing a block or taking damage. * **Visual**: The button pressed should scale down slightly (0.9x) to indicate a register. Damage numbers pop up over the target. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Mine-Craft.io

Mine-Craft.io is an innovative browser-based building and survival game that brings the beloved Minecraft experience to your web browser. This free-to-play multiplayer game allows you to gather resources, construct elaborate buildings, form alliances, and defend against both nocturnal monsters and hostile players in a thriving online community.

With its top-down 2D perspective and rich multiplayer features, Mine-Craft.io offers an accessible yet deep gaming experience that runs smoothly on both desktop and mobile devices without any downloads required.

Core Features

Comprehensive Building System

Mine-Craft.io provides extensive building capabilities that rival traditional Minecraft:

  • Custom Server Creation : Design and host your own private worlds with personalized rules
  • Resource Management : Mine ores, collect materials, and craft essential items for survival
  • Complex Mechanisms : Build intricate redstone-like contraptions and automated systems
  • World Sharing : Share your creations with friends and the global community
  • Multiple Biomes : Explore diverse environments from peaceful overworld to dangerous Nether realms

Dynamic Social Features

  • Friend System : Connect with other players and build lasting gaming relationships
  • Alliance Formation : Team up with other players for protection and collaborative building
  • Teleport Requests : Instantly travel to friends' locations with permission-based teleportation
  • Community Events : Participate in daily events and giveaways for exclusive rewards

Exciting Game Modes

Creative Mode gives you unlimited resources to build magnificent structures without restrictions. Survival PvE challenges you to gather resources while defending against monsters. Survival PvP adds the thrilling element of player combat to the survival experience.

Epic Mini-Games Collection

Experience variety with built-in mini-games including: - SkyWars : Battle on floating islands - BedWars : Protect your bed while destroying opponents' - AmongUs : Social deduction gameplay - Zombies : Survive endless waves of undead - Duels : 1v1 and 2v2 combat challenges

Gameplay Mechanics

Economic System

Mine-Craft.io features a robust player-driven economy: - Player Shops : Build and operate your own stores - Auction House : Buy and sell rare items and worlds through competitive bidding - Trading System : Exchange valuable resources and enchanted equipment - Virtual Business : Establish profitable enterprises within the game world

Combat and Bosses

Face challenging bosses that require teamwork and strategy to defeat. These powerful enemies drop valuable loot that can significantly enhance your gameplay experience and trading potential.

Operation Guide

Movement Controls : - WASD or Arrow Keys: Navigate your character - Left Shift: Sprint for faster movement

Action Controls : - Left Mouse: Attack enemies or shoot arrows - Right Mouse: Place blocks, open inventories, use teleports - F Key: Open/close player inventory - Keys 1-8: Quick access to inventory items - Q: Drop active items - Enter: Open chat to communicate with other players

Important Note : The center area of most worlds serves as a safe zone where no combat actions can be performed, providing a secure space for new players and trading.

Why Play Mine-Craft.io

Mine-Craft.io stands out as the perfect browser-based alternative to traditional Minecraft. It's completely free to play with no hidden costs, requires no downloads or installations , and runs smoothly on both desktop and mobile devices. The game combines the creative freedom of building with the excitement of multiplayer survival and PvP combat.

Whether you're a seasoned Minecraft veteran or new to building games, Mine-Craft.io offers an accessible entry point with depth that will keep you engaged for hours. Join thousands of active players in this vibrant community where your creativity is the only limit.

Frequently Asked Questions (FAQ)