Skip to content

v0.2.0 — LAN Multiplayer

Latest

Choose a tag to compare

@tornikegomareli tornikegomareli released this 03 Apr 22:57
· 1 commit to master since this release
6a95f9f

What's New

LAN Multiplayer

Peer-to-peer lockstep networking over UDP. Two players on the same LAN can play co-op or deathmatch.

# Machine A
./macdoom -net 1 192.168.1.20

# Machine B
./macdoom -net 2 192.168.1.10

# Deathmatch
./macdoom -net 1 192.168.1.20 -deathmatch

Same-machine testing with -port/-port2:

Terminal 1: ./macdoom -net 1 127.0.0.1 -port 5029 -port2 5030
Terminal 2: ./macdoom -net 2 127.0.0.1 -port 5030 -port2 5029

Disconnect Handling

If a peer disconnects (process killed, network drop), the remaining player continues solo after 5 seconds instead of freezing. Graceful quit via ESC sends an immediate disconnect notification.

Input Fixes

  • Arrow keys and trackpad in the ESC menu no longer move the character
  • Cursor is free and visible when menu is open, grabbed during gameplay
  • Mouse delta consumed correctly to prevent movement jumps on menu close

What's Changed

New Contributors

Full Changelog: v0.1.0...v0.2.0