News for hackers. Stuff that matters.
Re:Show HN: Ambient, a multiplayer game engine and platform ... by xeonmc on Wednesday October 04, 2023 @12:06PM (#37767208)
It takes a full network RTT to the server before your mouse input actually updates the client camera.
Re:Show HN: Ambient, a multiplayer game engine and platform ... by FredrikNoren on Wednesday October 04, 2023 @12:18PM (#37767382)
Yeah, it's part of the problem, but that would normally only give you ~60 - 100 ms lag (at least if you're on a decent connection, close-ish to the server). But we're experiencing another bug where WebTransport doesn't get a chance to send/receive data when the framerate is < 60fps (because the thread is starved), which makes it much worse than that. We're aware of it and working on it. This is the core issue: https://github.com/w3c/webtransport/issues/543
Re:Show HN: Ambient, a multiplayer game engine and platform ... by xeonmc on Wednesday October 04, 2023 @12:27PM (#37767534)
> but that would normally only give you ~60 - 100 ms lag

60 ms is already borderline even for conscious discernment of transactional state changes.

For self locomotion feedback that is a huge value. And for proprioceptive signals like mouse input it is absolutely astronomical.

Re:Show HN: Ambient, a multiplayer game engine and platform ... by FredrikNoren on Wednesday October 04, 2023 @12:44PM (#37767869)
Oh yeah, absolutely agree, we're not stopping at 60 ms. Client side prediction is planned (see Philpax answer https://news.ycombinator.com/item?id=37767359 and our netcode roadmap: https://github.com/AmbientRun/Ambient/issues/671).
Re:Show HN: Ambient, a multiplayer game engine and platform ... by xeonmc on Wednesday October 04, 2023 @12:47PM (#37767911)
This is IMO a pretty good reference example for making a framework-based solution that can be reused by non-coders:

https://www.youtube.com/watch?v=5jP0z7Atww4