Mine-Craft.io - Multiplayer Building Game

Seele01-Flash
By
Mine-Craft.io is a free multiplayer .io game that combines building, crafting, and survival gameplay. Create custom worlds, battle bosses, trade with players, and enjoy various mini-games in this browser-based Minecraft-inspired experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Mine-Craft.io Mobile**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Implement a **Top-Down 2D pixel art aesthetic** rendered in a 3D environment (2.5D). The camera should be fixed at a high angle (orthographic or steep perspective) looking down at the player. * **Characters**: * **Player**: A simple 2D sprite or low-poly cube representing a "Steve-like" character. The character should rotate to face the movement direction or cursor. * **Mobs**: Include basic passive mobs (Pigs - pink squares/sprites) and hostile mobs (Zombies - green squares/sprites). Mobs should have simple bobbing animations when moving. * **World Design**: * **Tile-based Grid**: The ground is a grid of textures (Grass, Sand, Water). * **Safety Zone**: A clearly marked central area (e.g., stone texture floor) that serves as the "Safe Zone" where PvP is disabled. * **Mobile Optimization**: * Use **InstancedMesh** for repetitive blocks (ground, walls) to maintain 60 FPS on mobile devices. * Limit texture resolution to 512x512 max pixel art spritesheets. * Implement a strict frustum culling or chunk loading system to only render visible tiles. ### 2. Audio Requirements * **BGM**: A calm, looping, lo-fi chiptune or synthesized piano track similar to classic sandbox games (relaxing but rhythmic). * **Sound Effects (SFX)**: * **Footsteps**: Soft "tap" sounds varying by terrain (grass vs. stone). * **Mining/Hitting**: A crisp "crunch" or "pop" sound when interacting with resources. * **UI**: High-pitched "blip" for selecting items; a "whoosh" for opening inventories. * **Combat**: A retro "thud" for damage taken and a "poof" sound for enemy defeat. ### 3. Gameplay Loop * **Core Mechanics**: * **Gathering**: Players hit trees/rocks to collect resources (Wood, Stone) which fly into the inventory. * **Building**: Players can place blocks from their inventory onto the grid to build walls or houses. * **Survival**: A simple Day/Night cycle. At night, Zombies spawn outside the Safe Zone and chase the player. * **Economy**: Simple logic where collected items have a value (Gold). A basic "Shop" trigger area allows converting resources to Gold. * **Win/Loss**: * **Loss**: Health reaches 0 (respawn at center). * **Win/Score**: Accumulate "Score" based on resources gathered and time survived. ### 4. Mobile Controls & Interaction * **Movement (Left Stick)**: A virtual analog joystick on the bottom-left screen. It controls the player's X/Z movement on the plane. * **Action (Right Side)**: * **Context Button**: A large circular button on the bottom-right. * If near a resource: Icon changes to a Pickaxe (Mine). * If holding a block: Icon changes to a Block (Place). * If near an enemy: Icon changes to a Sword (Attack). * **Inventory Bar**: A horizontal slot bar at the bottom center (touch to select active item). * **Orientation**: **Landscape Mode** only. * **Feedback**: * **Haptic**: Trigger `navigator.vibrate(20)` on mining impacts or taking damage. * **Visual**: White flash on the sprite when taking damage; floating text numbers (+1 Wood) when gathering. 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 exciting multiplayer .io game that brings the beloved building and crafting experience directly to your browser. This free-to-play game offers features similar to Minecraft while adding unique multiplayer elements that create an engaging online community experience. Players can gather resources, construct elaborate structures, build complex mechanisms, form strategic alliances, and defend against both nocturnal monsters and hostile players.

Core Features

Multiple Game Modes

The game offers three distinct gameplay experiences: - Creative Mode : Unlimited resources allow players to build anything imaginable with infinite blocks, spawnable mobs, and full command access - Survival PvE : Challenge yourself against hostile mobs while crafting armor, enchanting gear, and managing hunger - Survival PvP : Experience the ultimate survival challenge where you must defend against both monsters and other players

Rich World System

Explore diverse biomes and worlds: - Overworld : A public world with a safe central zone where all players can interact - Nether : A dangerous, fiery dimension filled with unique threats and rewards - End : Home to the powerful Ender Dragon boss with valuable loot drops - Cave Systems : Mine precious ores and discover rare treasures in hidden chests - Dungeons : Face challenging bosses that require teamwork and skill to defeat - Special Biomes : Venture into swamps, forests, and desert environments

Social and Economic Features

Mine-Craft.io emphasizes community interaction through: - Friend System : Connect with other players and easily find online friends - Teleport Requests : Instantly travel to friends and allies - Trading System : Establish your own virtual business and trade rare items - Auction House : Buy and sell worlds and valuable items through competitive bidding - Custom Shops : Build your own marketplace or use existing shops

Epic Boss Battles

Face powerful bosses that require strategy and cooperation to defeat. These challenging encounters reward players with valuable loot and rare items that can be traded or used to enhance your gameplay experience.

Exciting Mini-Games

Mine-Craft.io features a variety of mini-games that add extra entertainment value:

  • SkyWars : Battle opponents on floating islands to be the last player standing
  • BedWars : Protect your bed while attempting to destroy enemy beds in team-based combat
  • Zombie Survival : Fend off endless waves of zombies for as long as possible
  • Among Us Style : Complete tasks while identifying imposters among your crew
  • Duels : Engage in 1v1 or 2v2 battles in both Creative and Survival modes
  • Deathmatch : Unlimited combat with instant-shooting crossbows
  • Spleef : Classic block-breaking gameplay where you dig beneath opponents
  • Maze Runner : Navigate challenging mazes to reach the finish line first

Gameplay and Controls

The game features intuitive controls that are easy to learn: - WASD or Arrow Keys : Character movement - F : Open/close inventory - Left Shift : Sprint/run - Enter : Open chat - Left Click : Attack or shoot bow - Right Click : Place blocks, interact with objects, teleport - 1-8 Keys : Switch between inventory items - Q : Drop current item - Esc : Access game menu

Economic Opportunities

Players can build wealth through various activities: - Mine caves for valuable resources to sell - Farm mobs for tradeable items - Hunt for rare enchanted weapons and armor (level 30+) - Establish shops selling valuable items like Charms, Totems, and enchanted gear - Win mini-game medals and sell them to other players

Why Play Mine-Craft.io

This game offers the perfect blend of creativity, survival, and social interaction. It's completely free to play, requires no downloads, and runs smoothly on both desktop and mobile browsers. Whether you're a solo builder, competitive player, or social gamer, Mine-Craft.io provides endless entertainment with its diverse game modes, active community, and regular events with daily rewards. The combination of familiar Minecraft-style gameplay with unique .io game elements creates a fresh and engaging experience that keeps players coming back.

Frequently Asked Questions (FAQ)