ludic/packages/ludic.nav/index.ludic
Orkuncakilkaya 93e5cb391e nav: nav_tiles_keep_near - a file-backed mesh's tiles kept by a distance the game answers (its players' zones, ludic.zones' zones_nearest): in within pad of it, out only past pad + hyst; the tile counters in resident_count.ludic
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>
2026-09-29 15:43:22 +03:00

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"