Edit of asset "Klotho — Deterministic multiplayer for Godot(.NET)" New

Old/Current New/Edit
Title Klotho — Deterministic multiplayer for Godot(.NET)
Description Klotho — Deterministic multiplayer netcode for Godot (.NET)

Engine-agnostic, pure C# deterministic simulation for rollback, lockstep, and
server-authoritative multiplayer. Determinism is built on 32.32 fixed-point math
(FP64) and a seeded RNG: given the same inputs, every peer computes identical
state — so the network sends inputs only and verifies with a hash. Frame-perfect
and cross-platform reproducible.


REQUIRES

- Godot 4.4+ with .NET (mono) support
- A C# (.NET 8) game project


FEATURES

- Netcode: P2P lockstep, rollback + client prediction, server-driven
(authoritative), dedicated server, spectator, late join, reconnect
- Deterministic core: FP64 fixed-point math, vectors / quaternions / matrices,
seeded RNG (Xorshift128+)
- ECS: sparse-set components, zero-GC frame, snapshot + rollback ring buffer
- Deterministic physics: rigid bodies, collisions, CCD, joints, triggers, static BVH
- Deterministic navigation: navmesh + A* + funnel + ORCA avoidance
- Replay: record / playback / seek / variable speed (LZ4 compressed)
- Source generator: serialization + component / command registration
- Godot adapter: Node session driver + view nodes, Resource config assets,
Task-based join helpers, console + rolling-file logging


INSTALL & SETUP

1. Install from the Asset Library (or copy the folder) so that the addon sits at
res://addons/klotho/.

2. Add one line to your game .csproj:

<Import Project="addons/klotho/Klotho.props" />

3. Build the C# solution (dotnet build, or the Godot editor's Build button).
- NuGet deps (Newtonsoft.Json, K4os.Compression.LZ4, LiteNetLib) restore
automatically via Klotho.props.

4. (Optional) Project > Project Settings > Plugins: enable "Klotho" for the
DataAsset JSON -> bytes editor tool. Build the project once before enabling.


DEDICATED SERVER (optional)

The server is a plain .NET 8 console app with no Godot dependency, running the
same core. In a separate server .csproj add:

<Import Project="addons/klotho/Klotho.Server.props" />


LINKS

- Source & docs: https://github.com/xpTURN/Klotho
- Quick start (Godot): Docs/QuickStart.Godot.md
- Install guide (Godot): Docs/Installation.Godot.md
Category Scripts
License Apache-2.0
Repository Provider GitHub Custom
Repository Url https://github.com/xpTURN/Klotho
Issues Url https://github.com/xpTURN/Klotho/issues
Godot version Godot 4.4
Version String 0.2.10 0.2.11
Download Commit 0a312041ef2009a754f2adb75cbf96dbd2dbee35 https://github.com/xpTURN/Klotho/releases/download/v0.2.11c/Klotho-Godot-addons-ffdab6fad0e4202dea688445294b128b80ec5590.zip
Download Url (Computed) https://github.com/xpTURN/Klotho/archive/0a312041ef2009a754f2adb75cbf96dbd2dbee35.zip https://github.com/xpTURN/Klotho/releases/download/v0.2.11c/Klotho-Godot-addons-ffdab6fad0e4202dea688445294b128b80ec5590.zip
Icon Url https://raw.githubusercontent.com/xpTURN/Klotho/main/icon.png