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
- Levels From Host To Clients1 day ago
- Level User Script9 days ago
- Boats9 days ago
- Drastically Optimized Water Calculations10 days ago
- Many Eggberts24 days ago
- Sine Wave Water24 days ago
- Animation System24 days ago
- Angles Derived From Pixels24 days ago
Leave a comment
Log in with itch.io to leave a comment.