<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> 💡 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>

Subsystems

character-asset.png

Fields

Menu: Create → Watermelon → Progression → Character.

Field Description
Title Name of the character shown on the progression page.
Icon Sprite shown on the progression page.
Prefab The PlayerController prefab. GameController instantiates it under the character container in Awake.
Run Camera RunCameraSettings of this Character.
Launcher Power Upgrade The upgrade of the LauncherPower role.
Vehicle Efficiency Upgrade The upgrade of the VehicleEfficiency role. The field accepts any BaseUpgrade, so each Character can use its own upgrade type with its own stage values, for example WheelUpgrade.
Income Multiplier Upgrade The upgrade of the IncomeMultiplier role.

Run Camera

Field Description
Shoulder Offset Offset of the Cinemachine 3rd Person Follow camera from the camera target.
Camera Distance Distance behind the shoulder point.
Field Of View Base field of view. The speed feedback adds its extra FOV on top.

CameraController.SetRunCamera applies the settings when the run is prepared.

Included characters

Level Character prefab Vehicle
Level 1 Bear Sled Character Sled
Level 2 Car Character Car
Level 3 Wheel Character Wheel
Level 4 Plane Character Airplane

Prefabs are stored in Assets/Project Files/Game/Prefabs/Characters. Character assets are stored in Assets/Project Files/Data/Progression/Level N.

Sharing a Character

Upgrades are saved by the id of the upgrade asset. Two levels that link the same Character asset use the same upgrade assets and share the upgrade progress. A level with its own Character asset and its own upgrade assets has separate progress. See Upgrades.

Progression page

The progression page shows the Icon and the Title of the Character of every level. Fill both fields for a new Character.