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
- Presentation 412 days ago
- Presentation 374 days ago
- Presentation 296 days ago
- Presentation 1May 30, 2025
- Added Bombs!Mar 22, 2025
- GUI Where Players Join TogetherFeb 28, 2025
- Levels From Host To ClientsFeb 20, 2025
- Level User ScriptFeb 12, 2025
- BoatsFeb 12, 2025
Leave a comment
Log in with itch.io to leave a comment.