Free Rider 2

Seele01-Flash
By
Free Rider 2 is a physics-based 2D motorcycle racing game where you create custom tracks or race on community-made courses. With realistic physics and hilarious crashes, master the art of balancing speed and control.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Free Rider: Paper Physics**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: A "Living Notebook" aesthetic (2.5D). The game should look like a doodle coming to life on a piece of paper. * **Background**: A high-resolution texture of slighty crumpled white grid paper or graph paper. * **Models (The Rider & Bike)**: * Construct the "Stick Figure" rider using simple black `THREE.CylinderGeometry` and `THREE.SphereGeometry` (for joints/head). * The bike should be minimalist: Black torus geometries for wheels and thin cylinders for the frame. * **Mobile Optimization**: Use `THREE.InstancedMesh` if drawing complex repeated track elements. Keep total polygon count low. Use an **Orthographic Camera** to maintain the strict 2D side-scrolling perspective while allowing for 3D depth shadows. * **Track Lines**: The ground should be rendered using `THREE.MeshLine` or extruded shapes to give the "ink" thickness, allowing them to cast soft shadows onto the paper background for depth. ### 2. Audio Requirements * **BGM**: A relaxing, lo-fi acoustic guitar or beat-heavy "study music" loop to match the creative vibe. * **Sound Effects (SFX)**: * **Accelerating**: The sound of a pencil rapidly sketching on paper. * **Braking**: A sharp rubber eraser sound or a "screeching" graphite sound. * **Crash/Wipeout**: A crumpled paper sound effect mixed with a comedic "Oof!" vocal. * **UI Interaction**: Pen clicking sounds (like clicking a retractable ballpoint pen). ### 3. Gameplay Loop * **Core Mechanic**: Physics-based traversing. The player controls a cyclist trying to navigate a treacherous line-art track without crashing. * **Physics Engine Integration**: Integrate a 2D physics engine (like Matter.js or Cannon.js locked to the XY plane) to handle: * **Suspension**: Springs connecting the wheels to the bike frame. * **Ragdoll**: If the rider's head touches the ground, the rigid body constraints break, and the rider goes limp (ragdoll effect), triggering a "Wasted" state. * **Creative Mode (The "Make Your Own" Aspect)**: Include a toggle switch between "Play Mode" and "Draw Mode". In Draw Mode, the player can trace lines on the screen with their finger to create new terrain (static physics bodies). * **Win/Loss**: Reach the green flag to win; hit the head to lose (instant reset button required). ### 4. Mobile Controls & Interaction * **Screen Orientation**: **Landscape Only** (mandatory for track visibility). * **Control Scheme (Virtual Gamepad)**: * **Left Thumb**: Two large arrow buttons for **Leaning** (Rotate Left / Rotate Right). Leaning is crucial for mid-air balance. * **Right Thumb**: Two large buttons for **Pedal** (Accelerate) and **Brake** (Decelerate/Reverse). * **Touch Feedback**: Implement `navigator.vibrate` (haptic feedback) when the bike hits the ground hard or crashes. * **UI Layout**: * Place controls at the bottom corners (safe zones). * Ensure all buttons have a hit area of at least 48x48px. * Add a prominent "Restart" button (circular arrow icon) in the top-right corner for quick retries after wipeouts. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Free Rider 2

Free Rider 2 is an innovative 2D motorcycle racing game that combines creative track building with challenging physics-based gameplay. Rated 4.6/5 by players, this game stands out for its unique blend of racing action and user-generated content. Race your stick figure rider through custom-designed tracks filled with jumps, obstacles, and death-defying stunts.

Core Features

Custom Track Creation

The game's standout feature is its powerful track editor that lets you design unlimited racing courses. Draw lines to create ramps, loops, and challenging obstacles. Share your creations with the community or import tracks made by other players for endless variety.

Physics-Based Racing

Experience realistic motorcycle physics that reward skillful riding. Master the delicate balance between speed and control as you navigate through:

  • Steep jumps and ramps
  • Loop-de-loops and gravity-defying sections
  • Precision landing zones
  • Technical obstacle courses

Community-Driven Content

Access thousands of user-created tracks ranging from beginner-friendly courses to expert-level challenges that will test even the most experienced riders. The active community continuously creates new content, ensuring you'll never run out of tracks to conquer.

Hilarious Crash Physics

One of the game's most entertaining aspects is its realistic crash system. Watch your stick figure rider tumble through spectacular wipeouts when physics goes wrong. These crashes aren't just funny - they teach you better riding techniques for future attempts.

Game Mechanics

Realistic Motorcycle Physics

Every aspect of riding feels authentic, from acceleration and braking to the way your rider's weight affects balance during jumps. The physics engine creates genuine challenges that require skill to overcome.

Progressive Difficulty

Start with simple tracks to learn the basics, then gradually tackle more complex user-created courses. The game naturally progresses from easy rides to mind-bending challenges that push your abilities to the limit.

Operation Guide

Basic Controls

Master these essential controls for successful riding:

  • Up Arrow : Accelerate forward
  • Down Arrow : Brake and reverse
  • Right Arrow : Lean forward (crucial for landings)
  • Left Arrow : Lean backward (essential for balance)

Track Creation Controls

Use the intuitive drawing tools located on the left and right sides of the screen to:

  • Draw track lines and surfaces
  • Create obstacles and decorative elements
  • Import and export track codes
  • Test your creations instantly

Pro Riding Tips

Landing Technique : Always lean into your landings. Use the right arrow when landing on downward slopes and adjust your lean angle based on the landing surface.

Speed Management : Not every section requires full throttle. Learn when to coast and when to accelerate for optimal performance.

Weight Distribution : Your rider's position affects the bike's behavior. Master leaning to maintain control through complex sections.

Why Play Free Rider 2

Unlimited Content

With user-generated tracks, you have access to virtually unlimited content. The community has created everything from realistic motorcycle courses to impossible fantasy tracks that defy physics.

Creative Expression

The track editor isn't just a feature - it's a creative canvas. Design artistic masterpieces, challenging puzzles, or recreate real-world motorcycle tracks. Your imagination is the only limit.

Skill Development

The game rewards patience and practice. As you improve, you'll tackle increasingly difficult tracks and eventually create challenging courses for other players to attempt.

Free Entertainment

Completely free to play with no downloads required. Jump into your browser and start racing immediately, whether you're on a quick break or settling in for a longer gaming session.

Cross-Platform Accessibility

Play on any device with a web browser. The simple controls work perfectly on both desktop and mobile devices, making it easy to race anywhere.

Frequently Asked Questions (FAQ)