perfoon / Multirun

Godot plugin that allows to start multiple game instances at once.
MIT License
66 stars 13 forks source link

pluggin doesnt seem to allow depug output of each new window. #1

Closed pyrotek45 closed 3 years ago

pyrotek45 commented 3 years ago

Is there a way to debug the game as if you started a single window? how would i go about getting debug info when using this plugin?

perfoon commented 3 years ago

I agree that this would be really useful. The best solution would be to run the first game instance regularly (as if F5 were pressed). Unfortunately, I don't know how to do that, maybe someone can help me? There is a virtual method build() in the EditorPlugin node, but this can only be used to capture when the user is starting the game and not start it by itself. Have I missed something or is there an alternative?

perfoon commented 3 years ago

This issue was fixed in the last commit. Essentially the first instance of the game is now started in the Godot editor so it gets the debugging by default.