Build and Crush

Seele01-Flash
By
Build and Crush is an exciting multiplayer building and destruction game where you create amazing structures with blocks and then watch them explode with powerful weapons. Free to play in your browser with no downloads required.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Build and Crush Mobile**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Voxel-based aesthetics similar to Minecraft but with a cleaner, brighter "low-poly" look. The environment should feel open and airy with a simple gradient blue skybox. * **Block Assets:** Implement a variety of basic voxel cubes (1x1x1) with different simple textures or solid colors: Wood (brown), Stone (grey), TNT (red with stripes), Glass (translucent blue), and Leaves (green). * **Destruction Effects:** When blocks are destroyed, they should not just disappear. Generate a small burst of smaller particle cubes (debris) that respect physics (gravity/collision) for a satisfying "crumble" effect. * **Optimization:** Use InstancedMesh for rendering the static building blocks to ensure high performance on mobile devices. Limit particle counts for debris to prevent frame drops on older phones. * **Lighting:** Use a DirectionalLight to simulate sunlight with soft shadows, plus an AmbientLight to prevent pitch-black shadows. ### 2. Audio Requirements * **BGM:** A lighthearted, upbeat, sandbox-style track (think xylophone or pizzicato strings) that loops seamlessly. It should switch to a slightly more intense, drum-focused track when switching to "Crush Mode." * **SFX - Build:** A satisfying "pop" or "click" sound when placing blocks; a "thud" for stone. * **SFX - Crush:** Loud, punchy explosion sounds for TNT/Cannons; a crumbling rock sound for the Earthquake effect; a distinct "whoosh" for projectiles. * **UI SFX:** Soft clicks for menu buttons. ### 3. Gameplay Loop * **Mode Switching:** The game has two distinct states accessible via a toggle button: **Build Mode** and **Crush Mode**. * **Build Mode:** * The player selects a block type from a bottom scrollable inventory. * Tapping on the grid places a block. * Tapping and holding on an existing block removes it. * **Crush Mode:** * The inventory is replaced by a "Weapon Wheel" or toolbar (TNT, Cannon Ball, Earthquake). * **TNT:** Throw a projectile that sticks to a block and explodes after 2 seconds, destroying blocks in a radius. * **Cannon:** Shoot a fast, heavy projectile that destroys blocks on impact. * **Earthquake:** Shake the camera violently and apply random physics impulses to all blocks, causing unstable structures to collapse. * **Goal:** There is no strict win condition. The core loop is creativity followed by cathartic destruction. A "Reset World" button should be available to clear everything. ### 4. Mobile Controls & Interaction * **Orientation:** Landscape mode is preferred for a wider view of the construction. * **Camera Control (Dual Stick Logic):** * **Left Half of Screen:** Virtual Joystick for movement (Forward/Back/Strafe). * **Right Half of Screen:** Touch and drag to rotate the camera (Look around). * **Action Buttons:** * **Build/Fire Button:** A large, dedicated circular button on the bottom right (floating above the camera touch area) to Place Block (Build Mode) or Fire Weapon (Crush Mode). * **Jump Button:** A smaller button near the action button for vertical movement. * **Inventory UI:** A horizontal scrollable hotbar at the bottom center of the screen. Selected items should highlight clearly. Icons must be large enough for touch inputs (min 44x44px). * **Feedback:** Add `navigator.vibrate(50)` on explosions or block placement for tactile feedback. Add a subtle screen shake effect when explosions occur. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Build and Crush is a unique multiplayer action-building game that combines creative construction with explosive destruction. This free browser-based game lets you unleash your creativity by building incredible structures, then switch to destruction mode to blow everything up with an arsenal of powerful weapons. With its colorful 3D graphics and intuitive block-based building system, Build and Crush offers endless entertainment for players who love both construction and chaos.

The game features a perfect balance between creative building and satisfying destruction, making it appealing to players who enjoy sandbox games, action games, and competitive multiplayer experiences.

Core Features

Unlimited Building Possibilities

Create anything you can imagine using a variety of block types including bricks, granite, glass, wood, and leaves. Each block comes in multiple variations - columns, stairs, and triangles - giving you complete freedom to design unique structures. The game also includes color blocks for adding vibrant details to your creations.

Explosive Destruction Arsenal

Once you've built your masterpiece, it's time for the fun part - destroying it! Choose from various weapons including: - TNT explosives for massive chain reactions - Cannons for precise targeted destruction
- Earthquake triggers to shake everything apart - Fire effects to burn structures down - Atomic bombs for instant total annihilation

Multiplayer Competition

Compete against other players in real-time multiplayer modes. Work together to defend against zombie attacks, challenge others in building competitions, or simply enjoy collaborative construction projects with friends around the world.

Cross-Platform Browser Gaming

No downloads or installations required - simply open your web browser and start playing immediately. The game runs smoothly on desktop computers and provides consistent performance across different operating systems.

Gameplay Modes

Build Mode

In building mode, you have access to an extensive library of blocks and materials. Place blocks strategically to create towers, castles, vehicles, or abstract art pieces. The intuitive controls make building accessible to players of all skill levels, while the variety of block types ensures experienced builders can create complex designs.

Crush Mode

Switch to destruction mode to experience the satisfying chaos of watching structures crumble. Select from random player creations or load your own builds to destroy. Each weapon offers different destruction patterns and visual effects, creating unique explosive experiences every time.

Operation Guide

Building Controls

  • WASD keys : Move your character around the building area
  • Shift/Space : Fly up and down for better building angles
  • Left-click : Remove or destroy existing blocks
  • Right-click : Place new blocks in the selected position
  • Additional building tools and options are displayed within the game interface

Destruction Controls

  • Left-click : Select weapons from the toolbar at the bottom of the screen
  • F key : Enter free flight mode to get better destruction angles
  • C key : Load another random creation to destroy
  • Specific weapon controls vary and are shown on screen when selected
  • Customize all key bindings through the Settings menu

Why Play Build and Crush

Perfect Creative Outlet : Whether you're an aspiring architect or just love building with blocks, this game provides the perfect digital sandbox for creative expression without real-world limitations.

Stress Relief Through Destruction : Sometimes you just need to blow things up! The destruction mode offers satisfying stress relief through spectacular explosions and realistic physics-based demolition.

Social Gaming Experience : Connect with players worldwide through multiplayer modes. Share your creations, collaborate on massive projects, or compete in building challenges.

Instant Accessibility : No lengthy downloads, account creation, or payment required. Jump straight into the action through any modern web browser.

Endless Replayability : With user-generated content and random creation loading, you'll never run out of new structures to build or destroy. Each gaming session offers fresh challenges and creative opportunities.

Frequently Asked Questions (FAQ)