Let me share you a set of addons I have recently released. It’s called netfox and it’s a set of addons built to help you with your online multiplayer games.
- Consistent timing across multiple machines
- Supports client-server architecture
- Smooth motion with easy-to-use interpolation
- Lag compensation with Client-side Prediction and Server-side Reconciliation
- Bullet-proof connectivity with noray integration
netfox is built with online, server-authoritative games in mind, where the server acts as the source of truth, and players only submit their inputs.
This comes at the cost of some input latency, since players have to wait for the server to respond with a new state after the input. To compensate, netfox implements rollback, in the form of RollbackSynchronizer, similar to Godot’s built-in MultiplayerSynchornizer
If you’re just starting, download the netfox addon, and then read the docs to see what the other addons do.
Docs are hosted as a dedicated site on Github pages for each addon, including tutorials to get you started, guides to explain each system on a deeper level, and a few concept docs to explain design decisions.
In addition, the repository contains multiple examples, including a full, open-source game called Forest Brawl, both so you can refer to some game mechanics already implemented, and for myself to ensure that netfox has a pleasant developer experience.
At the time of writing, I am working on an online multiplayer co-op survival game, that is powered by netfox. This means that the addons are used and checked against a bigger project, and any improvements I make during the development are backported to netfox.
In addition, I am regularly setting aside some time to improve netfox, based on the issues submitted.
Overall I’d love to hear your feedback, and I hope that you can build some awesome stuff with it too. I’ve been wanting to build multiplayer games for years, and after a while I’ve decided to just build the tools myself.
Also let me know if you have any questions or if you’re stuck with some netfox feature and I’ll be happy to help as soon as I have some time!