Skip to content

P2P multiplayer#1

Open
mrq1911 wants to merge 23 commits into
firefly:mainfrom
mrq1911:feat/multiplayer
Open

P2P multiplayer#1
mrq1911 wants to merge 23 commits into
firefly:mainfrom
mrq1911:feat/multiplayer

Conversation

@mrq1911
Copy link
Copy Markdown

@mrq1911 mrq1911 commented May 17, 2026

wifi co-op multiplayer for up to 8 pixies, lockstep over udp.

  • mesh mode (default): peer-to-peer broadcast discovery, no host machine. slot/rng-seed derived deterministically from sorted macs. pixies join/leave at any
    time and the survivors restart cleanly.
  • relay mode: opt-in python udp relay in tools/relay.py for client-isolated networks or diagnostics.
  • player sprites color-translated by slot (green / indigo / brown / red) so you can tell yourselves apart.
  • round-over banner + 10 s auto-restart when last marine standing.

build flag in main/net-config.h (DOOM_NETPLAY_MESH=1/0); wifi creds in gitignored main/wifi-creds.h.

mrq1911 added 23 commits May 10, 2026 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant