Rooftop Run - Urban Parkour Adventure

Seele01-Flash
By
Rooftop Run is an adrenaline-pumping 3D parkour game where you navigate urban landscapes with lightning-fast reflexes. Master rooftop jumping, collect rewards, and experience 50 levels of heart-stopping action - all completely free in your browser.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Rooftop Run". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Low-poly, high-contrast urban aesthetic. Bright cyan skybox (daytime). The world should feel expansive but optimized (use fog to hide draw distance). * **Environment Generation:** A modular level system composed of "Rooftop Segments." * **Buildings:** various heights and widths, textured with simple concrete or brick patterns. * **Glass Panes:** Translucent blue planes placed as obstacles/windows that shatter into triangular shards upon impact (using a simple particle system). * **Trampolines:** Bright red pads on the floor that trigger high jumps. * **Collectibles:** Floating, rotating yellow stars or gold coins. * **Character:** A simple capsule or low-poly humanoid runner (blue shirt, dark pants) with a forward-leaning animation pose to suggest speed. * **Performance:** Use `InstancedMesh` for repeated objects (coins, glass shards, debris). Limit dynamic lights; use baked ambient occlusion or a single directional light with soft shadows. ### 2. Audio Requirements * **BGM:** High-energy, fast-paced Drum & Bass or Electro-Rock track to induce adrenaline. * **SFX:** * **Running:** Rhythmic sneakers-on-concrete sounds. * **Glass Smash:** Sharp, satisfying crunching/shattering sound (crucial for feedback). * **Jump:** An "exhale" or "grunt" sound + a swoosh air effect. * **Trampoline:** A springy "boing" sound. * **Collect:** High-pitched digital chime. * **Fall/Fail:** Wind whistling followed by a distinct "thud" or "wasted" sound. ### 3. Gameplay Loop * **Core Mechanic:** The character runs forward automatically (auto-runner) at increasing speeds. * **Player Goal:** Reach the checkered flag at the end of the level (or survive as long as possible in endless mode). * **Obstacles & Interaction:** * **Gaps:** Players must jump between buildings. Falling results in Game Over. * **Glass Windows:** Players *should* run through these for points/style (they do not kill the player, but provide visual feedback). * **Enemies/Barriers:** Stationary blockades or moving agents that must be avoided. Hitting them stops the run (Game Over). * **Physics:** Arcade-style physics. Gravity should feel slightly "floaty" to allow for parkour corrections in mid-air. Speed increases slightly after clearing specific checkpoints. ### 4. Mobile Controls & Interaction * **Touch Controls (Portrait or Landscape - prefer Landscape for wide FOV):** * **Steering:** Touch and **Drag** anywhere on the screen (horizontal slide) to move the character left or right (strafing). This allows for precise landing on narrow rooftops. * **Jump:** **Tap** anywhere on the screen to jump. * **Camera Control:** The camera should follow the player smoothly (`Lerp`) but retain a slight delay to create a sense of speed. When the player drags left/right, the camera should tilt slightly (Dutch angle) to emphasize movement. * **UI/UX:** * Large, thumb-friendly "Restart" button (at least 60x60px) centered on the Game Over screen. * Score/Coin counter in the top-left corner (large font). * **Haptic Feedback:** Trigger the device vibration API (`navigator.vibrate`) when smashing glass or landing a big jump. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Rooftop Run

Rooftop Run is the ultimate urban parkour experience that puts you in control of a fearless freestyle runner navigating the concrete jungle. This high-octane 3D game challenges you to leap from one precarious rooftop to another with the skill and precision of a seasoned parkour athlete. With stunning 3D visuals and heart-pounding action across 50 challenging levels, every jump becomes a test of your reflexes and courage.

The game combines the thrill of extreme sports with strategic gameplay, requiring you to carefully plan each move while maintaining breakneck speed through the urban landscape.

Core Features

Immersive 3D Urban Environment

Experience breathtaking 3D visuals that bring the urban jungle to life. Navigate through detailed cityscapes with realistic building textures, dynamic lighting, and smooth animations that make every jump feel authentic and thrilling.

50 Challenging Levels

Progress through an extensive campaign featuring 50 unique levels, each presenting new obstacles and increasingly difficult parkour challenges. From simple rooftop gaps to complex multi-building sequences, the difficulty scales perfectly to keep you engaged.

Reward Collection System

Collect stars and coins during your parkour runs to unlock new content and achievements. Strategic collection adds an extra layer of challenge as you balance speed with thorough exploration of each level.

Dynamic Obstacle Navigation

Encounter various urban obstacles including enemy blockers, breakable office windows, and environmental hazards. Use red trampolines strategically to reach distant platforms and overcome seemingly impossible gaps.

Cross-Platform Compatibility

Enjoy seamless gameplay across all devices - desktop computers, tablets, and mobile phones. The game runs smoothly in any modern web browser without requiring downloads or installations.

Gameplay Mechanics

Rooftop Run tests every aspect of parkour mastery through its intuitive yet challenging gameplay system. Players must demonstrate precision timing for jumps, strategic planning for route selection, and quick reflexes to avoid obstacles and enemies.

The game's physics engine provides realistic momentum and gravity effects, making each leap feel authentic. Master the art of chaining jumps together for maximum speed while collecting valuable items scattered across the rooftops.

Operation Guide

The game features streamlined controls designed for both precision and accessibility:

  • Mouse Control : Hold the left mouse button to control camera movement and survey your surroundings
  • Camera Navigation : Use mouse movement to plan your next jump and identify optimal routes
  • Visual Planning : The camera system allows you to assess distances and timing before making crucial leaps

The intuitive control scheme ensures that players can focus on the parkour action rather than struggling with complex input combinations.

Why Play Rooftop Run

Perfect for All Skill Levels

Whether you're new to parkour games or a seasoned player, Rooftop Run offers an accessible entry point with room for mastery. The progressive difficulty ensures constant challenge without frustration.

No Download Required

Jump straight into the action with instant browser-based gameplay. No installation, no waiting - just pure parkour excitement whenever you want it.

Stress-Free Gaming

As a completely free game with no pay-to-win mechanics, you can enjoy the full experience without any financial pressure. Focus purely on improving your parkour skills and completing challenges.

Mobile-Friendly Design

Take your parkour adventures anywhere with full mobile browser support. The responsive design ensures smooth performance whether you're gaming on your phone during a commute or relaxing with a tablet at home.

Replayability Factor

With 50 levels and multiple collection objectives per level, Rooftop Run offers extensive replay value. Master each level's optimal route, collect every star and coin, and challenge yourself to achieve perfect runs.

Frequently Asked Questions (FAQ)