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

Change the default value of editors/2d/constrain_editor_view to false #6894

Closed
Ark2000 opened this issue May 16, 2023 · 1 comment
Closed

Comments

@Ark2000
Copy link

Ark2000 commented May 16, 2023

Describe the project you are working on

A simple platformer game in Godot 4.0.2

Describe the problem or limitation you are having in your project

default.mp4

Currently when zooming in and out in the 2D editor, the view becomes unstable and jumpy, providing a poor user experience. This makes precise editing and placement of nodes difficult and frustrating.

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

The proposal is to disable constrain_editor_view by default in the 2D editor. This will make the view focus stay the same when zooming, providing a smooth zooming experience. This enhances the usability of the 2D editor and improves the overall user experience of Godot.

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

image

Simply set constrain_editor_view to false by default in the 2D editor. This can be implemented by modifying the following line:

_initial_set("editors/2d/constrain_editor_view", false);

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

While this can be workaround by users manually disabling constrain_editor_view, many users may not realize this option exists and will continue suffering from the poor experience. As an editor tool, providing a smooth user experience should be the priority.

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

Improving the editor user experience is critical to Godot's success as an open source game engine. An unfavorable editor experience can negatively impact users' impression of Godot and hinder its adoption. As a simple fix that significantly enhances usability, this proposal should be implemented as a core improvement to the engine.

In summary, this proposal aims to greatly improve the 2D editing experience in Godot by providing smooth view zooming. As an easy implementation with big impact, it should be adopted as a core improvement to enhance Godot's editor usability and overall user experience. Please let me know if you have any other questions or require any clarification.

@Ark2000 Ark2000 changed the title Smooth editor zooming experience without jumpy focus. Better editor zooming experience without jumpy focus. May 16, 2023
@Ark2000 Ark2000 changed the title Better editor zooming experience without jumpy focus. Better 2D editor zooming experience without jumpy jagged focus. May 16, 2023
@Ark2000 Ark2000 changed the title Better 2D editor zooming experience without jumpy jagged focus. Change the default value of editors/2d/constrain_editor_view to false May 16, 2023
Ark2000 added a commit to Ark2000/godot that referenced this issue May 16, 2023
@YuriSizov
Copy link
Contributor

godotengine/godot#47628 completely removed the constraint, solving the underlying problem.

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

3 participants