Skip to content

Example game with both local and networked multiplayer (multiple players per machine)

License

Notifications You must be signed in to change notification settings

remram44/godot-multiplayer-example

Repository files navigation

Description

This is an example game with both local (splitscreen) and networked multiplayer. It allows multiple machines to play together, with multiple players per machine.

Server

Client

Features

  • Decoupled Character (game entity) from Player (which controls it)
    • Allows characters to be controlled in different ways, e.g. AI. Only the machine on which the player is has the Player object, on other machines the Character is puppeted directly.
  • Multiple control schemes allowing multiple players to use the same keyboard
  • Split-screen (multiple viewports) with cameras attached to Characters
  • Networked multiplayer allowing clients to join servers, control characters there
  • Initial sync allowing clients to join ongoing game and get the existing characters (also clients and players)
  • UI for hosting, connecting, adding/removing local players, kicking clients (if server)

About

Example game with both local and networked multiplayer (multiple players per machine)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published