Skip to main content
Discovery icon for GDevelop Discord server

GDevelop

1,986 Online
24,572 Members
general4 people

building P2P multiplayer in GDevelop

Small multiplayer games can run smoothly using GDevelop's built-in P2P networking with packet relaying and host authority.

  • For small co-op lobbies, running enemy AI logic solely on the host computer and syncing positions to clients minimizes networking overhead
  • Clients can store coordinates, state, and animation in a structure variable at 30 ticks per second, convert it to JSON, and relay via the host
  • Basic host-side anti-cheat can verify incoming player coordinates against current positions and kick players whose data is anomalous
  • Sending a full host-authoritative snapshot packet every 3 to 5 seconds overrides client states to prevent gradual desynchronization
  • Small-scale private multiplayer avoids the expensive servers and anti-cheat infrastructure required for competitive MMOs or battle royales
Summarized from recent messages, might be inaccurate

More conversations

general

how Vgen art commissions work

general

transitioning to GDevelop without coding

general

3D raycast vehicle physics offsets

general

game art and physics implementations

Talk, Play, &
Hang Out

Find your space to hang out, discuss the latest updates with the party chat, and see who's down to join your next match.
Get App