<aside> <img src="/icons/reorder_gray.svg" alt="/icons/reorder_gray.svg" width="40px" />

Navigation

</aside>

🏠 Home Page

Getting Started

Architecture

Level System

Characters & Vehicles

Run Mechanics

World Objects

Boosters & Modifiers

Progression & Economy

UI

Save & Debugging

Modules

Publishing

Reference

💰 Monetization (Ads & IAP)

<aside> 💡 Who is played on a level and how the vehicle moves.

</aside>

A Character defines the vehicle, the run camera and the three upgrades of a level. PlayerController runs the state machine, and a movement behavior created by a VehicleData asset steers the vehicle.

Key ideas

Pages

<aside> 📄 Character Asset A Character is a ScriptableObject that defines who is played on a level: the vehicle prefab, the run camera and the three upgrades. The upgrade progress belongs to the Character.

</aside>

<aside> 📄 Player Controller PlayerController is the state machine of the character. It owns the rigidbody, the ground check, the run end detection and the effects. The vehicle behavior is a separate object, so it can be swapped during the run.

</aside>

<aside> 📄 Vehicle Data & Movement Behaviors A VehicleData asset chooses the movement of a vehicle and its optional visual. The MovementBehavior it creates steers the character. The same system powers the vehicle swap booster.

</aside>

<aside> 📄 Vehicle Visuals & Surface Effects A vehicle visual is a prefab with a VehicleVisualBehavior on its root. The components on the Character prefab add tracks, dust, ride sound and booster effects.

</aside>

<aside> 📄 How to add a new Vehicle A new vehicle needs a movement behavior, a VehicleData asset, a visual prefab, a Character prefab and a Character asset.

</aside>

Character Asset

Player Controller

Vehicle Data & Movement Behaviors

Vehicle Visuals & Surface Effects

How to add a new Vehicle