Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miltoncandelero/networkclockplugin
https://github.com/miltoncandelero/networkclockplugin
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/miltoncandelero/networkclockplugin
- Owner: miltoncandelero
- Created: 2023-10-27T20:10:05.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-30T00:04:16.000Z (about 1 year ago)
- Last Synced: 2024-04-14T07:19:27.615Z (8 months ago)
- Language: C++
- Size: 12.7 MB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Network Clock Plugin
### for Unreal Engine
_based on the research by the amazing [Alvaro Jover-Alvarez](https://vorixo.github.io/devtricks/non-destructive-synced-net-clock/) and the community of [Unreal ~~Slackers~~ Source](https://discord.gg/unrealsource)_![banner](./Screenshots/banner.png)
Network Clock for Unreal Engine is a solution to address time synchronization challenges in multiplayer games. Designed to seamlessly synchronize client time with server time, it eliminates inaccuracies caused by network latency, ensuring a fair and consistent gaming experience for all players.
This plugin improves Unreal Engine's "GetServerWorldTimeSeconds" by actively synchronizing the client clock, compensating for network latency with client-side techniques, and offering customizable settings for precise time synchronization, ensuring a smoother, more responsive multiplayer gaming experience.
## How to use
1. Extend your Player Controller from "Network Clock Player Controller"
(This plugin is bundled into a player controller because we need both Server RPCs and Client RPCs. Player Controller is just the most convinient place to do that.)2. Configure or leave the default values
![step1](./Screenshots/screenshot2.png)
3. Use the Network World Time nodes (or `GetNetworkWorldTime` in cpp) to get the networked time.
![step2](./Screenshots/screenshot1.png)
4. Make the next Fortnite.