I'm reading though this project to try to learn how to use multiplayer in Godot:
https://github.com/pleyland/Websocket-Multiplayer-Demo-Godot-4.0

This project has the strange property that when it's run three different copies of the same Main window open at the same time. This is useful for demonstrating the client/server cod and I'd like to copy it in my own program. However, I cannot figure out how it is being done. There is nothing in the Main.gd _ready method that launches extra windows - in fact, the windows are created before _ready is even called. I can't find any setting in the Godot project file that is doing it either. How is this project able to launch multiple windows when it starts?

  • xyz replied to this.
  • kitfox It's a project setting. You can change it from the main menu in Debug/Run Multiple Instances or by manually editingrun_debug_instances in .godot/project_metadata.cfg

    kitfox It's a project setting. You can change it from the main menu in Debug/Run Multiple Instances or by manually editingrun_debug_instances in .godot/project_metadata.cfg