All the level is generated randomly to make infinite number of levels to reduce the work for a level designer.

Mechanism

There are 3 parts in the mechanism.
  1. Player movement.
  2. Find the Closest Road.
  3. Find the spot or PickUp the passengers

Level Generation

The level is manually placed with the cars, and you can edit every level using the scene called Level Generator. You then save the ScriptableObject to use it in the game scene.

AI

The AI is used to calculate the remaining cars. If there are 5 or fewer, the AI is launched, making the cars move at the same time and automatically refilling them

Scroll to Top