@vworlds/vecs 1.0.57 → 1.0.58
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 +1 -0
- package/dist/package.json +1 -1
- package/docs/README.md +2 -0
- package/docs/design-guide.md +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -73,6 +73,7 @@ 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).
|
|
76
77
|
|
|
77
78
|
For physics-driven change processing without extra pose watchers, see the
|
|
78
79
|
[post-step pose-change view](../vecs-physics/docs/queries.md#pose-changes).
|
package/dist/package.json
CHANGED
package/docs/README.md
CHANGED
|
@@ -68,5 +68,7 @@ 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.
|
|
71
73
|
- [Client world](../../vecs-client/docs/client-world.md) — replication, render time,
|
|
72
74
|
`invoke`/`listen`, and disposal.
|
package/docs/design-guide.md
CHANGED
|
@@ -945,7 +945,8 @@ 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
|
|
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
|
|
949
950
|
render pose or `Motion` created or switched late in a frame, in `PRE_STORE`, `ON_STORE` or an RPC
|
|
950
951
|
handler, is still synced from the physics pose before the frame is recorded (see
|
|
951
952
|
[Switching at runtime](../../vecs-phaser-server/README.md#switching-at-runtime)).
|