Skip to content

Mark embedding play window feature as experimental instead of being the default #11677

Description

@sszigeti

Describe the project you are working on

Generic 2D game, started in 4.2, then migrated to 4.3, and now tested in 4.4 beta 2.

Describe the problem or limitation you are having in your project

A 4K resolution game being developed on a lower resolution (QHD) monitor, where the game attempts to set/restore window settings upon start.

Up until 4.4, starting the game from the editor has opened a separate window, which the game could modify as intended.

Since 4.4 the editor's default setting is an embedded play window, which opens itself in 4K resolution, then does not allow the game to resize (lower) the resolution.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

The embedded play window feature should not be the default, it should be an opt-in feature, or at least the resolution should remain resizable.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Have a checkbox somewhere in the Project Settings, or better yet, a global Godot setting.

If this enhancement will not be used often, can it be worked around with a few lines of script?

A game can check if it's running in the editor, in embedded mode, then it wouldn't attempt to modify the window. However, this still would not address the issue of the 4K resolution being too large to fit on a lower resolution screen.

Is there a reason why this should be core and not an add-on in the asset library?

I assume embedded play window is a core editor feature.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions