Miniblox - Online Voxel Block Game

Seele01-Flash
By
Miniblox is a free online voxel game that combines creative building with intense multiplayer battles. Experience Minecraft-style gameplay with unique minigames, survival challenges, and competitive PvP modes.

Prompt

MODEL: Seele01-Flash
Based on your provided game screenshot and detailed description of "Miniblox," here is the specific technical development directive (Prompt) tailored for Three.js generation. Please use Three.js to generate a **mobile-first game** with the theme "**Miniblox: Voxel Sky Arena**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Low-poly Voxel aesthetic (Minecraft-inspired). The world is composed of 1x1x1 cubes. * **Scene**: A "Skywars" style environment featuring floating islands suspended in a cosmic/space atmosphere. The background should be a dark purple/deep blue gradient skybox with distant planets and stars (as seen in the banner). * **Characters**: Blocky, humanoid avatars (Steve-like dimensions). * **Textures**: Pixel art textures for grass, dirt, stone, and wood blocks. Use a texture atlas to optimize performance. * **Lighting**: Hemisphere light for ambient base + Directional light (Simulating a distant sun) to cast hard shadows, enhancing the 3D depth of the blocks. * **Optimization (Mobile)**: * Implement "Face Culling" (do not render hidden faces between blocks). * Use `InstancedMesh` for rendering large amounts of identical blocks (terrain) to maintain 60 FPS on mobile devices. * Limit the initial island size to a 32x32 chunk to ensure quick loading. ### 2. Audio Requirements * **BGM**: An energetic, synth-wave or 8-bit chiptune track that feels adventurous and competitive, matching the "Space PvP" vibe. * **SFX**: * **Footsteps**: Crisp "crunch" sounds differing slightly based on material (grass vs. stone). * **Interaction**: A "pop" sound when placing a block, and a "crack" sound when breaking one. * **Combat**: A "thud" or "whack" sound for melee attacks. * **UI**: High-pitched "blip" for button clicks. ### 3. Gameplay Loop * **Core Logic (Simplified Skywars/Creative Hybrid)**: * The player spawns on a central floating island with limited resources. * **Objective**: Survive and build bridges to reach a treasure chest on a smaller adjacent island. * **Physics**: Simple AABB (Axis-Aligned Bounding Box) collision detection. Gravity applies to the player. Falling off the island resets the player to the spawn point (Fall trigger at Y = -20). * **Creative Element**: The player can toggle between "Mining Mode" (destroy blocks) and "Building Mode" (place blocks) to modify the terrain or build bridges. ### 4. Mobile Controls & Interaction * **Screen Orientation**: **Landscape** (Horizontal). * **Touch Controls (Virtual Overlay)**: * **Left Thumb**: A dynamic virtual joystick for movement (WASD logic). * **Right Thumb Area**: * **Swipe**: Rotate camera view (First-person or Third-person follow). * **Button A (Large icon)**: Jump. * **Button B (Sword/Pickaxe icon)**: Attack/Mine (Context sensitive). * **Button C (Block icon)**: Place Block. * **UI Layout**: * Top Left: Health hearts and connection status. * Bottom Center: A "Hotbar" with 5 slots to select active block types or weapons (touch to select). * Top Right: Pause/Settings button (minimum 44x44px hit area). * **Feedback**: Add a subtle screen shake effect when taking damage and a visual "highlight" box outline on the block currently being targeted by the crosshair. ### 5. Technical Stack * **Library**: Three.js (latest version). * **Physics**: Canonical or simple custom physics for voxel collision. * **PointerLock**: Not used for mobile; use Touch events for camera rotation. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Miniblox

Miniblox is an exciting online voxel adventure that brings together the best of creative building and competitive gaming. This free browser-based game offers a vibrant pixelated world where players can build, explore, fight, and compete in various game modes. With its Minecraft-inspired mechanics and unique multiplayer features, Miniblox has become a popular choice for gamers seeking both creativity and competition.

The game features stunning voxelated graphics that create an immersive blocky universe filled with endless possibilities. Whether you're a building enthusiast or a competitive player, Miniblox offers something for everyone in its expansive virtual world.

Core Features

Dual Game Modes

Miniblox offers two primary gameplay experiences: - Survival Mode : Start with nothing and work your way up, gathering resources, crafting tools, and surviving in a challenging environment - Creative Mode : Unleash your imagination with unlimited resources and complete freedom to build extraordinary structures

Extensive Minigame Collection

The game boasts an impressive array of competitive minigames: - KitPvP : Fast-paced player vs player combat with preset equipment - Skywars : Battle on floating islands in an epic sky arena - Eggwars : Protect your egg while destroying opponents' eggs in team battles - Spleef : Dig blocks beneath other players to make them fall - Bridge Duels : One-on-one combat challenges - Parkour : Test your jumping and movement skills through obstacle courses - Classic PvP : Traditional player combat modes

Advanced Building System

Like other successful voxel games, Miniblox allows players to: - Harvest and mine various resources from the environment - Craft tools, weapons, and building materials - Construct elaborate structures and architectural masterpieces - Create custom worlds with unique terrain and characteristics - Use custom world seeds for personalized gaming experiences

Social Gaming Features

Miniblox emphasizes community and social interaction: - Add friends and build lasting gaming relationships - Create private rooms with custom game settings - Browse active games to join communities of players - Participate in daily challenges and events - Collect coins and unlock new character skins

How to Play Miniblox

Getting Started

Begin your Miniblox journey by choosing your preferred game mode. New players often start with creative mode to familiarize themselves with building mechanics before tackling the challenges of survival mode. Use the game browser to find active servers with other players for the best multiplayer experience.

Basic Controls

  • WASD keys : Move your character around the world
  • Spacebar : Jump over obstacles and gaps
  • Shift : Sprint for faster movement
  • Alt : Crouch to avoid detection or fit through small spaces
  • Left Click : Mine blocks and attack enemies
  • Right Click : Place blocks and interact with objects
  • E : Access your inventory and items
  • Enter : Open chat to communicate with other players
  • P : Pause the game when needed

Resource Management

In survival mode, efficiently manage your resources by mining strategically, crafting essential tools first, and always maintaining food supplies. In creative mode, focus on planning your builds and experimenting with different block combinations.

Combat Strategies

For PvP modes, master the timing of attacks, learn to build defensive structures quickly, and practice your parkour skills to gain movement advantages over opponents.

Why Play Miniblox

Miniblox stands out in the crowded voxel game market by offering completely free gameplay without downloads or installations. The game runs smoothly in web browsers on both desktop and mobile devices, making it accessible anywhere with an internet connection.

The combination of creative building and competitive gaming creates a unique experience that appeals to different gaming preferences. Whether you want to construct magnificent castles, engage in thrilling PvP battles, or challenge yourself with parkour courses, Miniblox delivers hours of entertainment.

The active community and regular updates ensure fresh content and engaging multiplayer experiences. With its easy-to-learn controls and deep gameplay mechanics, Miniblox welcomes both newcomers and experienced voxel game veterans.

Platform Compatibility

Miniblox is optimized for web browsers and supports both desktop computers and mobile devices. No downloads, installations, or special software required – simply open your browser and start playing immediately.

Frequently Asked Questions (FAQ)