@vworlds/vecs 1.0.57-pack-idle-keepalive.66 → 1.0.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/dist/package.json +1 -1
- package/docs/README.md +0 -2
- package/docs/components.md +2 -0
- package/docs/design-guide.md +1 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -73,7 +73,6 @@ registered callbacks and watched components with `system.callbacks` and `system.
|
|
|
73
73
|
For opt-in timings and cadence run counts, see [Measuring systems](./docs/systems.md#measuring-systems).
|
|
74
74
|
|
|
75
75
|
For Node clients that need replicated Phaser poses, see [Headless clients](../vecs-phaser-client/README.md#headless-clients).
|
|
76
|
-
For server keepalive gates and the idle replicated-state clock, see [Replication](../../architecture/REPLICATION.md#pause-idle-sessions-with-a-gate).
|
|
77
76
|
|
|
78
77
|
For physics-driven change processing without extra pose watchers, see the
|
|
79
78
|
[post-step pose-change view](../vecs-physics/docs/queries.md#pose-changes).
|
package/dist/package.json
CHANGED
package/docs/README.md
CHANGED
|
@@ -68,7 +68,5 @@ sessions, and the client world) lives in the `@vworlds/vecs-wire`, `@vworlds/vec
|
|
|
68
68
|
applies it in, and how a reused entity id stays unambiguous.
|
|
69
69
|
- [Sessions and caller context](../../vecs-server/docs/sessions.md) — per-connection RPC context,
|
|
70
70
|
`closeSession`, and exactly-once teardown.
|
|
71
|
-
- [Idle keepalive gates](../../../architecture/REPLICATION.md#pause-idle-sessions-with-a-gate) —
|
|
72
|
-
query membership, acknowledged content, and the replicated-state render clock.
|
|
73
71
|
- [Client world](../../vecs-client/docs/client-world.md) — replication, render time,
|
|
74
72
|
`invoke`/`listen`, and disposal.
|
package/docs/components.md
CHANGED
|
@@ -92,6 +92,8 @@ an entity and snapshots a new one under the same id is read in a fixed order, wh
|
|
|
92
92
|
tells the two apart (see [State diffs](../../vecs-protocol/docs/state-diffs.md)). A recycled id is
|
|
93
93
|
why a stored id is not a safe link between entities
|
|
94
94
|
(see [Link with edges, not stored ids](./relationships.md#link-with-edges-not-stored-ids)).
|
|
95
|
+
`NetworkWorld` uses the same component → module → entity layout, with `moduleIdCount` controlling
|
|
96
|
+
the size of its module range (100 by default); see [Network world id layout](../../vecs-protocol/docs/network-world.md).
|
|
95
97
|
`world.peekNextEid(poolName)` returns the next id a pool would allocate without reserving it. Id 0
|
|
96
98
|
is reserved.
|
|
97
99
|
|
package/docs/design-guide.md
CHANGED
|
@@ -945,8 +945,7 @@ system after whatever produces the entity/companion.
|
|
|
945
945
|
drifts and streamed while joints, thrust or a tow drive it (a driven body diverges from its
|
|
946
946
|
prediction every step and would cost a baseline of about 27 bytes per step against about 22 for a
|
|
947
947
|
streamed pose update). Toggle it when the state changes, not every frame: each switch costs a
|
|
948
|
-
baseline one way and a pose update the other, and clients blend the hand-off over `blendMs
|
|
949
|
-
of render-loop time, even while the replicated-state `renderFrame` holds. A
|
|
948
|
+
baseline one way and a pose update the other, and clients blend the hand-off over `blendMs`. A
|
|
950
949
|
render pose or `Motion` created or switched late in a frame, in `PRE_STORE`, `ON_STORE` or an RPC
|
|
951
950
|
handler, is still synced from the physics pose before the frame is recorded (see
|
|
952
951
|
[Switching at runtime](../../vecs-phaser-server/README.md#switching-at-runtime)).
|