Skip to content

Basic proof-of-concept of Godot 4 networking / multiplayer features. Utilizing the MultiplayerSpawner and MultiplayerSynchronizer nodes/classes.

Notifications You must be signed in to change notification settings

pjburnhill/Godot-4-Networking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Godot-4-Networking

Basic Networking Starter for Godot 4

Very basic 2D Platformer utilizing MultiplayerSpawners (spawning level and players) and MultiplayerSynchronizers (synchronizing id, position and inputs)

Basics included

  • uPNP port forwarding
  • Server setup
  • Level load
  • Spawn players
  • Synchronize state (basic)

Synchronization

  • Sync player:player_id (at spawn) and player:position

  • Sync input direction (float)

  • Use rpc local call for jump

  • Move players (local & puppet) based on synchronized input

Future improvements

References

About

Basic proof-of-concept of Godot 4 networking / multiplayer features. Utilizing the MultiplayerSpawner and MultiplayerSynchronizer nodes/classes.

Topics

Resources

Stars

Watchers

Forks