Racing Empire

Seele01-Flash
By
Racing Empire is an adrenaline-fueled 3D racing game where you build your own racing dynasty. Customize and upgrade cars, compete in multiplayer races, and dominate the track with strategic modifications and high-speed action.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Racing Empire". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Adhere to a "Vibrant Arcade" aesthetic similar to the promotional image. Use **Low-poly 3D models** with flat shading or toon shading (Cel-shading) to ensure high FPS on mobile browsers. Colors should be saturated and high-contrast (bright reds, deep blues, asphalt greys). * **Environment:** Create a looping "City Highway" track. The environment should feature a skybox with a city skyline (Seattle-esque tower silhouette), stylized low-poly skyscrapers in the background (using InstancedMesh for performance), and roadside barriers. * **Car Model:** A sleek, muscle-car style vehicle. It should have separate meshes for wheels to allow for rotation and steering animation. * **Visual Effects:** * **Speed Lines:** Particle system that triggers at high speeds at the edges of the screen. * **Drift Smoke:** Simple particle emitters behind rear wheels when turning sharply. * **Motion Blur:** A subtle post-processing bloom or blur effect to emphasize speed. ### 2. Audio Requirements * **BGM:** High-energy, adrenaline-pumping **Synthwave or Electronic Rock** track that loops seamlessly. * **Sound Effects (SFX):** * **Engine:** A synthesized engine hum that modulates pitch based on the car's current speed/RPM. * **Drift:** A screeching sound triggered when the car enters a drift state. * **Nitro/Boost:** A "whoosh" or jet-engine sound effect when the boost button is pressed. * **UI:** Mechanical "click" sounds for menu interactions and a cash register "cha-ching" sound when earning tokens. ### 3. Gameplay Loop * **State Management:** The game should have two distinct states: **Garage/Hub** and **Race Mode**. * **Garage (The "Empire" aspect):** A UI-heavy view where the camera orbits the car. Display user's "Tokens." Allow players to spend tokens to upgrade "Top Speed" or "Acceleration" or change car color. * **Race Mode:** The core gameplay. The player races against a timer or simple AI bots on the highway track. * **Mechanics:** * **Arcade Physics:** The car should not feel realistic; it should be grippy and fast. Collisions with walls should bounce the player back slightly without stopping them completely. * **Drifting:** Turning while holding a specific threshold should initiate a drift, which slightly charges the "Boost Bar." * **Token System:** Tokens are earned by collecting coins scattered on the track or by completing laps within a specific time. ### 4. Mobile Controls & Interaction * **Orientation:** Force **Landscape Mode**. * **Touch Controls (On-Screen Overlay):** * **Left Side:** Two large buttons (Left Arrow / Right Arrow) for steering. These should be placed in the bottom-left corner, sized at least 64x64px for hit testing. * **Right Side:** * **Gas Pedal:** A large button (bottom-right) for acceleration. * **Brake/Drift:** A smaller button next to the gas. * **Nitro:** A distinctive circular button above the gas pedal, glowing when the boost meter is full. * **Camera Pan:** Touching and dragging the center of the screen allows the player to look around (or pan camera in Garage mode). * **UI Feedback:** * Buttons should scale down slightly or change opacity when pressed to provide visual feedback. * If the device supports `navigator.vibrate`, trigger a short 50ms vibration on collisions or when activating Nitro. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Racing Empire

Racing Empire is the ultimate 3D racing experience that combines high-speed competition with strategic empire building. This free-to-play multiplayer racing game lets you create your own racing dynasty from the ground up, featuring stunning urban environments and intense car customization options. Whether you're drifting through city streets or competing in arena battles, Racing Empire delivers non-stop adrenaline-pumping action.

Core Features

Build Your Racing Dynasty

Start from humble beginnings and work your way up to become the ultimate racing mogul. Earn tokens through victories, complete challenges, and expand your automotive empire with each successful race.

Advanced Car Customization

Transform your vehicles with extensive upgrade and customization options. Modify engines, enhance performance, customize paint jobs, and fine-tune every aspect of your car to gain the competitive edge on the track.

Multiplayer Competition

Race against players from around the world in real-time multiplayer battles. Test your skills in various game modes including drift competitions, speed races, and arena combat scenarios.

Stunning 3D Graphics

Experience breathtaking visuals with detailed car models, dynamic urban environments, and realistic physics that make every race feel authentic and exciting.

Multiple Game Modes

  • Speed Racing : Pure velocity competitions on various tracks
  • Drifting Challenges : Master the art of controlled sliding
  • Arena Battles : Strategic racing in confined spaces
  • Empire Building : Manage your racing business and expand your influence

Gameplay Mechanics

Racing Empire combines traditional racing with strategic elements. Players must balance immediate racing performance with long-term empire development. Success on the track generates resources that can be invested in better cars, upgrades, and business expansion.

Token Economy

Earn tokens through race victories, completing daily challenges, and achieving milestones. Use tokens to purchase new vehicles, unlock customization options, and invest in empire upgrades that provide ongoing benefits.

Car Performance System

Each vehicle has unique stats including speed, acceleration, handling, and durability. Strategic upgrades allow players to specialize their cars for specific race types or create well-rounded performers.

Controls and Interface

The game features intuitive controls designed for both newcomers and racing veterans:

  • WASD keys : Navigate your character and drive vehicles
  • F key : Access the dealership for car purchases and upgrades
  • Mouse buttons : Camera control and UI interaction
  • Space bar : Activate boost for crucial speed advantages
  • Shift key : Run when on foot
  • Number keys (1-5) : Express yourself with dance moves and emotes

The user-friendly interface ensures that both racing action and empire management remain accessible and enjoyable.

Cross-Platform Gaming

Racing Empire offers seamless gameplay across multiple platforms. Whether you prefer the precision of desktop controls, the convenience of mobile gaming, or the flexibility of web browser play, your racing empire travels with you.

Why Play Racing Empire

Racing Empire stands out in the crowded racing game market by combining immediate racing thrills with long-term strategic gameplay. The multiplayer component ensures endless competition, while the empire-building elements provide lasting progression goals. The free-to-play model means anyone can start building their racing dynasty without financial barriers.

For racing enthusiasts who want more than just speed, Racing Empire offers the perfect blend of action, strategy, and social competition. Join millions of players worldwide in the ultimate racing empire experience.

Frequently Asked Questions (FAQ)