Can you play the public demo with friends?
The Windows Steam demo supports one player. There is no co-op lobby, invite option or PvP in this build.
Two players in co-op, with room for an invader
The full game is designed for you and one ally. A third player can join by invading your session as an enemy. Three friends can’t form a co-op party.
How friends joined the November preview
In the November 24 creator preview, the players used the same co-op password. The joining player opened Multiplayer → General, used Co-op password, then Join Co-op.

Only the joining player’s menu was visible. The final release invitation flow, cross-store matching and how co-op progress carries over are still unconfirmed.
