-
-
Notifications
You must be signed in to change notification settings - Fork 22k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build and play buttons to run multiple instances at once #7008
Comments
Partly related: #6642 (comment)
|
Still reproducible/relevant in 3.1 master 3ad9e47 : can't run multiple instances of a project |
This is quickly becoming an annoyance here as well. The best workaround I can dream up right now is an editor plugin that calls a shell script that handles starting the server and client instances - but this is clunky A feature that I would like is some configuration options for a one-click multiplayer project run. Many of these options exist in other engine editors such as Unreal. -Setting the number of clients to start on project run |
Just had some quick thoughts about it:
Many assumptions of what was thought to be "One" (one instance) may become "Many". I think it would be more natural to get multiple debuggers as processes first (spawnable command line debuggers or multiple editors with automatic port assignment) before we get them to work inside one single editor. Also, multithread debugging would be related, yet different because coming from the same process with shared memory. The only time I saw this was in Visual Studio, where you actually select which thread you are debugging and all the rest follows only that thread, however didnt use it enough to answer all the questions above. Side note, how I did with another engine: I would assume the same could be achieved with Godot, but I am unsure about the overwriting part. One downside of this approach is that engine and tools developers must be aware of this possibility, which is not something many devs realize (there was sometimes plugins generating some random files which did step over each other, making it more difficult to run two editors). |
Has work on this started or is there an ETA on it? I'm also developing a net game and having to relaunce godot over and over is very tedious and annoying |
@Bombfuse As far as I know, nobody is currently working on this. As a workaround, you could write a script (in pretty much any language) to do this. |
Yah I guess I can write a script, would still be an S+ feature imo tho |
@Bombfuse Not really a fix but a workaround, but what I do is that I keep the Project Manager open and from there I can press Run on any project and create the server and as many clients as I need. |
It would be helpful for developing multiplayer games if it was possible to instantly build and run a number of instances of the game at once to see if networking works correctly.
The text was updated successfully, but these errors were encountered: