Craftz.io - Multiplayer Combat Building Game

Seele01-Flash
By
Craftz.io is an intense 2D multiplayer IO game where you build custom weapons and battle other players in real-time combat. Craft the ultimate fighting machine and dominate the battlefield!

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Craftz.io - 3D Battle Arena". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: A "2.5D Scifi Blueprint" aesthetic. The background should be a dynamic dark blue grid (infinite scrolling) similar to an engineering blueprint. * **Models**: Low-poly, modular vehicle parts. * **Core**: A glowing "Brain" or "Cockpit" module (this is the player's life source). * **Chassis**: Angular metal blocks, rusty textures. * **Movement**: Tank treads or large off-road wheels with suspension animations. * **Weapons**: Spinning saw blades, simple cannons (cylinder primitives), and spikes. * **Lighting**: Flat shading for performance. Use a directional light to cast sharp shadows to emphasize depth in the 2.5D view. * **Effects**: Simple particle systems for engine exhaust (smoke), sparks upon collision, and a "shattering" effect when a vehicle is destroyed. * **Mobile Optimization**: Use `InstancedMesh` for repetitive parts (like track links). Texture resolution capped at 512x512. Limit draw calls by merging static geometries where possible. ### 2. Audio Requirements * **BGM**: High-energy, loopable Industrial Rock track with heavy drums and metallic percussion to match the construction/combat theme. * **Sound Effects (SFX)**: * **UI**: Mechanical clicks (like a wrench tightening) when selecting menu items. * **Engine**: A constant rumble that changes pitch based on speed. * **Combat**: Metal-on-metal clanking (collisions), high-pitched whirring (saw blades), and a satisfying explosion sound for destruction. ### 3. Gameplay Loop * **Phase 1: The Garage (Assembly)**: A drag-and-drop interface where the player builds their vehicle on a 2D grid. They must attach wheels and weapons to a central "Core" block. * **Phase 2: The Arena (Combat)**: * The game shifts to a side-scrolling physics battle. * **Objective**: Destroy the opponent's "Core" block or push them off the stage. * **Physics**: Vehicles should feel heavy and momentum-based. Physics engine integration (like Cannon.js or Ammo.js) is essential for handling collisions, flipping, and weapon impacts. * **Victory Condition**: The last player with their Core intact wins. * **Progression**: Winning matches earns "Scrap" currency to unlock better weapons (e.g., Missile Launchers). ### 4. Mobile Controls & Interaction * **Camera**: Use an `OrthographicCamera` positioned at a side angle (2.5D view) that smoothly follows the player's vehicle. * **Battle Controls**: * **Left Side**: Two large, semi-transparent buttons for movement (Left/Reverse, Right/Forward). * **Right Side**: A large "Action" button to trigger active weapons (boosters/cannons). * **Garage Controls**: * Support Touch & Drag to move parts from an inventory bar to the vehicle grid. * Implement "Snap-to-grid" logic for easy assembly on small screens. * Pinch-to-zoom support in the garage view. * **Feedback**: Trigger device vibration (`navigator.vibrate`) on heavy collisions or when the vehicle takes damage. Add screen shake for explosions. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Craftz.io is a thrilling multiplayer IO game that combines strategic weapon crafting with intense real-time combat. Rated 4.3/5 by players, this free browser-based game challenges you to build, customize, and optimize your fighting vehicle to survive against other crafters in a competitive 2D battlefield.

In Craftz.io, survival depends on your ability to create the perfect balance of offense and defense. Every opponent you face has crafted their vehicle with one goal: to find your weaknesses and exploit them. But the same opportunity exists for you - study your enemies, adapt your strategy, and build the ultimate war machine.

Core Features

Extensive Weapon Crafting System

Craftz.io offers an impressive arsenal of customization options:

  • Blade Weapons : Sharp, close-combat tools for aggressive players
  • Blunt Weapons : Heavy-hitting options for maximum damage
  • Projectile Weapons : Long-range attacks for strategic combat
  • Custom Armor : Protective upgrades to increase survivability
  • Vehicle Modifications : Enhance speed, maneuverability, and durability

Real-Time Multiplayer Combat

Engage in fast-paced battles against players worldwide. The 2D battlefield may seem simple, but it offers endless tactical possibilities. Every match is unique as players bring their custom-crafted vehicles into combat.

Strategic Depth

While the controls are straightforward, mastering Craftz.io requires strategic thinking. Analyze opponent loadouts, adapt your build mid-game, and develop winning strategies that exploit enemy weaknesses while protecting your own vulnerabilities.

Gameplay

Craftz.io delivers intense multiplayer action where "build to win and win to build" defines the core gameplay loop. Start each match by crafting your ideal combat vehicle, selecting from dozens of available weapons and armor pieces.

Once in battle, use tactical movement and precise timing to outmaneuver opponents. The 2D perspective allows for side-to-side movement and strategic positioning, creating opportunities for skilled players to dominate through superior tactics rather than just raw firepower.

Match Progression

Each victory earns resources and unlocks new crafting options. The more you play, the more customization possibilities become available, allowing for increasingly sophisticated vehicle builds.

Operation Guide

Desktop Controls: - W, A, S, D Keys : Move your vehicle in all directions - Mouse : Navigate menus and aim weapons - Click : Fire weapons and select menu options

Gameplay Tips: - Study opponent builds during the match preparation phase - Balance offense and defense when crafting your vehicle - Use terrain and positioning to your advantage - Adapt your strategy based on enemy loadouts

Why Play Craftz.io

Free and Accessible : No downloads required - play instantly in any modern web browser across all devices.

Competitive Depth : Simple controls hide sophisticated strategic gameplay that rewards skill and creativity.

Endless Customization : With dozens of weapons and armor pieces, no two matches feel the same.

Active Community : Join a thriving player base in this popular IO game that consistently delivers exciting multiplayer matches.

Regular Updates : Continuous content additions keep the gameplay fresh and engaging.

Whether you're a casual gamer looking for quick matches or a competitive player seeking strategic depth, Craftz.io offers an engaging experience that combines the best elements of crafting games and multiplayer combat arenas.

Frequently Asked Questions (FAQ)