Paper.io 2 - Territory Conquest Game

Seele01-Flash
By
Paper.io 2 is an addictive multiplayer IO game where you compete to capture the most territory by painting the map in your color. Battle against real players worldwide as you expand your domain and defend against rivals.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Paper.io 2 Clone". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Minimalist, clean 3D aesthetic resembling flat paper cutouts. Use vibrant, high-saturation colors (Cyan, Magenta, Lime Green, Bright Red) for players against a clean white or light grey background canvas. * **Player Model**: A simple 3D Cube (representing the "pen/head"). It should cast a soft shadow to simulate a "floating" paper layer effect. * **Territory & Trails**: * **Territory**: A flat mesh on the ground plane (y=0) representing the captured area. * **Trail**: A dynamic ribbon or line mesh trailing behind the player when they exit their territory. It must support smooth curves (not just 90-degree turns). * **Camera**: A Top-Down Orthographic Camera or high-angle Perspective Camera that follows the player smoothly. * **Mobile Optimization**: Use `MeshBasicMaterial` or `MeshLambertMaterial` for efficiency. Limit dynamic light sources to one DirectionalLight. Implement object pooling for particles (if any) to maintain 60 FPS on mobile browsers. ### 2. Audio Requirements * **BGM**: A lighthearted, upbeat, looping synth-pop track. Fast-paced but not distracting. * **Sound Effects (SFX)**: * **Movement**: A subtle, continuous "scribbling" or "gliding" sound when moving outside territory. * **Zone Capture**: A satisfying "pop" or "whoosh" sound + rising pitch chime when a player successfully closes a loop and fills territory. * **Elimination**: A "crunch" or "shatter" sound when a player crashes or is cut off. * **Defeat**: A descending "wobble" or "fail" sound. ### 3. Gameplay Loop * **Core Mechanic**: The player moves a cube that automatically paints a trail. * **Inside Territory**: Safe. No trail is left. * **Outside Territory**: Vulnerable. A trail follows the player. * **Capture Logic**: When the player exits their colored zone and returns to it, the polygon formed by the trail and the exit/entry points is filled with the player's color, expanding their territory. *Critical: The code must handle dynamic polygon triangulation (e.g., using `THREE.Shape` or an Earcut algorithm).* * **Combat & Elimination**: * **Kill**: If Player A hits Player B's *trail* (while B is outside their zone), Player B dies and their entire territory vanishes. * **Suicide**: If a player hits their own trail, they die. * **Head-on-Head**: If two players collide head-on, both die (or the one with the smaller territory dies). * **Win/Loss**: * **Score**: Based on the percentage of the map covered. * **Game Over**: Player is eliminated. Show a "Restart" button immediately. ### 4. Mobile Controls & Interaction * **Control Scheme**: **Floating Virtual Joystick**. Anywhere the user touches on the screen becomes the center of control; dragging directs the cube. * Movement must be continuous (auto-move forward) and allow for smooth 360-degree turning circles (not grid-based movement). * **Orientation**: Portrait mode (preferred for one-handed play) or Landscape (auto-detect). * **UI Layout**: * Score/Percentage display at the top center. * Kill feed (text log) in the top left. * Hidden touch controls (full screen is the touch zone). * **Feedback**: * **Haptic Feedback**: Trigger `navigator.vibrate(200)` when killing an enemy or dying. Trigger a light `navigator.vibrate(50)` when capturing territory. * **Visual Feedback**: Screen shake (camera trauma) slightly upon death or kill. Confetti particle explosion when capturing a large area (>5% of map). Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Paper.io 2

Paper.io 2 is a thrilling multiplayer territory conquest game that combines strategy, skill, and quick reflexes. In this colorful IO game, your mission is simple yet challenging: paint as much of the map as possible in your unique color while preventing other players from claiming your hard-earned territory.

The game features a clean, minimalist design with vibrant colors and smooth gameplay mechanics. You'll control a small square character that leaves a colored trail as it moves, allowing you to claim new areas and expand your influence across the digital battlefield.

Core Features

Real-Time Multiplayer Action

Compete against players from around the world in intense real-time matches. Every game is unique as you face different opponents with varying strategies and skill levels.

Territory Expansion Mechanics

Create loops with your character to claim white space and even steal territory from other players. The larger the area you enclose, the more points you earn, but bigger loops also mean greater risk.

Strategic Combat System

Eliminate opponents by crashing into their exposed tail when they venture outside their safe zone. This high-risk, high-reward gameplay keeps every moment exciting and unpredictable.

Custom Skins and Personalization

Unlock new character skins by completing objectives and eliminating other players. Express your unique style while dominating the battlefield.

Cross-Platform Compatibility

Enjoy seamless gameplay across desktop and mobile devices. The game runs smoothly in any modern web browser without requiring downloads or installations.

How to Play

Basic Controls

  • Mouse Movement : Drag to control your character's direction
  • Alternative Controls : Use WASD keys or arrow keys for precise movement

Gameplay Mechanics

  1. Safe Zone : Your colored territory is your safe haven where you cannot be eliminated
  2. Expansion : Move outside your territory to create loops and claim new areas
  3. Vulnerability : Your tail becomes exposed and attackable when outside your safe zone
  4. Territory Capture : Complete loops by returning to your colored area to claim the enclosed space
  5. Player Elimination : Hit opponents' exposed tails to eliminate them and claim their territory

Winning Strategies

  • Start Small : Make small, quick expansions to minimize exposure time
  • Edge Play : Use map boundaries to reduce vulnerable sides
  • Opportunistic Attacks : Strike when opponents are far from their safe zones
  • Defensive Positioning : Stay near your territory for quick retreats
  • Patient Growth : Gradual expansion is often more effective than risky large loops

Game Modes and Features

Solo Survival Mode

Face off against multiple opponents in a free-for-all battle where only the most strategic player survives.

Territory Percentage Goals

Some matches feature specific objectives like reaching a certain percentage of map control, adding extra challenge and variety.

Progressive Skin System

Earn rewards through gameplay achievements, unlocking new visual styles for your character.

Why Play Paper.io 2

Instant Accessibility : No downloads, no registration required - just open your browser and start playing immediately.

Addictive Gameplay Loop : The simple concept combined with deep strategic elements creates an incredibly engaging experience that's easy to learn but difficult to master.

Competitive Multiplayer : Test your skills against real players worldwide, with each match offering unique challenges and opportunities.

Perfect for Quick Sessions : Matches are typically short, making it ideal for quick gaming breaks or extended play sessions.

Free-to-Play : Enjoy the complete game experience without any payment requirements or premium restrictions.

Whether you're looking for a casual gaming experience or intense competitive matches, Paper.io 2 delivers thrilling territory-based gameplay that will keep you coming back for more conquests.

Frequently Asked Questions (FAQ)