Tricks - Motorcycle Racing Game

Seele01-Flash
By
Tricks is an exciting 3D motorcycle racing game that combines high-speed racing with spectacular stunts. Race against 5 opponents while performing flips, jumps, and combos to become the ultimate Tricks champion.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Tricks: Voxel Motocross Racer**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Create a vibrant **Voxel / Low-Poly aesthetic** (similar to Crossy Road or Minecraft). Characters should be blocky with distinct geometric heads and limbs. * **Color Palette:** High saturation and contrast. Use bright orange for the dirt track, vibrant reds/blues for racer outfits to distinguish the player from opponents, and a blurred, colorful background representing a stadium crowd. * **Key Models:** * **The Bike:** A blocky dirt bike model. * **The Rider:** A stylized voxel rider. The player is Red; AI opponents are Blue/Green. * **The Track:** A procedural or pre-defined wavy terrain (hills and ramps) made of orange voxel blocks. * **Particles & Effects:** * Square brown "mud" particles emitting from the rear wheel when on the ground. * A "bloom" effect on the bike headlight. * Speed lines or wind streaks when the bike is moving at high speed. * **Optimization:** Use `InstancedMesh` for repeating environment blocks. Keep geometry simple (low vertex count) to ensure 60FPS on mobile browsers. Use simple Vertex Colors instead of heavy textures. ### 2. Audio Requirements * **BGM:** High-energy, arcade-style **Pop-Punk or Electro-Rock** track. Fast tempo (140+ BPM) to encourage speed. * **Sound Effects (SFX):** * **Engine:** A looping, high-pitched 2-stroke engine sound that rises in pitch with speed. * **Jump:** A "whoosh" sound when launching off a ramp. * **Flip:** A wind shear sound while rotating in the air. * **Landing:** A heavy "thud" for a good landing; a comical "crunch" for a crash. * **Bonus:** A "cha-ching" or arcade chime when a flip is successfully completed. ### 3. Gameplay Loop * **Core Mechanic:** Side-scrolling physics racing (2.5D perspective). The camera follows the player from the side but with a slight 3D angle. * **The "Tricks" System:** The core loop is **Risk vs. Reward**. * **On Ground:** Holding input accelerates the bike forward. * **In Air:** Holding input causes the bike to perform a **Backflip**. * **Landing:** The player must release the input at the right moment to land wheels-down. * **Boost/Bonus:** Successfully landing a flip gives a momentary speed boost (Nitro) and fills a "Tricks Meter." * **Opponents:** Simple AI bots that race alongside the player. They should occasionally crash or fail jumps to make the race dynamic. * **Win/Loss:** The goal is to finish 1st. Landing on the rider's head causes a "Wipeout" (respawn with a 2-second delay). ### 4. Mobile Controls & Interaction * **Control Scheme:** **One-Touch Gameplay** (Portrait or Landscape, but preferably Landscape for racing visibility). * **Touch & Hold Screen:** Accelerate (Ground) / Backflip (Air). * **Release Screen:** Coast (Ground) / Stop Rotating (Air). * **UI Layout:** * Top Left: Position Indicator (e.g., "1st / 6"). * Top Center: Progress Bar (Start to Finish line). * Top Right: Pause Button (minimum 44x44px touch target). * **Feedback:** * **Haptic Feedback:** Trigger a short vibration (using `navigator.vibrate`) upon crashing or landing a perfect flip. * **Visual Feedback:** Shake the camera slightly upon landing heavy jumps. Flash the screen edges white when a boost is activated. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Tricks is a vibrant and action-packed 3D motorcycle racing game that brings together the thrill of competitive racing with the excitement of performing spectacular stunts. This colorful motocross adventure challenges you to not only cross the finish line first but to do so while pulling off the most impressive tricks and flips possible.

Featuring a unique blocky art style reminiscent of popular voxel games, Tricks offers an accessible yet challenging racing experience that appeals to players of all skill levels. The game's bright, cheerful graphics create an inviting atmosphere while the competitive gameplay keeps you coming back for more.

Core Features

Competitive Multiplayer Racing

Race against 5 skilled AI opponents in intense motocross competitions. Each race is a battle for supremacy where speed alone isn't enough – you'll need to master the art of performing tricks to gain the competitive edge.

Spectacular Stunt System

The game's highlight is its comprehensive trick system that rewards creativity and skill: - Sick Jumps : Launch your bike high into the air over massive ramps - Perfect Flips : Execute flawless rotations for maximum points - Combo System : Chain multiple tricks together for exponential score bonuses - Perfect Landings : Stick your landings to maintain momentum and earn extra points

Daily Challenges

Keep the excitement fresh with daily challenges that offer new objectives and rewards. These rotating challenges ensure there's always something new to master and prevent the gameplay from becoming repetitive.

Colorful 3D Graphics

Enjoy smooth, vibrant 3D visuals with a distinctive blocky art style that makes every race visually appealing. The game runs smoothly in web browsers without requiring high-end hardware.

Game Mechanics

Racing Strategy

Success in Tricks requires balancing speed with style. While reaching the finish line first is important, the bonus points from performing tricks can often make the difference between victory and defeat. Smart players learn when to focus on speed and when to take risks for spectacular aerial maneuvers.

Scoring System

Points are awarded for: - Race position (1st place bonus) - Individual tricks performed - Combo multipliers - Perfect landing bonuses - Daily challenge completion

Operation Guide

The game features intuitive one-button controls that make it easy for anyone to jump in and start racing:

  • Spacebar : This single key controls both acceleration and trick performance. Tap to accelerate your motorcycle, and use it strategically during jumps to perform flips and rotations
  • Timing : Master the timing of your spacebar presses to execute perfect tricks and maintain optimal speed
  • Mouse : Navigate menus and select options

The simple control scheme means you can focus on perfecting your racing lines and trick timing rather than struggling with complex button combinations.

Why Play This Game

Perfect for Quick Gaming Sessions

Tricks is ideal for players looking for exciting, bite-sized gaming experiences. Each race can be completed in just a few minutes, making it perfect for breaks, commutes, or whenever you need a quick adrenaline rush.

Skill Development

The game offers genuine skill progression as you learn to master the timing of jumps, develop racing strategies, and perfect your trick combinations. The satisfaction of nailing a perfect combo or achieving a new high score keeps players engaged.

Accessible Yet Challenging

While anyone can pick up and play Tricks thanks to its simple controls, mastering the game requires practice and skill. This perfect balance makes it suitable for casual players while still offering depth for more dedicated gamers.

Free Browser Gaming

Enjoy the full Tricks experience completely free in your web browser. No downloads, installations, or payments required – just pure motorcycle racing fun at your fingertips.

Cross-Platform Compatibility

Play on any device with a modern web browser, whether you're on a desktop computer, laptop, tablet, or smartphone. Your progress and skills transfer seamlessly between devices.

Frequently Asked Questions (FAQ)