Devlogs
Login

UDP Connections and Smoothing Player Movement | Unity Multiplayer Game Devlog #17

Multiplayer Pirate Game Devlogs EP 1 10/19/19
Login to Follow

In this Unity multiplayer game devlog, I add support for UDP connections and I try smoothing player movement as well as the movement of other objects like ships and cannonballs. It's a little more on the technical side, but the next one should contain more visible progress.

Next devlog: https://youtu.be/DPipj02KYVU
Pirate game playlist: https://www.youtube.com/playlist?list=PLXkn83W0QkfmQI9lUzi--TxJaOFYIN7Q4

⎯⎯⎯⎯⎯⎯

Game-dev series on my blog: https://tomweiland.net/tag/making-a-game-in-unity/

Discord server: https://tomweiland.net/discord
Support me on GitHub Sponsors: https://github.com/sponsors/tom-weiland
Support me on Ko-fi: https://tomweiland.net/kofi
GitHub: https://tomweiland.net/github
Project's Trello board: https://trello.com/b/vJwk0iwS/pirate-game
Website: https://tomweiland.net/

⎯⎯⎯⎯⎯⎯

When building multiplayer games that are fast-paced, such as first person shooters, it's important to smooth out the movement of dynamic objects like players. This makes it possible for the server to send data less frequently, without making movement look choppy.

Lag compensation and server rollback architecture are also vital in reducing discrepancies between what different clients see, which helps minimize occurrences of players thinking they hit another player, when they really didn't. However, I've decided to come back to this topic in the future, as it's quite complex and I really want to implement some real gameplay mechanics first.

#Devlog #GameDev #IndieDev #Multiplayer #Unity3D

"Interplanetary Forest" by Meydän is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/)
Artist: https://soundcloud.com/meydansound

Contributors

Tags