Gangsters - Pixelated Gang Warfare Game

Seele01-Flash
By
Gangsters is an intense pixelated gang warfare game where you control a 3-member squad to defend your turf against rival gangs. Experience retro graphics with physics-based combat and multiple weapons in this free browser game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Gangsters: Pixel Mayhem". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Use an **Orthographic Camera** to simulate a 2D side-scrolling view within the 3D Three.js environment. The aesthetic should be "Voxel-Art" or "Low-Poly Flat Shaded" to mimic the original pixel art style. * **Characters**: Create two teams (Player Team vs. AI Team). Each team consists of **three blocky characters** stacked or grouped closely together. They should be constructed using simple `BoxGeometry`. * Player Team: Red shorts/accents. * Enemy Team: Black/White suit accents. * **Environment**: A rooftop setting. Create static `BoxGeometry` platforms representing buildings. * **Background**: A simple sky blue background with low-opacity cloud meshes or a distant city silhouette using flat planes. * **Effects**: Simple cube particles for blood splatter on hits and muzzle flashes when shooting. * **Optimization**: Use `InstancedMesh` if many repetitive blocks are used, but for this scale, standard geometry is fine. Ensure shadows are baked or disabled for mobile performance. ### 2. Audio Requirements * **BGM**: Generate a placeholder for a fast-paced, 8-bit chiptune or retro-synth track (looping). * **SFX**: * **Shooting**: Retro "8-bit noise" bursts. * **Jump**: A rising "bloop" sound. * **Impact**: A heavy "thud" or "crunch" when characters hit the ground or get shot. * **Win/Loss**: A short jingle. ### 3. Gameplay Loop * **Physics Core**: Implement a simplified 2D physics simulation (using a library like Cannon.js or a custom simple Euler integration). **Crucial**: Constrain movement to the X and Y axes (lock Z axis) to keep gameplay 2D. * **Mechanics**: * **Ragdoll-lite**: Characters should feel slightly "floppy" or heavy. * **The Squad**: The player controls all three gang members simultaneously. They move and jump as a single chaotic unit. * **Recoil**: Weapons should have high recoil. Shooting forces the character backward; this is a key movement mechanic. * **Combat**: * Projectiles are physical objects (small cubes). * Hit detection: If a projectile hits a character, apply impulse force (knockback) and reduce health. * Victory Condition: Knock the enemy team off the platform OR reduce their collective HP to zero. ### 4. Mobile Controls & Interaction * **Screen Orientation**: Landscape Mode. * **Touch Controls (2-Button Arcade Style)**: * **Left Zone (Big Red Button)**: "Jump/Forward". Tapping creates an impulse force Up and Forward. * **Right Zone (Big Blue Button)**: "Attack". Tapping raises the characters' arms (rotates the arm mesh) and fires the weapon. * **Feedback**: * **Camera Shake**: Screen must shake slightly when shooting or taking damage to emphasize the "chaotic" feel on small screens. * **Haptics**: Trigger `navigator.vibrate(50)` on shooting and `navigator.vibrate(200)` on death. * **UI**: Minimalist pixel-font score display at the top center. Restart button appears only after Game Over. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Gangsters

Gangsters is an explosive pixelated action game that brings classic gang warfare to your browser. In this intense shooting mayhem, you take control of a complete gang squad and fight to defend your territory against ruthless rival gangs. The game combines retro pixel art aesthetics with modern physics-based gameplay, creating an exciting and bloody battle experience that's both nostalgic and thrilling.

The game features a unique squad-based combat system where you simultaneously control three gang members, each capable of wielding different weapons from pistols to powerful machine guns. The pixelated graphics give the game a classic arcade feel while the intense gameplay keeps you on the edge of your seat.

Core Features

Physics-Based Combat System

Gangsters utilizes realistic physics mechanics that affect every aspect of combat. Your gang members move with weight and momentum, making positioning and timing crucial for victory. Weapons have realistic recoil and projectile physics, adding depth to the shooting mechanics.

Squad Management

Control all three members of your gang simultaneously using intuitive controls. Each member can move, jump, and attack independently, allowing for complex tactical maneuvers and coordinated attacks against enemy gangs.

Diverse Arsenal

Access a variety of weapons including: - Pistols : Quick and accurate for precise shots - Machine Guns : High rate of fire for suppressing enemies - Melee Combat : Use fists when ammunition runs low - Special Weapons : Unique firearms with different damage profiles

Multiple Game Modes

The game offers versatile gameplay options: - AI Battle Mode : Challenge computer-controlled gangs with intelligent AI that provides real tactical challenges - 2-Player Mode : Battle friends locally on the same computer for intense head-to-head competition

Gameplay Mechanics

Territory Defense

Your primary objective is defending your gang's turf against invading rival organizations. Each map presents unique tactical challenges with different layouts, cover positions, and strategic advantages. Success requires smart positioning, resource management, and quick reflexes.

Map Variety

Battle across various urban environments, each with unique features that affect gameplay strategy. From rooftop battles to street-level confrontations, every location offers different tactical opportunities and challenges.

Operation Guide

Basic Controls

  • W Key : Move your entire squad forward into battle position
  • E Key : Raise arms to shoot weapons or throw punches for close combat
  • 2-Player Controls : Player 2 uses I (jump) and O (attack) keys

Combat Strategy

  • Position your squad behind cover to avoid enemy fire
  • Use coordinated attacks to overwhelm rival gangs
  • Manage ammunition carefully - melee combat becomes crucial when guns are empty
  • Take advantage of physics - use environmental elements to your tactical advantage

Winning Tactics

  • Team Coordination : Move your three members as a unit for maximum firepower
  • Cover Usage : Use buildings and obstacles to protect your gang
  • Weapon Management : Switch between ranged and melee combat based on situation
  • Map Knowledge : Learn each battleground's unique features and advantages

Why Play Gangsters

Perfect Retro Gaming Experience

Gangsters delivers authentic pixelated nostalgia with modern gameplay mechanics. The retro graphics style appeals to classic gaming enthusiasts while remaining accessible to new players who appreciate pixel art aesthetics.

Intense Multiplayer Action

The 2-player mode transforms any gaming session into a competitive battleground. Challenge friends in same-screen multiplayer combat that tests strategy, reflexes, and teamwork.

Free Browser Gaming

Enjoy complete gang warfare action without downloads or payments. The game runs smoothly in any modern web browser on both desktop and mobile devices, making it accessible anywhere.

Physics-Based Realism

Unlike simple shooting games, Gangsters incorporates realistic physics that affect movement, weapons, and combat dynamics. This adds tactical depth and makes every battle feel authentic and engaging.

Quick Session Gameplay

Perfect for short gaming breaks or extended play sessions. Each battle is intense but manageable, allowing you to jump in for quick action or settle in for longer gang warfare campaigns.

Frequently Asked Questions (FAQ)