this post was submitted on 07 Aug 2024
124 points (96.3% liked)

Games

34109 readers
1012 users here now

Welcome to the largest gaming community on Lemmy! Discussion for all kinds of games. Video games, tabletop games, card games etc.

Weekly Threads:

What Are You Playing?

The Weekly Discussion Topic

Rules:

  1. Submissions have to be related to games

  2. No bigotry or harassment, be civil

  3. No excessive self-promotion

  4. Stay on-topic; no memes, funny videos, giveaways, reposts, or low-effort posts

  5. Mark Spoilers and NSFW

  6. No linking to piracy

More information about the community rules can be found here.

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 9 points 6 months ago (2 children)

I'm not a game dev, so I am asking naively this: why is networking code for games not standardized?

It's crazy to me that so many companies develop their own netcode instead of pooling resources to create a library once and for all for netcode.

It is a non-trivial thing to develop, so everyone would gain from having a framework and library ready to use that works well and can be implemented into any game.

In the end, the information exchange is done between the client and the server and the application layer can have any packets it needs.

[โ€“] MurrayL 7 points 6 months ago

There are prebuilt solutions in some common engines, and companies like Multiplay that will help with development and hosting, but ultimately it depends on the specific needs of each game.

What works well for one project might be overkill for another, so studios have to spend a lot of time figuring out their needs and building something bespoke for it.

load more comments (1 replies)