Blog
Multiplayer2 min read

How to save a shared co-op world and each player’s progress

Keep the same co-op room for returning friends while each player keeps their own unlocks. Use a door and a lantern to check both saves.

Imagine that two friends repair a gate together and only one earns a lantern. Tomorrow either friend should be able to enter the same room and walk through the repaired gate. Only the friend who earned the lantern should be able to equip it, even when visiting another room.

That gives you two decisions for every item you save. Who should see it when they return, and where should it follow them?

In this gameWhere it belongsWhat players should see
The repaired gate and the contents of a shared chestThe persistent WorldEither friend finds the same gate and chest when returning to that World.
A lantern unlocked permanently by one playerThat player’s progressThe owner keeps the unlock across Worlds. Their friend has their own unlocks.
The animation of the gate swinging openThe current sceneReturning players see the gate in its saved position without replaying the repair.

Give the group a way back to its room

Use a private persistent World if the same friends should return to their shared place. Give the menu a Return to our World action for an existing group. If every visit creates a fresh World, a successful save can still look lost. Summer can wake a sleeping World and restore it before admitting players. Persistent Worlds guide

Ask your agent to implement one small example first:

Remember which private World this group plays in. Save whether its gate has been repaired. Save a permanent lantern unlock for the player who earns it. When a player returns, restore the gate before they enter and load that player’s own unlocks. Show a retry message if progress cannot be loaded so an empty inventory is never saved over the real one.

Have the server record the repair and award the unlock when the action succeeds. Save World changes regularly while players are there. For player progress, save after a change and when the player leaves. Player progress guide

Check the saves in a different order

  1. Have Jo and Sam enter the same World. Repair the gate together and give the lantern to Jo only.
  2. Let both leave. Have Sam return to that World first. The gate should already be open and Sam should have no lantern.
  3. Bring Jo back. The gate should still be open and Jo should have the lantern.
  4. Have Jo enter a fresh World. Its gate should be closed, and Jo should still be able to equip the lantern.

If everything resets together, check which World the return action selected. If everyone gets a lantern, check whether the game loaded a shared unlock instead of the joining player’s progress.

Local Play keeps each test player’s progress in local files. Its World saves live in memory and a new run starts with an empty World. Use the hosted game to check that both friends can leave and later wake the same saved room. World save testing · Get both friends into the game

  • Multiplayer
  • Co-op
  • Game saves