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

The console window should be able to be an independant OS window. #23

Closed
Ark2000 opened this issue Nov 27, 2022 · 4 comments
Closed

The console window should be able to be an independant OS window. #23

Ark2000 opened this issue Nov 27, 2022 · 4 comments
Assignees
Labels
Feature✨ New feature or request
Milestone

Comments

@Ark2000
Copy link
Owner

Ark2000 commented Nov 27, 2022

Multi windows is a notable new feature of Godot 4 that we can utilize.

Just like this: https://www.youtube.com/watch?v=iKoYbtw4gC0&t=249s

If we have multiple screens, the console window then will not occupy the precious space of the game screen.

@Ark2000 Ark2000 added the Feature✨ New feature or request label Nov 27, 2022
@Ark2000 Ark2000 self-assigned this Jan 3, 2023
@Ark2000
Copy link
Owner Author

Ark2000 commented Feb 9, 2023

This will be implemented when the Godot 4 docs is ready.

@Tsotsi
Copy link

Tsotsi commented Feb 16, 2023

it would be a cool feature

@Ark2000 Ark2000 added this to the v1.4 milestone Feb 16, 2023
@Ark2000
Copy link
Owner Author

Ark2000 commented Feb 25, 2023

20230225_215234.mp4

Experimenting with multiwindows. I'm using get_viewport().gui_embed_subwindows = false to create os window.

The problem is: this behavior will affect user's project setting if they are also using window nodes.

I'm wondering if there are better ways to handle with multiwindows.

@Ark2000
Copy link
Owner Author

Ark2000 commented Feb 27, 2023

1

add two new options, if you enable this, a third button will appear on the top right corner of a window.

2

By clicking that button, the embedded window will be transformed into an os window.

3

if you close the os window, it will sit back to its original position.

Ark2000 added a commit that referenced this issue Feb 27, 2023
refers to: #23

Signed-off-by: k2kra <ark2000@foxmail.com>
@Ark2000 Ark2000 closed this as completed Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature✨ New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants