ludic.zones: a player's radius never past no fog's 900 m
A 1 km fog gave a 1040 m zone, more of the world than no fog's 900 m (2405 MB and 1029 nav tiles against 2294 MB and 753 in the fog profile). zones_radius is min(max(fog + 40, 150), 900); the test holds 1 km and 860 m at 900. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b2550ca58a
commit
509b5ef111
3 changed files with 7 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# ludic.zones
|
||||
|
||||
Where a world is simulated: a disc per player - `(x, z, r)`, `r = zones_radius(fog)`, that is the
|
||||
fog distance plus 40 m and never under 150 m, 900 m with no fog - and the discs that overlap merged
|
||||
fog distance plus 40 m, never under 150 m nor over 900 m, and 900 m with no fog - and the discs that overlap merged
|
||||
into clusters with a bounding circle. Uses `ludic.base` and nothing else.
|
||||
|
||||
- `zones_set(pid, x, z, r)`, `zones_clear(pid)`, `zones_reset()`; `zones_merge()` once a frame
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue