Networking Multiplayer Support
It took some time, but I finally figured out how to fix the terrible delay that occurred when data was processed in a server/client architecture. A noticeable one second delay occurred when a client attempted to move a Blupi. Now, this problem is fixed, and Blupi responds instantaneously. This was very hard for me to figure out, but the solution, as always, was a simple one. The source of the delay was from UDP packets being sent in a queue-like fashion. This queue resulted in up-to-date data having to wait for old data to be received by the clients. The solution was to simply delete all other packet data as soon as the first packet is received.
Thank God this finally works! :D
As always, any changes will be made available in code on github: https://github.com/Happy-Flappy/Blupi-Empire/blob/main/network.h
Get Blupi Empire
Blupi Empire
Planet Blupi And Speedy Eggbert merge together for a multiplayer battle!
Status | In development |
Author | Fishleteer |
Genre | Strategy |
Tags | blupi, blupi-empire, eggbert, Fangame, planet-blupi, speedy-eggbert |
Languages | English |
More posts
- Added Bombs!33 days ago
- GUI Where Players Join Together55 days ago
- Levels From Host To Clients63 days ago
- Level User Script71 days ago
- Boats71 days ago
- Drastically Optimized Water Calculations72 days ago
- Many Eggberts86 days ago
- Sine Wave Water86 days ago
- Animation System86 days ago
Leave a comment
Log in with itch.io to leave a comment.