597d6dde2d
- Move _clock.set_time(0.) inside the 'if not server' block in NetworkTimeSynchronizer.start() so the server's SystemClock isn't reset to zero — fixes -1.78 billion second offset panic on client - Skip spawning peer 1's avatar on clients (the server replicates all avatars; spawning peer 1 locally creates a duplicate that the dedicated server doesn't have)
netfox
The core addon of netfox, providing responsive multiplayer features for the Godot Engine.
Features
- ⏲️ Synchronized time
- Runs game logic at a fixed, configurable tickrate
- Time synchronized to game host
- 🧈 State interpolation
- Render 24fps tickrate at buttery smooth 60fps or more
- Add a
TickInterpolatornode and it just works
- 💨 Lag compensation with CSP
- Implement responsive player motion with little to no extra code
- Just use the
RollbackSynchronizernode for state synchronization
Install
See the root README.
Usage
See the docs.
License
netfox is under the MIT license.
Issues
In case of any issues, comments, or questions, please feel free to open an issue!