Rooftop Snipers 2

Seele01-Flash
By
Rooftop Snipers 2 is an exciting online shooting game where players engage in epic sniper duels on city rooftops. Battle friends or AI opponents in this pixel-style multiplayer game with customizable arenas and unlockable characters.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Rooftop Snipers 2 - Mobile Voxel Edition**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 2.5D aesthetic using low-poly, voxel-based geometry (resembling the screenshot's pixel art but with 3D depth). Use an **Orthographic Camera** to maintain the flat, retro arcade perspective. * **Characters:** Create two blocky, rigid-body characters composed of simple `BoxGeometry` parts (Head, Torso, Legs). * **Player 1:** Distinct color (e.g., Red shirt, Blue pants). * **Player 2:** Distinct color (e.g., Green shirt, Brown pants). * **Environment:** * **Foreground:** A simple, rectangular "Rooftop" platform. It should have a physics collider. * **Background:** A parallax city skyline made of flat planes with window textures, using desaturated colors (tans, greys, light blues) to make the characters pop. * **Effects:** * **Muzzle Flash:** A quick yellow cone or sprite when shooting. * **Impact:** Exploding red voxel particles (`BoxGeometry` with minimal size) when a character is hit. * **Mobile Optimization:** Use simple materials (`MeshLambertMaterial` or `MeshBasicMaterial`) to reduce rendering cost. Avoid real-time shadows; use baked lighting or simple directional light. Recycle particle systems for performance. ### 2. Audio Requirements * **BGM:** A fast-paced, looped 8-bit / Chiptune track to induce tension and arcade energy. * **SFX:** * **Jump:** A retro "boing" or rising frequency synthesizer sound. * **Shoot:** A crunchy, 8-bit noise burst. * **Hit:** A low-frequency thud or "pixel crush" sound. * **Fall:** A descending whistle (cartoon style) when a player falls off the screen. ### 3. Gameplay Loop * **Core Mechanic:** A physics-based duel. Characters have chaotic, slightly "ragdoll" physics. * **Aiming:** The weapon arm should automatically oscillate up and down (0 to 90 degrees). The player must time their shot. * **Shooting:** Fires a projectile with high velocity. * **Knockback:** This is critical. Being hit does **not** kill the player instantly; instead, it applies a massive physics impulse pushing them backward. The gun's recoil should also push the shooter slightly backward. * **Victory Condition:** A player loses a round if they fall off the rooftop platform. The first player to reach 5 points wins the match. * **Dynamic Elements:** Occasionally, spawn falling environmental hazards (like crates or beach balls) that interfere with the physics. ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Landscape Mode** is mandatory to accommodate two players on one device. * **Split-Screen UI (Local Multiplayer):** * **Left Side (Player 1):** Two large, semi-transparent buttons in the bottom-left corner. * Button A: **Jump** (Tap to hop, Hold for higher jump). * Button B: **Shoot**. * **Right Side (Player 2):** Mirrored layout in the bottom-right corner for the second player. * **Feedback:** * Buttons should scale down slightly or change color when pressed for visual confirmation. * Trigger `navigator.vibrate(50)` on shooting and `navigator.vibrate(200)` when a player is hit (if supported). * **Menu:** A simple overlay with a "Start Game" button that is easy to tap (min-height 50px). Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Rooftop Snipers 2 is a thrilling online shooting game that takes sniper battles to new heights - literally! This pixel-style multiplayer game puts you on urban rooftops where precision shooting and quick reflexes determine who stays standing and who falls to the streets below.

The game features an engaging physics-based combat system where every shot matters. Your objective is simple yet challenging: use your sniper skills to knock your opponent off the rooftop before they do the same to you. With its retro pixel art style and intuitive controls, Rooftop Snipers 2 delivers instant action that's easy to learn but difficult to master.

Core Features

Multiplayer Combat System

Rooftop Snipers 2 shines as a 2-player game , offering both local multiplayer and single-player modes. Challenge your friends on the same computer for intense head-to-head battles, or practice your skills against AI opponents to perfect your shooting technique.

Customizable Battle Arenas

One of the game's standout features is its arena customization system . Players can modify their playing environment to create the ultimate matchup scenario. Choose different rooftop layouts, adjust environmental factors, and create unique battle conditions that suit your playing style.

Character Progression

Unlock a diverse roster of characters as you progress through the game. Each character brings their own unique visual style to your rooftop battles, allowing for personalization and variety in your gaming experience.

Physics-Based Gameplay

The game employs realistic physics that make every shot unpredictable and exciting. Wind resistance, bullet trajectory, and character momentum all play crucial roles in determining the outcome of each battle.

Gameplay Mechanics

Rooftop Snipers 2 combines precision shooting with strategic positioning. Players must balance offensive tactics with defensive maneuvers, timing their shots perfectly while avoiding enemy fire. The rooftop setting adds an extra layer of strategy - fall off the edge, and you lose!

The game's pixel art graphics create a nostalgic gaming atmosphere while maintaining modern gameplay standards. The urban rooftop environments are detailed and varied, providing different tactical advantages and challenges in each match.

How to Play

Controls

The game features simple yet effective controls: - W and I keys : Jump to avoid shots or gain better positioning - E and O keys : Shoot your sniper rifle at opponents

Game Objectives

Your primary goal is to demonstrate superior sniper skills by: 1. Accurate Shooting : Aim precisely to hit your opponent 2. Strategic Movement : Use jumping to dodge incoming fire 3. Positioning : Maintain advantageous spots on the rooftop 4. Victory Condition : Successfully shoot your opponent off the roof

Tips for Success

  • Master the Physics : Understanding bullet trajectory and character movement is crucial
  • Timing is Everything : Don't rush shots - precision beats speed
  • Use the Environment : Different rooftops offer various strategic advantages
  • Practice Movement : Combining jumping and shooting effectively takes skill

Why Play Rooftop Snipers 2

This game offers the perfect blend of competitive multiplayer action and casual accessibility. Whether you're looking for a quick gaming session with friends or want to improve your shooting skills, Rooftop Snipers 2 delivers:

  • Instant Action : No complex setup - jump straight into battles
  • Free to Play : Enjoy all features without any cost
  • No Download Required : Play directly in your browser
  • Cross-Platform : Works on computers, tablets, and mobile devices
  • Social Gaming : Perfect for local multiplayer sessions
  • Skill Development : Improve your precision and reaction times

The game's unique rooftop setting sets it apart from traditional shooting games, creating memorable moments where strategy and skill combine for explosive results.

Frequently Asked Questions (FAQ)