code wiki / _hdl_build / nx_netpredict_gate.nx
nx_netpredict_gate.nx
buildroot/runtime/_hdl_build/nx_netpredict_gate.nx
about
nx_netpredict_gate.nx -- proves the prediction+reconciliation core (nx_netpredict): (1) local prediction gives the
player's own position IMMEDIATELY from local inputs (RTT hidden, zero input-to-feedback latency); (2) when the
server agrees, reconciliation replays pending inputs and lands EXACTLY on the predicted position (no rubber-band);
(3) when the server diverges on an event the client couldn't predict, reconciliation converges the client to the
authoritative truth. The warzone "fun realtime, not laggy" feel across a 150ms ocean.
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_gate_emit_lib.nxnx_netpredict.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 10 | func main() -> i64 |