Language Selection

English French German Italian Portuguese Spanish

Godot Engine - Multiplayer in Godot 4.0: Scene Replication (part 1)

Filed under
Development
Gaming

It's finally time for the long-awaited post about the new multiplayer replication system that is being developed for Godot 4.0. Below, we will introduce the concepts around which it was designed, the currently implemented prototype, and planned changes to make it more powerful and user-friendly.

Design goals

Making multiplayer games has historically been a complex task, requiring ad-hoc optimizations and game-specific solutions. Still, two main concepts are almost ubiquitous in multiplayer games: some form of messaging, and some form of state replication (synchronization and reconciliation).

While Godot does provide a system for messaging (i.e. RPC), it does not provide a common system for replication.

In this sense, we had quite a few #networking meetings in August 2021 to design a replication API that could be used for the common cases, while being extensible via plugins or custom code.

Read more

Godot 4.0 Progressing On Its Multiplayer Capabilities

  • Godot 4.0 Progressing On Its Multiplayer Capabilities

    In addition to Vulkan support and a lot of graphics renderer work happening for Godot 4.0, adding to the expansive feature list is improved multi-player capabilities.

    A prototype implementation of Godot multi-player scene replication support is ready and more functionality is being worked on as part of Godot 4.0. Godot to date has provided RPC-based messaging for multi-player games but hasn't itself provided a common mechanism around scene/state replication. With this new code being worked on, there is now an out-of-the-box solution and should be extensible for use by different games while being easy to use on the part of the game developers.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

More in Tux Machines

6 Reasons to Pick Linux Over Windows

Almost all students do their work on laptops and PCs that run on Windows. Of course, some of you are lucky enough to afford something that runs on Apple’s macOS. While Windows is a popular OS, it’s far from being perfect. Few students are even aware that their PCs and laptops can run on various operating systems.

One of the alternatives students often overlook is Linux. Many believe that this OS is hard to manage. That’s why they prefer to either buy or, in some cases, pirate Microsoft’s creation unless it comes pre-installed on the device, of course.

It’s true that Linux is harder to install than its counterpart. But it has a lot more to offer than meets the eye. So, what exactly sets it apart?

Read more

today's leftovers

  • Planet Incinerating Technology | LINUX Unplugged 441

    We make some last-minute changes to our server setup and catch up on a bunch of thought-provoking feedback. Special Guests: Martin Wimpress and Neal Gompa.

  • GNU World Order 443
  • LibreSSL update

    Undeadly reached out to Theo asking whether he would share with readers an explanation of the changes. He kindly responded: [...]

  • Early Days at Bell Labs

    It's Brian Kernighan discussing the formation of Unix, starting from the back story of the creation of Bell Labs, including predecessors CTSS and Multics, and C predecessors BCPL which was modified to become B, and why Dennis Richie added types to B to make C.

    This video really hits its stride when Kernighan discusses piping and redirection, and the ease of creating wonderful things out of small parts that, and Kernighan used these words, "do one thing and do it well."

What Distribution and Version Pulled You into Linux?

I recently watched a video posted by my good friend (and former Linux Journal colleague) Shawn Powers introducing viewers to Linux and Linux distributions. And it got me thinking about my own personal experience and when I first started to dabble in the world of open source operating systems.

Read
more

The best Linux distributions for 2022

The year 2022 is upon us! That means it’s time to choose a new Linux distribution. Here’s a list of the best Linux distributions for 2022 that will help you not get lost in the variety of versions of your favorite operating system. Read more