Yorg.io 3 - Multiplayer Tower Defense Game

Seele01-Flash
By
Yorg.io 3 is an engaging multiplayer tower defense IO game where you defend your base against zombie hordes. Build strategic defenses, collect resources, and compete with players worldwide in this third installment of the popular series.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Yorg.io 3 - Mobile Defense". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Minimalist "Flat 3D" aesthetic. Use an **Orthographic Camera** (rotated 45 degrees X, 45 degrees Y) to simulate an isometric top-down view. * **Color Palette**: Desaturated pastel greens for the terrain grid. High-contrast neon colors for resources (Red for Crystal, Blue for Stone, Brown for Lumber) to ensure visibility on small screens. * **Models (Geometry)**: * **Base**: A central Hexagonal prism structure (The HQ). * **Towers**: Low-poly cylinders with distinct turrets on top (Canon, Arrow, Lightning). * **Resources**: jagged, low-poly crystal clusters. * **Zombies**: Simple red cubes or low-poly humanoid shapes. * **Supply Lines**: Flat rectangular paths connecting buildings (visualize the flow of resources). * **Performance Optimization**: * Use `THREE.InstancedMesh` for the map grid, walls, projectiles, and zombie hordes to handle high object counts (1000+ entities) on mobile GPUs. * Implement a simple "Fog of War" shader to obscure distant areas and save rendering resources. * Shadows should be baked or disabled; use ambient occlusion for depth perception to save battery. ### 2. Audio Requirements * **BGM (Dynamic Layering)**: * **Day Phase**: Relaxing, rhythmic "Lo-fi Synth" track to encourage thinking and building. * **Night Phase**: Transition to an upbeat, tense "Dark Techno" track when the zombie wave starts. * **Sound Effects (SFX)**: * **UI**: Soft "Click/Pop" sounds for selecting buildings. A low-pitch "Thud" for invalid placement. * **Combat**: Distinct "Pew-Pew" for lasers, "Whoosh" for arrows, and a satisfying "Squish/Crunch" when zombies are destroyed. * **Feedback**: A subtle "Chime" when a resource shipment successfully reaches the base. ### 3. Gameplay Loop * **Phase 1: Day (Economy & Build)**: * Players have a limited time (or manual start button) to build. * **Mechanic**: "Supply Chain Management". Players must place extractors on resource nodes (Crystal/Stone/Wood) and connect them via "Transporters" (Roads) to the HQ to generate income. * Towers require ammunition/energy, which must also be transported via roads from factories. * **Phase 2: Night (Survival)**: * Zombies spawn from the map edges and pathfind towards the HQ. * Towers automatically target the nearest enemy within radius. * Walls act as high-HP barriers to delay zombies. * **Progression**: * Resources earned are spent to upgrade the Base (unlocks new towers) or upgrade existing towers (Range/Damage). * **Game Over**: If the HQ HP reaches 0. ### 4. Mobile Controls & Interaction * **Camera Control**: * **One-finger drag**: Pan the camera across the map. * **Two-finger pinch**: Zoom in/out (clamp zoom levels to prevent clipping). * **Building System (Touch-Optimized)**: * **Selection**: A bottom-docked horizontal scroll bar (Hotbar) containing building icons (min-height 60px). * **Placement**: 1. Tap an icon to enter "Build Mode". 2. Tap a grid cell to place the structure. 3. (Optional) Drag from a building to draw a line of roads/walls automatically. * **UI Layout**: * **HUD**: Resource counters at the top (large font). "Start Night" button floating at the bottom right (thumb reach). * **Context Menu**: Tapping an existing building opens a circular radial menu around it for "Upgrade", "Sell", or "Info". * **Feedback**: * **Haptic**: Trigger a short vibration (using `navigator.vibrate`) when placing a building or when the base takes damage. * **Visual**: Flash the screen red slightly when the base is under attack. Show floating text numbers for damage and resource gain. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Yorg.io 3 is the highly anticipated third installment in the beloved tower defense IO series, featuring intense zombie apocalypse gameplay with a multiplayer twist. With a stellar 4.1/5 rating, this game combines strategic tower defense mechanics with competitive multiplayer elements, creating an addictive gaming experience that keeps players coming back for more.

Set in a post-apocalyptic world overrun by zombies, Yorg.io 3 challenges you to build and defend your base while competing against other players in real-time. The game's top-down perspective provides excellent strategic visibility, allowing you to plan your defenses and resource management effectively.

Core Features

Unique Day-Night Cycle System

The game features an innovative day-night cycle that fundamentally changes gameplay strategy. During daylight hours, you're safe to gather resources, build towers, and plan your defenses. But when darkness falls, zombie hordes emerge to attack your base, putting your defensive strategies to the ultimate test.

Comprehensive Tower Arsenal

Yorg.io 3 offers diverse tower types to suit different defensive strategies: - Cannon Towers : High-damage explosive projectiles perfect for crowd control - Arrow Towers : Fast-firing ranged units ideal for picking off individual zombies - Defensive Walls : Strategic barriers to redirect zombie movement and protect key areas - Upgraded Variants : Enhanced versions with improved damage, range, and special abilities

Resource Management System

Success requires mastering the three-tier resource system: - Crystals : Premium currency for advanced towers and upgrades - Stone : Essential building material for basic defenses - Lumber : Required for walls and structural improvements

Multiplayer Competition

Engage in thrilling multiplayer sessions where you compete against other players in real-time. Compare strategies, compete for high scores, and see who can survive the longest against increasingly difficult zombie waves.

Gameplay Mechanics

Yorg.io 3 seamlessly blends traditional tower defense elements with modern IO game features. The core loop revolves around resource collection during safe daylight hours, followed by intense defensive battles during zombie attacks at night.

Strategic Base Building

Players must carefully plan their base layout, considering zombie pathfinding and resource efficiency. The top-down view allows for precise tower placement, creating optimal defensive configurations that maximize damage output while conserving resources.

Progressive Difficulty

As you advance through levels, zombie hordes become larger and more resilient. This progression system ensures constant challenge and requires continuous adaptation of defensive strategies.

Operation Guide

Getting Started

The game features an intuitive tutorial system that guides new players through basic mechanics: 1. Follow the initial tutorial to learn tower placement and resource collection 2. Watch quick video guides that appear for new features and mechanics 3. Experiment with different tower combinations to find your preferred strategy

Controls and Interface

  • Mouse : Navigate menus, select towers, and place defenses
  • Click and drag : Position towers with precision
  • Right-click : Cancel actions or access context menus
  • Hotkeys : Quick access to frequently used towers and commands

Advanced Strategies

  • Resource prioritization : Focus on crystal collection for powerful late-game towers
  • Chokepoint creation : Use walls to funnel zombies into kill zones
  • Tower synergy : Combine different tower types for maximum effectiveness
  • Upgrade timing : Balance new construction with upgrading existing defenses

Why Play Yorg.io 3

Completely Free Experience

Yorg.io 3 is entirely free to play with no hidden costs or paywalls. All content, including advanced towers and multiplayer features, is accessible without payment.

Cross-Platform Compatibility

As an HTML5 browser game, Yorg.io 3 runs smoothly on any modern device - desktop computers, laptops, tablets, and smartphones. No downloads or installations required.

Engaging Community

Join thousands of players worldwide in this thriving tower defense community. Share strategies, compete in tournaments, and make friends through the multiplayer system.

Continuous Content

The game regularly receives updates with new towers, levels, and gameplay features, ensuring fresh content and long-term replayability.

Perfect for Quick Sessions

Whether you have 10 minutes or several hours, Yorg.io 3 adapts to your schedule. Quick matches for casual play or extended sessions for serious strategy gaming.

Frequently Asked Questions (FAQ)