PerthThe worklog
An open-world game, built in the open
Credits & data

Worklog › Design

Decision

Crowds: decisions slow and staggered, execution every tick

A city of pedestrians cannot each think every frame, and does not need to.

The script scheduler has the same rule for its threads, so a designer writes "guards decide four times a second" in one line and each guard lands on a tick of its own.

A design decision with the scheduler behind it built and tested. There are no pedestrians in the game yet.