Merge & Construct

Seele01-Flash
By
Merge & Construct is a creative 3D physics arcade game where you build ultimate vehicles by merging parts. Design cars capable of driving, flying, and smashing through challenging obstacle courses.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Merge & Construct". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Hyper-casual, Low-poly 3D art style. Use a vibrant color palette: bright purple/blue gradient skybox, bright green terrain, and pink/magenta path indicators. * **Vehicle Models**: Modular vehicle components based on a grid system. * **Chassis**: Wooden crate textures (light brown wood grain). * **Mobility**: Large off-road tires with deep treads (rubber texture, dark grey) and rims (yellow/silver). * **Accessories**: Propellers (for air time), rocket boosters, and bumpers. * **Environment**: A 2.5D side-scrolling obstacle course. * **Terrain**: Low-poly hills, jagged rocks, and ramps. * **Finish Line**: A checkered banner or confetti particle system. * **Optimization**: Use `BufferGeometry` for all meshes. Limit dynamic lights to one directional light (sun) and one ambient light. Bake static shadows where possible to maintain 60 FPS on mobile devices. ### 2. Audio Requirements * **BGM**: Upbeat, energetic, looped synthesizer track typical of hyper-casual games (120-128 BPM). * **Sound Effects (SFX)**: * **UI/Construction**: satisfying "Pop" or "Click" sounds when merging parts or attaching them to the vehicle. * **Engine**: Pitch-shifting engine hum that increases frequency with speed. * **Physics**: Wood creaking sounds upon impact; heavy "thud" for landing jumps. * **Victory**: A short, triumphant fanfare when crossing the finish line. ### 3. Gameplay Loop The game consists of two distinct phases: * **Phase 1: Merge & Build (UI Scene)**: * Display a 3x3 or 4x4 grid UI. * **Merge Mechanic**: Players drag identical low-level parts (e.g., Level 1 Wheel) together to create a higher-level part (Level 2 Wheel). * **Construct Mechanic**: Players drag these parts onto a vehicle "skeleton" or chassis frame to customize their ride. * "Start Race" button to transition to Phase 2. * **Phase 2: The Trial (Action Scene)**: * The constructed vehicle spawns at the start line. * **Objective**: Traverse a physics-based track filled with gaps, steep hills, and breakable walls to reach the finish line. * **Physics**: Implement 2D physics (using Cannon.js or similar) constrained to the Z-axis. The car should have suspension physics—bouncy but prone to tipping over if accelerating too fast on slopes. * **Fail Condition**: The car flips over completely or loses critical parts (wheels) due to impact. ### 4. Mobile Controls & Interaction * **Phase 1 (Build)**: * **Drag & Drop**: precise raycasting for touch inputs to drag parts from the inventory grid to the vehicle chassis. * **Feedback**: Highlight the drop zone (green outline) when a part is hovering over a valid slot. * **Phase 2 (Drive)**: * **One-Touch Control**: * **Touch & Hold (Anywhere on screen)**: Accelerate/Gas. * **Release**: Brake/Coast. * **Mid-air Control**: While in the air, holding touch applies torque to rotate the car slightly backward (to prevent nose-diving). * **Orientation**: **Landscape** mode preferred for better track visibility. * **UI Elements**: Large, thumb-friendly buttons (Play, Retry, Upgrade) with a minimum touch target of 44x44px. Add subtle camera shake on heavy impacts for haptic-like visual feedback. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Merge & Construct is an innovative arcade physics game that combines creativity with engineering challenges. This unique 3D game lets you become a master vehicle designer, merging different parts and components to build the ultimate machine capable of conquering any terrain or obstacle course.

The game challenges your imagination and problem-solving skills as you construct vehicles that can drive through rough terrain, fly over gaps, and smash through barriers. Each level presents new obstacles that require different vehicle configurations, making creativity and strategic thinking essential for success.

Core Features

Creative Vehicle Building System

The heart of Merge & Construct lies in its innovative merging mechanics. Combine various vehicle parts, wheels, engines, and special components to create unique machines. Every combination affects your vehicle's performance, weight distribution, and capabilities.

Realistic 3D Physics Engine

Experience authentic physics simulation that makes every vehicle behave realistically. Weight, momentum, and structural integrity all play crucial roles in determining whether your creation will successfully complete the course or crash spectacularly.

Challenging Obstacle Courses

Navigate through increasingly difficult levels featuring: - Steep ramps and jumps requiring precise speed and angle calculations - Destructible barriers that test your vehicle's durability - Moving platforms demanding perfect timing - Multi-terrain surfaces from smooth roads to rough rocky paths

Multiple Vehicle Types

Build specialized vehicles for different challenges: - Racing cars optimized for speed and agility - Flying machines with wings and propellers for aerial sections - Heavy crushers designed to smash through obstacles - All-terrain vehicles balanced for versatility

Gameplay Mechanics

Construction Phase

Start each level by selecting and merging vehicle components. Consider the upcoming obstacles and choose parts that will help you overcome specific challenges. Balance speed, stability, and durability based on the course requirements.

Racing Phase

Once your vehicle is built, navigate through the obstacle course. Use precise timing and control to maintain momentum while avoiding crashes that could destroy your creation.

Crash Testing

Your vehicles must pass rigorous crash tests. Structural integrity matters - poorly designed vehicles will break apart under stress, while well-engineered machines will power through obstacles.

Operation Guide

Desktop Controls

  • Hold W, Space, or Left Mouse Button : Accelerate and move forward
  • Release controls : Apply brakes and stop
  • Mouse : Navigate menus and select vehicle parts during construction

Mobile Controls

  • Tap and hold screen : Accelerate and move forward
  • Release touch : Apply brakes and stop
  • Touch interface : Select and merge vehicle parts

The simple control scheme makes the game accessible while keeping focus on the creative building aspect and physics challenges.

Why Play Merge & Construct

This game offers a perfect blend of creativity and skill-based challenges. Unlike traditional racing games, success depends on your ability to engineer the right vehicle for each situation. The physics-based gameplay provides realistic feedback that helps you understand engineering principles while having fun.

The game is completely free to play through web browsers, making it accessible to everyone. Whether you're interested in creative building, physics puzzles, or arcade racing, Merge & Construct delivers an engaging experience that challenges both your imagination and problem-solving skills.

Each level presents new engineering challenges, ensuring the gameplay stays fresh and exciting. The satisfaction of watching your custom-built vehicle successfully complete a difficult course makes every victory feel earned and rewarding.

Frequently Asked Questions (FAQ)