Riot Escape - Online 3D Running Game

Seele01-Flash
By
Riot Escape is an exciting 3D action-running game where you choose to play as either an escaping mob member or a law enforcement officer. Experience thrilling chases with power-ups and dynamic gameplay.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Riot Escape - Hyper Casual 3D**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Hyper-casual aesthetic using low-poly, untextured primitive shapes (BoxGeometry, CapsuleGeometry) with high-saturation solid colors. * **Characters:** * **Escapees (The Mob):** Represented as bright yellow capsule-based stickmen. They should have a "wobbling" procedural animation to simulate running. * **Police:** Represented as slightly larger blue or red figures with distinct "helmet" spheres and "baton" cylinders attached to their arms. * **Environment:** A linear city obstacle course floating in a void (sky color: light blue `#87CEEB`). * **Ground:** Grey asphalt with simple white lane markings. * **Obstacles:** Red barriers, shipping containers (climbable), and rotating fan blades (hazards). * **Finish Line:** A green "Safe Zone" area with particle confetti effects. * **Performance Optimization:** Use InstancedMesh for the crowd (mob) to handle 50+ entities without frame drops on mobile devices. Use simple Lambert materials rather than expensive PBR materials. Shadows should be baked or limited to the main directional light. ### 2. Audio Requirements * **BGM:** A fast-paced, comedic "chase scene" style track (Think: Yakety Sax meets upbeat Techno). * **Sound Effects (SFX):** * **Movement:** Cartoonish scuffling sounds for running. * **Combat:** A comical "BONK" or "WHACK" sound when a policeman hits a runner. * **Victory:** A "Hooray" crowd cheer sample when reaching the finish line. * **Failure:** A whistle blowing sound when caught. ### 3. Gameplay Loop * **Role Selection:** At the start, allow the player to choose: **"RUN" (Escapee)** or **"STOP" (Cop)** via a UI modal. * **Mode A - Escapee:** * **Goal:** Run from the start point to the green Finish Zone. * **Mechanic:** The player moves automatically forward but steers left/right/climb. * **Power-ups:** Place floating "Giant Potion" icons. On collision, the player scales up 3x and knocks obstacles aside for 5 seconds. * **Crowd:** The player is surrounded by 10-20 AI "mob" bots running to the same goal. * **Mode B - Cop:** * **Goal:** Intercept the mob before they cross the finish line. * **Mechanic:** Move freely. Colliding with a yellow Escapee triggers a "Baton Swing" animation and turns the Escapee into a ragdoll (physics deactivation), arresting them. * **Win/Loss:** * Escapee Win: Reach the green zone. * Cop Win: Arrest 80% of the mob before they reach the end. ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Portrait Mode** (Vertical) for one-handed play. * **Control Scheme:** * **Virtual Joystick:** Implement a floating virtual joystick on the bottom half of the screen. Dragging steers the character. * **Auto-Run:** Characters automatically move forward; the joystick controls lateral movement (strafing) and speed modulation. * **Camera:** A "High-Angle Follow Camera" that smoothly tracks the player but keeps the destination visible. * **Haptic Feedback:** Trigger `navigator.vibrate(200)` when the player takes damage, hits an obstacle, or successfully arrests a target. * **UI Layout:** Large, thumb-friendly buttons (start/restart) centered on the screen. A progress bar at the top showing "Distance to Escape". Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Riot Escape

Riot Escape is a fast-paced 3D action running game that puts you in the middle of an intense chase scenario. This free-to-play casual game offers a unique dual-perspective gameplay where you can choose to play as either an escapee trying to reach freedom or a cop attempting to stop the mob. With colorful 3D graphics and engaging mechanics, Riot Escape delivers non-stop excitement for players of all ages.

Core Features

Riot Escape stands out with its innovative gameplay mechanics and exciting features:

  • Dual Role Gameplay : Switch between playing as an escapee or law enforcement officer
  • 3D Graphics : Vibrant, colorful 3D environments with smooth animations
  • Power-Up System : Choose from temporary upgrades like extra speed, quad bikes, flying abilities, and giant mode
  • Dynamic Obstacles : Navigate through various challenges including buildings to climb and traps to avoid
  • Cross-Platform Support : Play on web browsers, Android, and iOS devices
  • Free-to-Play : Completely free with no hidden costs or premium requirements

Escapee Mode: Run for Freedom

When playing as an escapee, your mission is clear: reach the end of the map without being caught. Use parkour skills to climb buildings, dodge police officers, and navigate through various obstacles. The key to success lies in quick reflexes and strategic thinking as you choose the best path to freedom.

Police Mode: Maintain Order

As a police officer, your job is to stop the rioting mob from escaping. Use your baton to knock down escapees and prevent them from reaching their destination. You must be strategic about positioning and timing to successfully contain the situation.

Power-Up System

At the start of each round, you'll be presented with two temporary upgrade options. These game-changing power-ups can include: - Speed Boost : Move faster than opponents - Quad Bike : Ride a powerful vehicle - Flight Ability : Soar above obstacles - Giant Mode : Become massive and unstoppable

Game Controls

Riot Escape features simple and intuitive controls that work across all platforms:

  • WASD Keys or Arrow Keys : Move your character in all directions
  • Mouse : Navigate menus and select power-ups
  • Touch Controls : Available for mobile devices with responsive touch interface

The game is designed to be accessible to players of all skill levels, with easy-to-learn controls that don't require complex combinations or precise timing.

Why Play Riot Escape

Riot Escape offers a unique gaming experience that combines strategy, action, and fun in a casual package. The dual-role system means you'll never get bored, as you can always switch perspectives for a completely different challenge. The temporary power-ups add an element of surprise and strategy to each round, making every playthrough feel fresh and exciting.

Perfect for quick gaming sessions or extended play, Riot Escape runs smoothly on all devices without requiring downloads or installations. The colorful 3D graphics and upbeat atmosphere make it an ideal stress-reliever and entertainment choice for players seeking casual gaming fun.

Frequently Asked Questions (FAQ)