Skip to content
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

Support for multiple screens (Split scenes / gdscript) #9059

Closed
ivanskodje opened this issue Jun 5, 2017 · 17 comments
Closed

Support for multiple screens (Split scenes / gdscript) #9059

ivanskodje opened this issue Jun 5, 2017 · 17 comments

Comments

@ivanskodje
Copy link
Contributor

Operating system or device - Godot version:
2.1.3

I have tried to search for this, but have not been able to find this issue (I do not see why it wouldn't already be an existing issue!)

What is preventing us from adding support for using multiple windows with different monitors?

Use case example:
I would like to be able to split up my Node and GDScript windows - or have multiple GDScripts up at the same time on each screen.

I really hope this have been posted previously, and I just couldn't figure out the search terms. :)

@toger5
Copy link
Contributor

toger5 commented Jun 5, 2017

This is a really big task. the whole editor design is made with a single screen application in min.
Having script windows open is hard. Docks in a second window might work though. But there still need to be multi window support.
If it is executable it would be amazing though!!!
Because right now godot on multiple screens only makes sense when using vscode or atom as the text editor... But it also should work with just godot..

@eon-s
Copy link
Contributor

eon-s commented Jun 5, 2017

To have multiple scripts opened could be with a split script window too, no need to complicate things making new windows to render content (I wonder if this could be possible with scenes too).


Right now you can have separate running game with live script and scene sync which is a lot (and really useful), and the use of external editors may be more common on 3 with Native scripts.

And you could always open many Godot windows on the same project (just be sure to not work on the same files 🙃 ).

@ivanskodje
Copy link
Contributor Author

The reason I am not running multiple instances of Godot:
There is a bug when running multiple Godot Engine instances with the same project.
After doing some work, save it - and close both windows, It ends up undoing all node changes (it does save gd scripts however).

Granted it has been a while since I tested this - perhaps it no longer is an issue.

@sftblw
Copy link

sftblw commented Jun 20, 2017

I think issue #8250 is somehow related to this (at least partially), because If you can dock window freely, you can split editor to two or more arrangement. And aditionally as a reference, Visual Studio has a nice integration of both (docking and splitting). In VS, dragging out window without docking means splitting that to pop-uped window.

And as a extra use-case, It could be great If I can see script editor and internal help document viewer at same time.

@bojidar-bg
Copy link
Contributor

@sftblw It is related, though not necessary for implementing that other issue in any way.

@LexiEmory
Copy link

i would love to have support for this kind of thing, but i can't imagine it being easy to add.

@mhilbrunner
Copy link
Member

mhilbrunner commented Apr 16, 2018

This would be a huge time saver. Currently, the workflow when dealing with instanced scenes (the very core feature of Godot), this becomes frustrating quickly:

  • Switch to scene A, change setting
  • Switch to scene B where scene A is instanced, verify the look of your changes
  • Switch back to scene A
  • Repeat ad nauseam

I really would love to ble able to edit two scenes in two windows, side-by-side, on different displays.
This would basically double my work speed on this.

This is even more painful with 3D. For 2D, you can mostly do because it's easier to reason about two dimensions and the context/environment doesn't have as much influence on how something looks.

For 3D, you absolutely need to see your scene in-context in the scenes it's going to be used in, as lighting and the environment has such a big influence on the final look.

@sonobianca
Copy link

I have a project in mind where multiple screen support would be useful. A PnP rpg emulator where the dungeon master have the main screen on, let’s say, a laptop screen and an interactive map is displayed on a tv monitor for the players along with their stats, etc.

@tebz
Copy link

tebz commented Apr 28, 2018

What about a separate application where you can get "a copy" of the output, debugger, inspector, ...
The original can then be hidden, like if you pressed CTRL+SKIFT+F11, and we can get some multi monitor support.

@romeojulietthotel
Copy link
Contributor

+1 for a split screen for the .gd editor so I can look and edit two parts of the same file. This is a standard feature in many editors. If it's already possible, I could not figure it out.

@philipov
Copy link

philipov commented Jan 26, 2019

+1, It's difficult not being able to have the 3d viewport open on one monitor while I edit scripts in another. I can't see changes immediately and it's annoying to to have to keep switching tabs.

@nhold
Copy link
Contributor

nhold commented Jun 19, 2019

It would be nice to discuss what is required for this and potentially split into specific smaller bits of issues?

  • Add support for multiple windows (If there isn't already) for backends within the same 'Godot' context.
    • Create new render context on the fly for new window
    • Need communication of events to\from windows
    • Need ability to know if platform supports it (I.e Android, iOS won't support it)
  • Make Controls inside of TabContainers draggable into nothing.
    • Creating a new window via the multiple window support?
    • Adding a TabContainer inside that new window as the default node and the control under that
    • Parse events from the same godot context
  • Change 2d\3d\script\asset lib to be in a tab container like inspector\node

@zohozer
Copy link

zohozer commented Jun 22, 2019

I also need to have the option to split windows in multiple monitors. Such a handy feature.

@zohozer
Copy link

zohozer commented Jun 22, 2019

It would be nice to discuss what is required for this and potentially split into specific smaller bits of issues?

  • Add support for multiple windows (If there isn't already) for backends within the same 'Godot' context.

    • Create new render context on the fly for new window
    • Need communication of events to\from windows
    • Need ability to know if platform supports it (I.e Android, iOS won't support it)
  • Make Controls inside of TabContainers draggable into nothing.

    • Creating a new window via the multiple window support?
    • Adding a TabContainer inside that new window as the default node and the control under that
    • Parse events from the same godot context
  • Change 2d\3d\script\asset lib to be in a tab container like inspector\node

Blender can be a good example of how this feature shoul work. There you can create/destroy windows as you wish. You can split and arrange the interface freely to best suit your needs and save the changes as presets that can be even shared using .blend files

@dmitrymatveev
Copy link

dmitrymatveev commented Feb 3, 2020

does not have to be multiple screen support since that I imagine would be prohibitively large task to undertake

would settle down for split view in script editor

@henriquelalves
Copy link
Contributor

Script Editor quality-of-life improvements and multiple screen support are very different problems tho, I don't see how they relate even if only changing the Script Editor is easier effort-wise.

One of the problems I see with splitting windows is refreshing a Scene View when a change occurs in another screen in an interdependent scene (e.g. a child node). Recently I had problems in Godot when working together in a team at the same time using git; even when changing different scenes, the safest way to merge changes in the project would be to quit the project, commit / merge, than reload the project, so any change would take effect and the editor would not override anything, as it doesn't look like it refreshes script / scene changes when those are done outside the editor itself.

@Calinou
Copy link
Member

Calinou commented Feb 6, 2020

I'll close this in favor of godotengine/godot-proposals#28, as feature proposals are now tracked on the Godot Proposals repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests