Crazy MX - Stunt Motorbike Game

Seele01-Flash
By
Crazy MX is an adrenaline-pumping motorbike stunt game where you perform death-defying tricks like Superman moves and backflips. Play solo or challenge a friend in this free browser-based racing adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Crazy MX". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 2.5D Side-scrolling aesthetic using a **Cel-Shaded (Toon) material** shader to mimic the comic-book style of the reference image. Use a vibrant color palette: bright orange/red skies, deep purple/blue for the bike and rider, and high-contrast yellow accents. * **Camera:** A PerspectiveCamera locked to the player's X-axis movement but with a slight dynamic zoom-out based on speed and altitude to show more of the track during jumps. * **Models:** * **The Bike:** A low-poly motocross bike separated into chassis, front wheel, and rear wheel for physics articulation. * **The Rider:** A low-poly ragdoll-ready character attached to the bike. * **Terrain:** Procedurally generated or pre-built track segments including steep ramps, loop-de-loops, and dangerous gaps. Use a grid texture or dirt texture for the ground to convey speed. * **Performance:** strict mobile optimization. Use instanced meshes for background obstacles (rocks, cacti). Limit dynamic lights; use baked lighting or a simple hemisphere light setup. ### 2. Audio Requirements * **BGM:** High-energy, fast-paced **Punk Rock or Skate-Punk** instrumental track to match the adrenaline of the gameplay. * **Sound Effects (SFX):** * **Engine:** Synthesized engine revving that pitches up based on the bike's velocity. * **Suspension:** A compression sound when landing heavily. * **Stunts:** A "whoosh" or "shimmer" sound when a trick (Superman/Free Hand) is successfully executed. * **Crash:** Comical "bonk" or ragdoll collision sound upon failure. * **UI:** Clicky, mechanical sounds for button presses. ### 3. Gameplay Loop * **Core Mechanics:** The player controls a physics-based motorbike (using a physics engine like Cannon.js or Oimo.js is highly recommended). The goal is to drive from left to right, navigating obstacles without tipping over. * **Stunt System:** * **Airtime:** While the bike is not touching the ground, the player can perform tricks. * **Tricks:** Implement logic for "Superman" (rider body floats behind bike) and "Free Hand" (rider lets go of handles). These should be triggered by specific buttons and must be released before landing to avoid crashing. * **Rotation:** Player must balance the bike (lean forward/back) to land on both wheels. Front-flips and back-flips award bonus points. * **Win/Loss:** * **Win:** Cross the finish line. * **Loss:** The rider's head touches the ground (crash). * **Scoring:** Score increases based on airtime duration and number of successful tricks landed. ### 4. Mobile Controls & Interaction * **Screen Orientation:** Forced **Landscape** mode for optimal track visibility. * **Touch Interface (Virtual Gamepad):** * **Left Bottom Corner:** Two large arrows (Left/Right) for **Leaning/Balancing** the bike (replacing 'A'/'D' keys). * **Right Bottom Corner:** Two pedals/buttons. Green for **Gas** (replacing 'W'), Red for **Brake/Reverse** (replacing 'S'). * **Center/Upper Right (Action Zone):** Two distinct circular icons for **Tricks**: * Icon 1: "Superman" (replacing 'B'). * Icon 2: "Free Hand" (replacing 'V'). * **Feedback:** Implement `navigator.vibrate` (haptic feedback) when the bike lands a jump or crashes. Add a "Speed Lines" particle effect at the edges of the screen when moving at top speed. * **Responsiveness:** Controls must support multi-touch (e.g., holding Gas while leaning Back). UI elements must be at least 48x48px for touch accessibility. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Crazy MX is the ultimate motorbike stunt experience that puts you in control of powerful dirt bikes capable of incredible aerial maneuvers. This side-scrolling racing game combines high-speed motorcycle action with spectacular stunt performances, offering both single-player challenges and exciting 2-player local multiplayer action. Whether you're a solo daredevil or want to compete with friends, Crazy MX delivers heart-pounding motorcycle mayhem right in your browser.

The game features intuitive controls that make it easy to learn but challenging to master, allowing players of all skill levels to enjoy the thrill of motocross stunts without any barriers to entry.

Core Features

Spectacular Stunt System

Crazy MX offers an extensive trick system that lets you perform jaw-dropping stunts including:

  • Superman Tricks : Release your grip and fly through the air like a superhero
  • Free Hand Stunts : Show off your balance skills with one-handed riding
  • Backflips and Front Flips : Defy gravity with complete rotational maneuvers
  • Custom Combinations : Chain multiple tricks together for maximum points

Dual Game Modes

  • Solo Adventure : Perfect your skills and master increasingly difficult tracks
  • 2-Player Local Multiplayer : Challenge friends on the same device with split controls
  • Competitive Racing : Race against time and opponents while performing stunts

Browser-Based Convenience

  • Completely Free : No payment required, enjoy full gameplay at zero cost
  • No Download Needed : Play instantly in any modern web browser
  • Cross-Platform Compatible : Works on Windows, Mac, and mobile devices
  • Instant Access : Jump straight into the action without registration

Dynamic Track Design

Experience diverse environments with challenging obstacles, ramps, and terrain that test your riding skills and creativity.

Game Mechanics

Crazy MX combines traditional racing elements with creative stunt performance. Players must balance speed with style, using the game's physics engine to execute perfect landings while maintaining momentum. The side-scrolling perspective provides clear visibility of upcoming obstacles and landing zones, essential for planning complex trick sequences.

Success requires mastering the delicate balance between acceleration, braking, and body positioning. Each track presents unique challenges that reward both speed and technical skill.

Controls Guide

Single Player Controls

The game uses simple keyboard controls for maximum accessibility:

  • W Key : Accelerate your motorbike forward
  • S Key : Apply brakes and slow down
  • A Key : Lean backward (essential for backflips)
  • D Key : Lean forward (crucial for front flips and landings)
  • V Key : Execute free hand trick
  • B Key : Perform Superman stunt

Two-Player Mode

When playing with a friend, the second player uses arrow keys and different stunt buttons:

  • Arrow Keys : Control movement and leaning
  • O Key : Free hand trick for Player 2
  • P Key : Superman trick for Player 2

This dual control scheme allows both players to enjoy the full stunt experience simultaneously without control conflicts.

Why Play Crazy MX

Perfect for All Skill Levels

Whether you're new to motorbike games or a seasoned racing veteran, Crazy MX offers:

  • Easy Learning Curve : Simple controls that anyone can pick up quickly
  • Challenging Mastery : Advanced techniques that take time to perfect
  • Progressive Difficulty : Tracks that gradually increase in complexity

Social Gaming Experience

The local multiplayer mode makes Crazy MX perfect for: - Friend Challenges : Compete head-to-head with buddies - Family Gaming : Safe, appropriate content for all ages - Party Entertainment : Quick matches that keep everyone engaged

Instant Entertainment

With no downloads, registrations, or payments required, Crazy MX provides immediate access to high-quality motorbike stunt action. The game's optimization ensures smooth performance across different devices and browsers.

Authentic Motocross Feel

Despite being a browser game, Crazy MX captures the authentic excitement of motocross racing with realistic physics, responsive controls, and satisfying stunt mechanics that make every successful trick feel rewarding.

Frequently Asked Questions (FAQ)