Craft 3D - Minecraft-Inspired Building Game

Seele01-Flash
By
Craft 3D is a free Minecraft-inspired sandbox building game where you can create incredible 3D worlds using powerful building tools like generators and floor duplicators. Build skyscrapers and unique structures in seconds!

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Craft 3D". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Clean, minimalist voxel aesthetic similar to Minecraft but with a focus on architectural visualization. The environment should feature a bright, realistic skybox (gradient blue to white horizon) and a flat, dark grey grid ground plane to serve as the building foundation. * **Block Assets:** Generate simple 1x1x1 cube geometries. * **Textures/Materials:** Use a standard material with slight glossiness. Implement the specific color palette mentioned: Grey, Black, White, Red, Green, Blue, Yellow. * **Performance Optimization:** **CRITICAL for mobile:** Use `THREE.InstancedMesh` for rendering blocks. Do not create individual Mesh objects for every block, or the mobile browser will crash. Implement basic frustum culling. * **Lighting:** Use a warm Directional Light (Simulating the sun) casting soft shadows, paired with an Ambient Light to ensure blocks aren't pitch black on the shadow side. ### 2. Audio Requirements * **BGM:** A calm, lo-fi or ambient piano track that loops seamlessly, encouraging focus and creativity. * **Sound Effects (SFX):** * **Placement:** A satisfying "pop" or "clunk" stone sound when a block is placed. * **Destruction:** A "crumble" sound when a block is removed. * **UI:** Soft clicks for color selection. * **Special:** A magical "whoosh" or construction scaffolding sound when the "Floor Duplicator" function is triggered. ### 3. Gameplay Loop * **Creative Mode:** The player has infinite resources. The core loop is positioning the camera, selecting a block color, and placing/removing voxels to build structures. * **The Floor Duplicator (Unique Mechanic):** * Implement a specific logic function: When the player activates this, the game scans the configuration of blocks on the *current highest Y-level* of the structure and instantly duplicates that entire pattern one layer up. This allows for rapid skyscraper construction. * **Building Generator:** * Include a "Generate" feature that procedurally creates a random basic tower (e.g., a 5x5 hollow tower, 10 units high) so the player doesn't start with an empty map. ### 4. Mobile Controls & Interaction * **Movement (Left Hand):** Implement a virtual thumbstick (Joystick) in the bottom-left corner for WASD-style movement (Forward, Backward, Strafe Left/Right). * **Camera (Right Hand):** Touch-and-drag on the right side of the screen to rotate the camera (Look around). * **Vertical Movement:** Add two distinct buttons on the UI (Up Arrow / Down Arrow) to handle the original "R" (Ascend) and "F" (Descend) flying mechanics. * **Interaction (Raycasting):** * Display a permanent **Crosshair** in the center of the screen. * **Action Buttons:** Instead of tapping blocks directly (which is imprecise on mobile), place large buttons on the right side: * **[BUILD]**: Places a block at the crosshair target. * **[DESTROY]**: Removes the block at the crosshair target. * **UI Toolbar:** * **Color Palette:** A horizontal scrollable bar at the bottom center to select the active color (0-6). * **Special Tools:** A dedicated button labeled "DUPLICATE FLOOR" to trigger the unique mechanic. * **Reset:** A "Home" or "Clear" button to reset the scene. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Craft 3D

Craft 3D is an innovative 3D sandbox building game that brings the creative freedom of Minecraft-style gameplay directly to your browser. This free-to-play adventure game allows you to explore, build, and create amazing structures in expansive 3D worlds without any downloads or installations required.

The game stands out with its powerful building tools that make construction faster and more efficient than traditional block-by-block building. Whether you're an experienced builder or new to sandbox games, Craft 3D provides an accessible yet deep building experience.

Core Features

Advanced Building Tools

Craft 3D revolutionizes sandbox building with its unique generator systems:

  • Building Generator : Create massive buildings and skyscrapers in seconds rather than hours
  • Floor Duplicator : Design one floor and instantly replicate it to build towering structures
  • Terrain Generator : Access pre-made objects and environments to enhance your world
  • Color Block System : Choose from 7 distinct block colors (grey, black, white, red, green, blue, yellow) to bring your creations to life

Unlimited Creative Freedom

Explore endless possibilities in this 3D sandbox environment. Build anything from simple houses to complex architectural masterpieces. The game's intuitive block-based system makes it easy to construct detailed structures while the advanced tools help you scale your projects efficiently.

Browser-Based Convenience

Enjoy full 3D building gameplay without downloads. Craft 3D runs smoothly in any modern web browser, making it perfect for quick building sessions or extended creative projects.

Gameplay Experience

Exploration and Discovery

Navigate through vast 3D worlds using smooth first-person controls. The game combines the exploration elements of adventure games with the creative freedom of sandbox building, giving you both structured objectives and open-ended creativity.

Efficient Building Mechanics

Unlike traditional block games that require placing each block individually, Craft 3D's generators allow for rapid construction. This makes it ideal for players who want to focus on design and architecture rather than tedious repetitive building.

Operation Guide

Movement Controls

  • WASD or Arrow Keys : Move forward, backward, and sideways
  • R Key : Move upward (perfect for building tall structures)
  • F Key : Move downward
  • Mouse : Look around and aim
  • X Key : Return to home position

Building Controls

  • Left Click : Create and place blocks
  • Right Click : Destroy and remove blocks
  • Number Keys (0-6) : Select different colored blocks
  • P Key : Duplicate floors when using the floor duplicator tool

Building Strategy Tips

Start with a solid foundation and use the floor duplicator to save time on repetitive structures. Plan your color scheme using the numbered keys, and don't forget to use the building generator for large-scale projects.

Why Play Craft 3D

Craft 3D offers the perfect balance of creative freedom and efficient building tools. It's ideal for:

  • Architecture Enthusiasts : Test building designs quickly with advanced generators
  • Minecraft Fans : Experience familiar gameplay with enhanced building capabilities
  • Casual Builders : Create impressive structures without spending hours on repetitive tasks
  • Students and Educators : Explore 3D design concepts in an accessible format

The game's browser-based nature means you can start building immediately, and the intuitive controls make it suitable for all skill levels. Whether you want to recreate real-world buildings or design fantastical structures, Craft 3D provides the tools to bring your vision to life.

Technical Excellence

Craft 3D delivers smooth 3D graphics and responsive controls directly in your browser. The game is optimized for both desktop and laptop computers, ensuring consistent performance across different devices and browser types.

Frequently Asked Questions (FAQ)