Vectaria.io - Multiplayer Minecraft-Style Adventure Game

Seele01-Flash
By
Vectaria.io is a free multiplayer block-building adventure game inspired by Minecraft. Choose from four unique characters and explore three exciting game modes: PvP survival, casual survival, and unlimited creative building.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Vectaria.io - Mobile Voxel Adventure**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** High-contrast Voxel Art (Minecraft-like). The world should be constructed entirely of `THREE.BoxGeometry`. * **Textures:** Use low-resolution pixel art textures (16x16 or 32x32). **Crucial:** Set `texture.magFilter = THREE.NearestFilter` to ensure textures look crisp and pixelated, not blurry. * **Character Model:** A simplified, blocky humanoid character (Head, Torso, Arms, Legs) resembling the "Martha/Oliver" characters (simple casual wear, e.g., t-shirt and shorts). * **World Generation:** Create a small chunk of terrain featuring: * Grass blocks (green top, dirt sides) on the surface. * Stone and cobblestone blocks underground or in cave formations. * Torches that emit a warm orange `THREE.PointLight`. * **Performance Optimization (Mobile):** * Use **`THREE.InstancedMesh`** for rendering the terrain blocks. Do not create individual Mesh objects for thousands of blocks, or it will lag on mobile devices. * Implement basic Frustum Culling (only render what the camera sees). ### 2. Audio Requirements * **BGM:** A cheerful, looping "Chiptune Adventure" track. It should feel upbeat and encouraging, suitable for exploration. * **Sound Effects (SFX):** * **Footsteps:** Rapid, rhythmic "tap-tap" sounds, varying slightly in pitch based on surface (grass vs. stone). * **Mining:** A "crunch" or "crack" sound when destroying a block. * **Placing:** A "pop" or solid "thud" sound when placing a block. * **Jump:** A retro "woosh" or rising synth sound. ### 3. Gameplay Loop * **Core Mechanic:** The player controls a character in a 3D voxel world. * **Interaction Mode:** Use a "Raycaster" from the center of the camera view. * **Mining:** Long-pressing a "Mine" button removes the targeted block after a short delay (visualize with a cracking texture overlay if possible). * **Building:** Tapping a "Place" button adds a block adjacent to the targeted surface. * **Inventory System:** A simple hotbar at the bottom of the screen allowing the player to select between 3-4 block types (Dirt, Stone, Wood, Torch) by tapping. * **Goal:** Explore the terrain and reshape it (Sandbox mode). ### 4. Mobile Controls & Interaction * **Movement (Left Hand):** Implement a **Virtual Joystick** on the bottom-left of the screen. * Logic: Moves the character relative to the camera's facing direction. * **Camera Look (Right Hand):** The entire right half of the screen acts as a touch-pad for rotating the camera (First-person or close Third-person view). * **Action Buttons (UI Overlay):** * **Jump Button:** Bottom-right (large circular button). * **Action Button (Contextual):** A button near the jump button. Tap to Place Block, Hold to Mine Block. * **Orientation:** Force **Landscape Mode** CSS layout for the UI to maximize the viewable game area. * **Touch Feedback:** Add visual indicators (button scaling/opacity change) when buttons are pressed. If the device supports it, trigger `navigator.vibrate(10)` on mining impacts. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Vectaria.io is an exciting multiplayer adventure game that brings the beloved block-building genre directly to your browser. This Minecraft-inspired experience offers endless possibilities for creativity, survival, and multiplayer fun without requiring any downloads or installations.

Choose from four distinct characters - Martha, Oliver, Mike, and Rose - each ready to embark on your unique adventure. Whether you're a seasoned builder or new to block games, Vectaria.io provides an accessible yet engaging experience for players of all skill levels.

Core Features

Three Distinct Game Modes

PvP Survival Mode challenges you to survive against both the environment and other players. Gather resources, craft weapons and tools, and defend yourself while building your base. This competitive mode tests your survival skills and strategic thinking.

Casual Survival Mode offers the same survival mechanics but with optional PvP. Toggle player combat on or off to create the perfect balance between challenge and relaxation. Build, explore, and craft at your own pace.

Creative Mode unleashes your imagination with unlimited resources and building possibilities. Construct massive castles, intricate redstone contraptions, or artistic masterpieces without worrying about resource gathering or survival mechanics.

Multiplayer Experience

The game's true strength lies in its multiplayer functionality. Team up with friends to build collaborative projects, engage in epic PvP battles, or simply explore the vast world together. The online community adds endless replay value and social interaction.

Cross-Platform Compatibility

Play seamlessly across all your devices. Whether you're on a desktop computer, laptop, smartphone, or tablet, Vectaria.io delivers a consistent and optimized experience through your web browser.

Gameplay Mechanics

The game features intuitive crafting and building systems similar to Minecraft. Mine various blocks and materials, craft tools and weapons, and construct everything from simple shelters to elaborate structures. The inventory system allows you to manage resources efficiently while the integrated shop provides additional building options.

Exploration rewards are abundant, with diverse biomes and hidden areas waiting to be discovered. Each world offers unique challenges and opportunities for both survival and creative expression.

Operation Guide

Basic Controls

  • Movement : Use WASD keys or arrow keys to navigate your character
  • Building : Right mouse button to place blocks in your desired location
  • Mining/Combat : Left mouse button to break blocks or attack enemies
  • Jump : Spacebar to leap over obstacles or reach higher areas
  • Communication : Press Enter to open chat and interact with other players

Advanced Controls

  • Inventory Management : Press X to access your inventory and manage items
  • Home Menu : Press G to return to the main menu options
  • Map Navigation : Press M to view spawn points and orient yourself
  • Shopping : Press O to access the in-game shop for additional items
  • Game Guide : Press I to open the comprehensive game guide

PvP Settings

To customize your PvP experience, open your inventory (X key) and look for the PvP toggle in the top-left corner. This allows you to switch between combat-enabled and peaceful modes in compatible game modes.

Why Play This Game

Completely Free : Enjoy the full gaming experience without any cost or hidden fees. No premium subscriptions or pay-to-win mechanics.

No Downloads Required : Jump straight into the action through your web browser. No installation, no storage space concerns, just instant gaming.

Active Community : Join thousands of players worldwide in this thriving multiplayer environment. Make new friends, join building teams, or test your skills in PvP combat.

Endless Creativity : With unlimited building possibilities and regular community events, you'll never run out of things to create and explore.

Perfect for All Ages : Family-friendly content with intuitive controls makes this suitable for players of all ages and skill levels.

Whether you're looking for a quick creative session or an extended survival adventure, Vectaria.io provides the perfect platform for block-building enthusiasts and newcomers alike.

Frequently Asked Questions (FAQ)