Adrenaline Challenge - Dirt Bike Racing Game

Seele01-Flash
By
Adrenaline Challenge is an exciting dirt bike racing game that tests your motorcycle skills through challenging tracks and stunts. Experience non-stop thrills with simple controls and addictive gameplay.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Adrenaline Challenge". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 2.5D Side-Scrolling Physics Game. Use a "Toon Shaded" or "Cel-shaded" aesthetic to mimic the original Flash game vector art style. * **Camera:** Orthographic camera (or narrow FOV Perspective) fixed to the side view, strictly following the player's horizontal movement. * **Player Character:** A low-poly compound model representing a Dirt Bike and a Rider. * **Color Palette:** Rider must be in a bright **Red** suit/helmet. Bike chassis should be Red/Black. * **Physics Model:** The bike requires a chassis and two wheels connected by simulated suspension (spring constraints). The rider acts as a weighted mass on top to affect center of gravity. * **Terrain:** A continuous track with "Green" ground (simple flat color material) and varying elevations (hills, ramps, pits). The background should be a static or parallax scrolling "Blue Sky with White Clouds". * **Performance:** Use `BoxGeometry` and `CylinderGeometry` primitives for the bike/terrain to keep draw calls low for mobile. Avoid complex textures; use `MeshStandardMaterial` with simple colors. ### 2. Audio Requirements * **BGM:** A high-energy, looping **Punk-Rock / Pop-Punk** track (synthesized or placeholder reference) to match the "Adrenaline" theme. * **Sound Effects:** * **Engine:** A continuous looping sound that increases in pitch based on the bike's velocity. * **Jump/Land:** A "thud" sound and suspension squeak when wheels hit the ground after airtime. * **Crash:** A comedic "bone crunch" or "metal clank" when the rider hits their head. * **Collect:** A bright "Ding" for picking up adrenaline orbs (optional). ### 3. Gameplay Loop * **Core Mechanic:** Physics-based balancing. The player must accelerate to move forward but must rotate the bike (tilt forward/backward) while in the air to land on wheels. * **Physics Engine:** Integrate **Cannon.js** (or enable a simple custom verlet integration) to handle wheel friction, gravity, and collision detection. * **Lose Condition:** If the **Rider's Head** (top collider) touches the ground, the bike explodes or the level instantly resets (Ragdoll effect preferred if possible). * **Win Condition:** Reach the checkered flag at the end of the obstacle course. * **Obstacles:** Steep ramps, loops, gaps that require speed to jump over, and jagged rocks. ### 4. Mobile Controls & Interaction * **Orientation:** **Landscape Mode** only. Force the canvas to resize to `window.innerWidth` x `window.innerHeight`. * **Touch Controls (UI Overlay):** * Create a translucent HTML/CSS UI layer over the canvas. * **Left Thumb:** Two large arrow buttons (Left/Right) for **Tilting** the bike mid-air (Rotation). * **Right Thumb:** Two large circular buttons. One for **Gas (Accelerate)**, one for **Brake/Reverse**. * **Touch Logic:** Support Multi-touch (e.g., holding Gas while Tilting). Use `touchstart` and `touchend` events, preventing default browser behaviors (like scroll/zoom). * **Feedback:** Trigger `navigator.vibrate(50)` on hard landings or crashes to provide haptic feedback. * **Restart:** A prominent "Retry" button appearing immediately upon crashing. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Adrenaline Challenge is a high-octane dirt bike racing game designed to get your heart pumping and adrenaline flowing. This sports-focused motorsport experience puts you in control of a powerful dirt bike as you navigate through challenging terrain, perform death-defying stunts, and race against time. With its simple yet engaging gameplay mechanics, this game offers endless entertainment for racing enthusiasts of all skill levels.

The game features a classic side-scrolling perspective that gives you full control over your bike's movement and balance. Whether you're a seasoned gamer or new to dirt bike games, the intuitive controls make it easy to jump in and start racing immediately.

Core Features

Thrilling Dirt Bike Action

Experience the rush of high-speed motorcycle racing with realistic physics that challenge your balancing and timing skills. Every jump, landing, and turn requires precision and quick reflexes.

Simple Yet Engaging Controls

The game uses straightforward arrow key controls that are easy to learn but difficult to master. This accessibility makes it perfect for quick gaming sessions during breaks or extended play periods.

Challenging Track Design

Each level presents unique obstacles, jumps, and terrain variations that will test your dirt bike handling abilities. From steep hills to massive gaps, every track offers a new challenge.

Instant Restart Action

As the description hints, "the dirt bike challenges never stop coming" - you can immediately restart and try again whenever you crash, maintaining the fast-paced, addictive gameplay flow.

Free Browser Gaming

Play completely free without any downloads or installations required. The game runs smoothly in any modern web browser, making it accessible on both desktop computers and mobile devices.

Gameplay Mechanics

The core gameplay revolves around maintaining balance while navigating your dirt bike through increasingly difficult terrain. You'll need to master the art of accelerating at the right moments, braking before dangerous obstacles, and using precise tilting to land jumps successfully.

The physics engine responds realistically to your inputs, meaning that every acceleration, brake, and tilt affects your bike's trajectory and balance. This creates an authentic dirt bike riding experience that rewards skill development and practice.

Game Controls

Movement Controls: - Up Arrow Key : Accelerate/Gas - Push forward to gain speed - Down Arrow Key : Brake/Reverse - Slow down or move backward - Left Arrow Key : Tilt Left - Lean backward to adjust landing angle - Right Arrow Key : Tilt Right - Lean forward to control bike orientation

Mastering these controls is essential for successful gameplay. The tilting mechanism is particularly important for landing jumps safely and maintaining balance on steep terrain.

Why Play Adrenaline Challenge

This dirt bike game stands out for several reasons:

Instant Accessibility : No downloads, no registration - just click and play immediately in your browser.

Skill-Based Progression : The game rewards practice and skill development, making each successful run feel earned and satisfying.

Quick Gaming Sessions : Perfect for short breaks or longer gaming sessions, with the ability to restart instantly after crashes.

Universal Appeal : Whether you're into motorsports or just enjoy challenging arcade games, the simple controls and engaging gameplay make it accessible to everyone.

Stress Relief : The combination of concentration required and adrenaline-pumping action makes it an excellent way to unwind and focus your mind.

The game's tagline about restarting your "adrenal gland" perfectly captures the excitement and energy that players experience. Each successful jump and completed track provides a genuine sense of accomplishment and rush that keeps you coming back for more challenges.

Frequently Asked Questions (FAQ)