Repository navigation
API Interface NetworkTime
Defined in: src/engine/net/time.ts:6
Network time (ADR 0033): ticks and round-trip time on Worlds joined by a transport. Read it as
Time.network, this.time.network or ctx.time.network. Kept up to date by the World's network
session (session.ts), which explains how clients estimate the server's tick.
readonly interpolationFraction: number;Defined in: src/engine/net/time.ts:14
0..1 progress between interpolationTick and the next tick.
readonly interpolationTick: number;Defined in: src/engine/net/time.ts:12
Clients: the tick remote objects are drawn at, behind the latest snapshot by the interpolation buffer. Servers: tick.
readonly rtt: number;Defined in: src/engine/net/time.ts:16
Clients: smoothed round-trip time in milliseconds. Servers: 0 (per-connection RTT is on each Connection).
readonly serverTick: number;Defined in: src/engine/net/time.ts:10
Clients: the server tick being predicted (ahead of the server by about RTT/2 plus the command slack, so inputs arrive in time). Servers: tick.
readonly tick: number;Defined in: src/engine/net/time.ts:8
This World's simulation tick: fixed steps since it started simulating the networked game.
readonly tickRate: number;Defined in: src/engine/net/time.ts:18
Fixed simulation ticks per second, shared by client and server.
This wiki is generated from docs/wiki/ and the myco module's source on every push to master. Change pages there in a pull request: edits made here are not kept.
Basics
Gameplay
Rendering
Audio
- Playing sound
- Why is there no sound?
- Playlists
- Interactive music
- Sound generators
- Spatial audio
- Audio mixer
- Live mixing
- Loudness
- Audio profiler
- Audio takes
Reference