Tutorial
Co-op multiplayer setup
Here is what to do so a second player can join your heist, whether the two of you are on the same Wi-Fi or in different houses.
The game
TOTALLY AN ADULT is a stealth heist for two players, made in Godot 4. Both of you fit inside one trench coat, and the levels so far are a bank, a DMV and a snack heist.
- LEGS holds WASD to walk, and only sees the world as white outlines.
- HEAD & HANDS looks with the mouse, grabs with LMB/RMB, eats and drinks with E, and throws with G.
Same Wi-Fi
- The host presses HOST CO-OP.
- The lobby shows a 6-character room code, and the host reads it out.
- The other player types that code into the join box and joins.
Nothing needs forwarding for this. There is also nothing to install. Room codes only reach machines on the same network.
Different networks (the internet)
When the two of you are on different networks, the host's lobby prints two addresses on one line, like LAN 192.168.1.7:7777 · PUBLIC 84.12.34.56:7777. Send the other player the PUBLIC one, since the LAN address only works inside the host's own network. They paste it into the join box and join.
If that line says
open UDP 7777 (or a tunnel host) in place of an address, the router would not open the port on its own. Forward
UDP 7777 to the host machine by hand, or run a free UDP tunnel (
playit.gg) on the host and share whatever name and port it gives you. The join box takes host names like
abc.playit.gg:12345 as well as plain addresses.
Who is who
The player with WASD is the LEGS. They walk, and they carry the coat through the level. The player with the mouse is HEAD & HANDS, and does the looking, the grabbing and the eating.
Both players press READY before a match starts. To play again or change level, both press ACCEPT on the same card.
Troubleshooting
- Bad address: there is a typo in it. It has to look like 192.168.1.5, 192.168.1.5:7777, abc.playit.gg:12345 or local.
- Connecting… that never stops: the address is wrong, or the host's port is closed.
- No host found on your network: room codes only work on the same network, so ask the host for the PUBLIC address.
- Could not open port 7777: another copy of the game already has the port. Close it and host again.
- Co-op is one host and one guest. Three players do not fit in one lobby.