openstellaris-vault/pages/tick system.md

8 lines
571 B
Markdown
Raw Normal View History

2023-05-20 07:26:34 +00:00
tags:: architecture
- continuous??
- there are discrete "snapshots" of time, and any point in time between 2 snapshots can be computed purely based on the previous snapshot and the elapsed time
- the timestamp of the next tick should also be able to be determined based on the previous snapshot, or by interrupts by user events
- this allows clients to interpolate the current state based on their "view" of the previous snapshot
- account for clock drift between clients / network jitter? -Sctoor
- #references {{video https://www.youtube.com/watch?v=GqhhFl5zgA0}}