multiplayer architecture and networking choices
Designing games with multiplayer architecture early avoids extensive refactoring, with Purrnet favored over Netcode for GameObjects for prediction workflows.
- Developing multiplayer architecture first prevents having to strip out singleton patterns like Player.Instance when refactoring later
- Client-side prediction helps separate visuals from game logic and can make multiplayer development feel closer to single-player workflow
- For cooperative PvE gameplay, hit detection can be delegated directly to the client instead of using shot prediction
- Standard Netcode for GameObjects was criticized for poor bandwidth scaling, tick rate limits, and strict RPC naming conventions
- Purrnet is free with additional features under a twenty-dollar tier, serving as an accessible alternative networking framework


