Rooftop Snipers - Pixel Shooting Game

Seele01-Flash
By
Rooftop Snipers is an exciting pixel-style shooting game where you battle famous characters on rooftops. Play solo or with a friend in this fast-paced action game featuring simple controls and addictive gameplay.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Rooftop Snipers (Voxel Physics Brawler)**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 2.5D Voxel/Pixel art style implemented in 3D. Use simple `THREE.BoxGeometry` for almost everything to mimic the blocky, low-poly aesthetic seen in the screenshot. * **Characters:** Create characters (Player vs. AI) using segmented boxes (Head, Torso, Arms, Legs) to allow for ragdoll-like physics. Skins should resemble pop-culture parodies (e.g., suit and tie, tactical gear) using simple colors (flat shading). * **Environment:** A narrow, flat rooftop platform (gray concrete). The background should be a simple 2D plane or low-poly boxes representing a city skyline in beige/tan colors against a bright blue sky with blocky white clouds. * **Mobile Optimization:** Use `MeshLambertMaterial` or `MeshBasicMaterial` to reduce GPU load. Limit dynamic lights to one DirectionalLight and one AmbientLight. Merge background geometries if possible. ### 2. Audio Requirements * **BGM:** A fast-paced, goofy 8-bit chiptune track that loops, creating a chaotic arcade atmosphere. * **Sound Effects (SFX):** * **Jump:** A retro synthesized "whoosh" or spring sound. * **Shoot:** distinct 8-bit gunshot noises (different pitch for different weapons). * **Impact:** A heavy "thud" or "crunch" when a bullet hits a player or a player hits the ground. * **Falling:** A "Wilhelm scream" style effect or a descending whistle when a character falls off the roof. ### 3. Gameplay Loop * **Core Mechanic:** A physics-based duel where the goal is to knock the opponent off the rooftop. There are no health bars; bullets apply physical force (knockback). * **Physics:** Implement a physics engine (like Cannon.js or Ammo.js integrated with Three.js). Characters should feel slightly "unstable" or "wobbly" to increase difficulty. * **Aiming & Shooting:** The character's arm automatically rotates up and down (or rotates when the button is held). The weapon fires a projectile that pushes the target back upon impact. *Crucial:* Weapon recoil should also push the shooter backward slightly. * **Win Condition:** A round ends when a character falls below the Y-axis threshold of the rooftop. First to 5 wins. ### 4. Mobile Controls & Interaction * **Control Scheme (Touch):** * **Left Zone (Bottom Left):** A large, invisible touch area or virtual button for **JUMP** (`pointerdown` to jump). * **Right Zone (Bottom Right):** A large touch area for **SHOOT/AIM**. * **Interaction Logic:** Hold down (`touchstart`) to raise the weapon/aim; Release (`touchend`) to fire the weapon. * **Screen Orientation:** Landscape mode only. Force resize event handling to maintain aspect ratio on different devices. * **UI/UX:** * Scoreboard displayed at the top center in a pixel-font style. * "Restart" button appears centrally upon round end. * All UI buttons must have a minimum touch target of 48x48px. * **Feedback:** Trigger `navigator.vibrate(50)` on shooting and `navigator.vibrate(200)` when hit or killed. 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 is a thrilling pixel-art shooting game that combines simple mechanics with intense action. In this unique rooftop battle arena, you'll face off against iconic characters including the Joker, Mr. T, and John Wayne in epic duels high above the city. The game's minimalist pixel aesthetic and straightforward controls make it accessible to players of all skill levels while delivering maximum entertainment.

This browser-based shooting game stands out with its physics-based gameplay and unpredictable action sequences. Every match is different thanks to the dynamic movement system and environmental hazards that keep players on their toes.

Core Features

Iconic Character Battles

Engage in intense duels against legendary figures from pop culture. Each character brings their own personality to the rooftop battleground, making every encounter unique and memorable.

Dual Game Modes

  • Single Player Mode : Perfect your skills against AI opponents
  • Two Player Mode : Challenge friends in local multiplayer battles on the same device

Physics-Based Combat

The game features realistic physics that affect every jump, dodge, and shot. Master the momentum system to outmaneuver opponents and secure victory.

Environmental Hazards

Watch out for unexpected obstacles like tomahawks and beach balls that can dramatically change the course of battle. These random elements add excitement and unpredictability to every match.

Pixel Art Style

Enjoy beautifully crafted retro pixel graphics that give the game its distinctive charm and nostalgic appeal.

Gameplay Mechanics

Rooftop Snipers features intuitive controls that are easy to learn but challenging to master:

  • Movement : Jump forward and backward to dodge incoming shots
  • Aiming : Hold to aim your weapon with precision
  • Shooting : Release to fire at the perfect moment
  • Strategy : Use timing and positioning to knock opponents off the roof

The objective is simple yet engaging: be the last sniper standing on the rooftop. Success requires quick reflexes, strategic positioning, and perfect timing.

Operation Guide

Mouse Controls : - Navigate menus and game interface - Control aiming direction

Keyboard Controls : - W Key : Jump (essential for dodging bullets) - E Key : Hold to aim your weapon - Release E : Fire your shot

Pro Tips : - Time your jumps carefully to avoid incoming fire - Use the rooftop's physics to your advantage - Watch for environmental hazards and use them strategically - Practice your aim timing for maximum accuracy

Platform Compatibility

Rooftop Snipers is designed for maximum accessibility:

  • Desktop : Full support on Windows, Mac, and Linux computers
  • Mobile Devices : Optimized for smartphones and tablets
  • Cross-Platform : Same great experience across all devices
  • No Download Required : Play instantly in your web browser

Why Play Rooftop Snipers

Perfect for Quick Gaming Sessions : Each match lasts just a few minutes, making it ideal for short breaks or casual gaming.

Social Gaming : The two-player mode makes it perfect for entertaining friends and family members.

Skill Development : Improves reaction time, hand-eye coordination, and strategic thinking.

Stress Relief : The simple yet engaging gameplay provides excellent stress relief and entertainment.

Retro Appeal : Pixel art graphics evoke classic gaming nostalgia while maintaining modern playability.

Completely Free : Enjoy unlimited gameplay without any costs, subscriptions, or hidden fees.

Frequently Asked Questions (FAQ)