Add optional host/listen-server mode #4

Open
opened 2026-09-20 12:10:46 +00:00 by admin · 0 comments
Owner

Summary

Add an optional Host/listen-server mode for local 2-client testing.

Subtasks

  • Implement StartAsHost/StartAsClient split — RiveLoginController currently always calls StartClient(). Split into StartAsHost() / StartAsClient() / SetHostname(), binding username via TryBindUsername() first.
  • Wire Rive Host/Client triggers — wire Rive triggers hostClicked -> StartAsHost, startClicked -> StartAsClient, and an optional hostname field -> SetHostname.

Tracked in Obsidian: Projects/NetCode.

## Summary Add an optional Host/listen-server mode for local 2-client testing. ## Subtasks - [ ] Implement StartAsHost/StartAsClient split — `RiveLoginController` currently always calls `StartClient()`. Split into `StartAsHost()` / `StartAsClient()` / `SetHostname()`, binding username via `TryBindUsername()` first. - [ ] Wire Rive Host/Client triggers — wire Rive triggers `hostClicked` -> `StartAsHost`, `startClicked` -> `StartAsClient`, and an optional hostname field -> `SetHostname`. Tracked in Obsidian: Projects/NetCode.
admin added this to the M1 — Cleanup milestone 2026-09-20 12:10:46 +00:00
admin added the priority: medium label 2026-09-20 12:10:46 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/Test-Multiplayer#4