claudeandClaude Opus 5.5 4111a285f0 N3: Client prediction, reconciliation and interpolation
The client's side of a networked match, in src/net/:

- ClientGame takes the server's notices and snapshots, generates the island
  from the seed and answers with commands. It works on packets, so it runs
  over a NetClient or a test's simulated link.
- ClientClock decides which tick the next command is for, from the server's
  echo of the newest command tick it has received, holding three commands
  waiting at the server.
- ClientPrediction runs each command on a copy of the client's own player
  with the server's movement code, and compares every snapshot with what it
  predicted. A difference is replayed from the server's state and eased in.
- SnapshotInterpolator draws everyone else four ticks in the past, between
  snapshots, on a clock steered gently by arrivals.

Snapshots now carry the client's own block: exact position and velocity,
the water around the player, stamina and state flags, so a prediction can
match the server to the bit. The command echo is now the newest tick
received rather than taken. Protocol version 2.

Snapshots go out every second tick. The interval was three ticks, which is
10 a second, not the 20 the documents claimed; 15 a second is the nearest
even spacing and what interpolation is tuned for.

Drop.ride() holds the barge ride for the server and the client alike, and
NetGame's joining, input and snapshot steps can be called without a socket.

Measured in test/net/test_prediction_link.gd over a simulated link with
100 ms each way, 20 ms jitter and 2% loss: no corrections to own movement
in about 1,400 snapshots per client, and the other player drawn 0.4 mm on
average from where a perfect link would draw them.

Closes #34

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 11:30:00 -05:00
2026-11-09 17:12:59 -05:00
2026-11-09 05:25:00 +00:00

Tidewall (working name)

A free and open-source third-person battle royale for Linux, made with Godot.

Up to 24 players or bots drop onto a procedurally generated island. Scavenge, fight and build. The sea rises in phases and swallows the low ground, so the last safe land keeps getting higher and smaller, and what you build can keep you above water.

Status: in development. See the milestones and issues. v1.0.0 is targeted for 2026-11-16.

Originality

Tidewall works in the build-and-survive battle royale genre, but it is its own game. Its name, characters, art, audio, world and UI are all original. It contains no assets, names or designs from any commercial game.

Licence

Code: GPL-3.0-or-later. Original art and audio: CC BY-SA 4.0.

S
Description
Tidewall: a free and open-source third-person build-and-survive battle royale for Linux, made with Godot. The sea is rising; build high or drown.
Readme GPL-3.0
5.4 MiB
Languages
GDScript 93.6%
Shell 3.2%
Python 1.5%
GDShader 0.7%
Makefile 0.5%
Other 0.5%