Minecraft Classic

Seele01-Flash
By
Minecraft Classic is the free browser version of the legendary block-building adventure game. Create unlimited worlds with 32 different blocks in creative mode, or invite up to 8 friends for collaborative multiplayer building sessions.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Minecraft Classic (Voxel Sandbox)". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Pure Voxel Art style using low-poly cubic geometry. Textures should be 16x16 pixel art styles (grass, dirt, stone, wood, leaves) applied to standard `BoxGeometry`. * **Color Palette**: Vibrant and saturated colors similar to the screenshot. Bright blue sky (`0x87CEEB`), lush green grass, and earthy browns. * **Performance Optimization (Critical for Mobile)**: Use `THREE.InstancedMesh` for rendering the terrain blocks to handle thousands of cubes without dropping below 60 FPS on mobile devices. Implement simple frustum culling (do not render chunks behind the player). * **Lighting**: A mix of `AmbientLight` (soft global illumination) and a `DirectionalLight` (simulating the sun) that casts simple shadows. * **Characters**: A simple blocky player avatar (Steve-like) visible in third-person view, constructed from basic grouped cubes. ### 2. Audio Requirements * **BGM**: A calm, atmospheric, and melancholic piano track similar to C418's style (looping, low volume). * **Sound Effects (SFX)**: * **Footsteps**: Distinct sounds for walking on grass vs. stone (crunchy vs. clicky). * **Interaction**: A "pop" sound when a block is destroyed and a solid "thud" when a block is placed. * **UI**: A subtle click sound when selecting blocks from the hotbar. ### 3. Gameplay Loop * **Creative Mode Core**: The player has infinite resources. The primary goal is exploration and construction. * **Building Mechanic**: Raycasting from the center of the camera. * Highlight the targeted voxel face with a wireframe outline. * Ability to add a block adjacent to the target face. * Ability to remove the targeted block. * **Physics**: Simple AABB (Axis-Aligned Bounding Box) collision detection against the terrain. The player should have gravity applied but no hunger/health mechanics (Creative mode). * **World Generation**: Flat or gently rolling procedural terrain generation (perlin noise) to start, limiting the world size to a reasonable chunk limit for browser performance. ### 4. Mobile Controls & Interaction * **Orientation**: Landscape mode locked. * **Movement (Left Hand)**: A translucent virtual joystick floating on the bottom-left area of the screen for WASD movement. * **Camera/Look (Right Hand)**: The entire right half of the screen functions as a touch-drag area to rotate the camera (pitch and yaw). * **Actions**: * **Tap (Right side)**: Place the currently selected block. * **Long Press (Right side)**: Destroy the targeted block (visualize cracking progress if possible, or just a delay). * **Jump**: A dedicated circular button in the bottom-right corner (distinct from the look area). * **UI Layout**: * **Hotbar**: A centered row of 5-8 block icons at the bottom of the screen. Tapping an icon selects that material. Icons must be at least 44x44px for touch targets. * **Inventory Button**: A generic "..." button to open a modal with all 32 available block types. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Minecraft Classic brings the iconic block-building experience directly to your browser, completely free of charge. This web-based version captures the essence of the original sandbox adventure that revolutionized creative gaming. With its distinctive pixelated art style and infinite building possibilities, players can construct everything from simple houses to elaborate castles using 32 different block types.

The game offers pure creative freedom in a 3D world where imagination is the only limit. Whether you're building solo or collaborating with friends, Minecraft Classic provides hours of engaging construction gameplay without requiring any downloads or installations.

Core Features

Complete Creative Freedom

Unlike survival-based versions, Minecraft Classic focuses entirely on creative building. You have unlimited access to all 32 block types from the start, allowing you to immediately begin constructing your dream projects without resource gathering or crafting limitations.

Seamless Multiplayer Experience

Invite up to 8 friends to join your server for collaborative building sessions. Work together on massive construction projects, create themed worlds, or simply explore each other's creations in real-time multiplayer mode.

Browser-Based Convenience

Play instantly in any modern web browser without downloads, installations, or system requirements. The game runs smoothly on both desktop and laptop computers, making it accessible anywhere you have internet access.

Classic Minecraft Aesthetics

Experience the authentic retro Minecraft visual style with blocky textures, vibrant colors, and the characteristic voxel-based world design that made the franchise famous.

Gameplay Mechanics

Minecraft Classic operates on simple yet powerful mechanics. Players navigate a 3D world composed entirely of blocks, each representing different materials like dirt, stone, wood, or glass. The core gameplay revolves around placing and removing these blocks to create structures, landscapes, and artistic creations.

The creative mode ensures unlimited resources, allowing players to focus purely on building and designing rather than survival elements. This makes it perfect for architectural projects, pixel art, or experimental construction techniques.

Operation Guide

The game features intuitive controls designed for easy learning:

  • WASD Keys : Move your character forward, backward, and sideways
  • Space Bar : Jump to reach higher elevations or cross gaps
  • B Key : Open the building blocks menu to select materials
  • Left Mouse Button (LMB) : Place selected blocks in the world
  • Right Mouse Button (RMB) : Remove existing blocks or switch between placing/removing modes
  • G Key : Spawn additional characters or NPCs
  • T Key : Open chat system for multiplayer communication
  • F Key : Toggle fog effects for better visibility
  • Enter Key : Save your current world location
  • A Key : Load previously saved locations

These simple controls make the game accessible to players of all ages and experience levels.

Why Play This Game

Perfect Introduction to Building Games

Minecraft Classic serves as an excellent entry point for newcomers to sandbox building games. The simplified mechanics and unlimited resources eliminate barriers, allowing players to focus on creativity and construction skills.

Social Building Experience

The multiplayer functionality transforms building from a solitary activity into a collaborative social experience. Friends can work together on ambitious projects, share building techniques, and create shared virtual spaces.

Zero Commitment Gaming

As a browser-based game requiring no downloads or accounts, you can start playing immediately and stop whenever convenient. There's no pressure to maintain progress or invest time in character development.

Nostalgia and Accessibility

For longtime Minecraft fans, Classic offers a nostalgic return to the game's roots with simplified mechanics and the original block selection. New players get to experience the pure essence of what made Minecraft revolutionary.

Cross-Platform Compatibility

The web-based nature ensures the game works on virtually any computer with a modern browser, regardless of operating system or hardware specifications.

Frequently Asked Questions (FAQ)