3 ms·
Just wanted to add that Unity can be a good candidate for deterministic netcode, but you'd have to look toward their new packages to implement it. Photon Quantu
by pastrami_panda 5y ago
Just wanted to add that Unity can be a good candidate for deterministic netcode, but you'd have to look toward their new packages to implement it. Photon Quantum is a high quality solution for deterministic netcode as an example.
- golergka 5y agoI've built a proof-of-concept Unity lockstep once: https://github.com/golergka/KingOfCastles https://github.com/golergka/KingOfCastles But in real game development, there's too few situations where lockstep fits, as it makes the game pretty slow to react to player's actions. And rollback brings so much complexity to the whole game that it significantly impacts development costs.
- hesdeadjim 5y agoIf I hear the words “make the game multiplayer”, I immediately 3-5x the development cost and difficulty.
- golergka 5y agoOh yes. I was just comparing this to different multiplayer architectures: 3-5x for client-server, easily x10 for rollback.
- hesdeadjim 5y agoDeterminism isn’t implemented (yet, maybe never) in DOTS NetCode. They have a lot bigger fish to fry right now. I built a small game with Quantum a couple years back when I took a “sabbatical” (shipped an indie game didn’t know what to do next). I found it extremely limiting at the time, and despite determinism being the promise, I ran into constant desync issues. Things have probably changed in the last few years, but Photon isn’t a large company and they have limited resources to improve it. YMMV