For loading the world by each player's fog rather than a fixed 900 m. keep_near_test: a zone round one corner brings in its tile, a bigger one its neighbours, an edge nudged back and forth twenty times changes nothing, and a zone moved 2 km away lets them all go. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 lines
513 B
Text
13 lines
513 B
Text
# ludic.nav - a navmesh per kind of walker (a person, a large animal, a small one): built from
|
|
# triangles and the cylinders nothing stands in, or loaded from the bytes a bake saved; asked for
|
|
# the nearest walkable point, a path as corners, and whether a straight line stays walkable.
|
|
module ludic_nav uses ludic_base
|
|
numbers float
|
|
import "ludic.base"
|
|
import "native.ludic"
|
|
import "state.ludic"
|
|
import "build.ludic"
|
|
import "query.ludic"
|
|
import "crowd.ludic"
|
|
import "resident.ludic"
|
|
import "resident_count.ludic"
|