Sunset Bike Racing

Seele01-Flash
By
Sunset Bike Racing is an adrenaline-pumping offroad dirt bike adventure that combines thrilling physics-based gameplay with stunning sunset visuals. Race through challenging tracks, perform epic stunts, and unlock powerful bikes in this exciting 2D racing experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Sunset Bike Racing". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: strictly **2.5D Silhouette Aesthetic** (similar to *Limbo* or *Badland*). * **Foreground**: Solid black terrain with jagged edges for rock details. * **Mid-ground**: Dark red/brown silhouettes of pine trees and rocks. * **Background**: Layered mountains with a gradient sunset sky (transitioning from deep red to bright orange/yellow). A large, glowing sun mesh should be fixed in the distant background. * **Camera**: Orthographic camera tracking the bike from the side, with a slight zoom-out effect as speed increases. * **The Bike & Rider**: A black silhouette model. The rider should have a distinct scarf or cape physics effect flowing in the wind. * **Particles**: Simple square particles (black or dark brown) generated from the rear wheel when accelerating on the ground to simulate dirt kicking up. * **Parallax**: Implement a parallax scrolling effect where background layers move slower than the foreground to create depth. ### 2. Audio Requirements * **BGM**: High-energy, instrumental **Desert Rock** or **Synthwave** track to induce adrenaline. * **Sound Effects (SFX)**: * **Engine**: A dynamic engine loop that changes pitch based on the bike's RPM/Speed. * **Tires**: "Crunching" gravel sounds when wheels are in contact with the ground. * **Suspension**: Squeaking sounds on hard landings. * **Crash**: A heavy thud followed by a "tape rewind" sound effect for the retry mechanic. * **UI**: soft mechanical clicks for buttons; a high-pitched "ding" for collecting stars. ### 3. Gameplay Loop * **Core Mechanics**: Physics-based side-scrolling driving. The bike acts as a rigid body with two wheels connected by spring suspension. The player must balance the bike's rotation while airborne to land safely on slopes. * **Objective**: Traverse dynamic terrain (hills, loops, jumps) to reach the finish flag as fast as possible. * **Collectibles**: Place glowing yellow stars along the track (some requiring jumps to reach). * **Fail State**: If the rider's head touches the ground, the bike crashes (ragdoll effect preferred if possible). * **Unique Feature (Time Rewind)**: Instead of an instant "Game Over" screen, allow the player to press a "Rewind" button to reverse time for 3 seconds and correct their mistake (recording position/rotation arrays). * **Ghost Mode**: Save the player's best run position data and render a semi-transparent "Ghost" bike in subsequent runs to race against. ### 4. Mobile Controls & Interaction * **Orientation**: **Landscape Mode** only. * **Touch Controls (Split Screen)**: * **Left Half Screen**: Touch & Hold to **Brake / Lean Backward**. * **Right Half Screen**: Touch & Hold to **Accelerate / Lean Forward**. * **Multi-touch**: Touching both sides simultaneously triggers a **Boost** (limited fuel). * **UI Elements**: * **Rewind Button**: A prominent circular button with a "circular arrow" icon in the top-left corner (easy thumb reach). * **Pause Button**: Top-right corner. * **Speedometer**: Minimalist digital gauge at the bottom center. * **Haptic Feedback**: Trigger vibration API on hard landings, crashes, or when collecting a star. * **Visual Feedback**: Screen shake (camera trauma) upon impact or using Boost. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Sunset Bike Racing is an exhilarating offroad dirt bike adventure that delivers heart-pounding action against breathtaking sunset backdrops. This physics-based racing game challenges players to master challenging terrain while performing spectacular stunts on dynamic tracks. With its unique time-reverse feature and ghost racing system, every race becomes an opportunity to perfect your skills and dominate the competition.

Core Features

Sunset Bike Racing stands out with its exceptional gameplay elements:

  • Completely Free : Play the full game experience without any cost or hidden fees
  • Stunning Visual Design : Race through gorgeous sunset landscapes with silhouetted mountain ranges
  • Realistic Physics Engine : Experience authentic dirt bike handling and momentum-based gameplay
  • Time Reverse Mechanic : Made a mistake? Rewind time and try that challenging section again
  • Ghost Racing System : Compete against your previous best times for continuous improvement
  • Progressive Unlocks : Earn stars to unlock increasingly powerful dirt bikes
  • Cross-Platform Play : Seamlessly play on desktop browsers, mobile devices, and tablets

Dynamic Track System

Explore dozens of carefully crafted tracks, each presenting unique challenges and hidden secrets. From steep mountain climbs to treacherous descents, every track tests different aspects of your riding skills. The dynamic terrain keeps you engaged with varied obstacles, jumps, and stunt opportunities.

Advanced Bike Collection

Start with a basic dirt bike and work your way up to powerful racing machines. Each bike offers different handling characteristics, speed capabilities, and stunt potential. Collect stars from successful races to unlock new vehicles and dominate increasingly difficult tracks.

Gameplay Mechanics

The game focuses on realistic dirt bike physics that reward skillful riding:

  • Momentum Management : Use your bike's weight distribution to navigate challenging terrain
  • Stunt System : Perform aerial tricks and stunts for bonus points and style
  • Star Collection : Gather stars throughout tracks to unlock new content
  • Progressive Difficulty : Master easier tracks before taking on extreme challenges
  • Hidden Secrets : Discover secret areas and shortcuts on every track

Controls Guide

Master these intuitive controls for optimal performance:

  • W or Spacebar : Accelerate forward and maintain momentum
  • S or Ctrl : Apply brakes for precision control on steep descents
  • A and D Keys : Rotate your bike mid-air for perfect landings
  • Left Shift : Activate boost for extra speed when needed
  • Arrow Keys : Alternative control scheme for comfortable gameplay
  • Controller Support : Full gamepad compatibility for console-style control

The responsive control system allows for precise maneuvering whether you're navigating tight corners or executing complex aerial stunts.

Why Play Sunset Bike Racing

This game perfectly combines accessible gameplay with deep challenge progression. The stunning sunset aesthetic creates an immersive atmosphere that sets it apart from typical racing games. The forgiving time-reverse feature makes it perfect for both casual players and perfectionists who want to nail every jump and stunt.

The progressive unlock system provides long-term motivation, while the ghost racing feature adds competitive elements even in single-player mode. Whether you're looking for a quick gaming session or extended play, Sunset Bike Racing delivers consistent thrills with its blend of skill-based physics and spectacular visual presentation.

Frequently Asked Questions (FAQ)