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

Overhaul Project Settings page #10282

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tetrapod00
Copy link
Contributor

Closes #10234.

  • Add screenshots for the project settings.
  • Document reading and writing settings, both from code and the editor.
  • Document manually editing project.godot.
  • Note that most settings are changed in different classes at runtime.

This page is still a bit barebones for my taste, and it doesn't yet document project settings overrides. That's work for future PRs.

- Add screenshots
- Document reading and writing settings
- Document manually editing project.godot
- Note that most settings are changed in different
classes at runtime
@tetrapod00 tetrapod00 added enhancement area:manual Issues and PRs related to the Manual/Tutorials section of the documentation cherrypick:4.3 topic:editor Related to editor features or workflows labels Nov 18, 2024
.. code-tab:: gdscript GDScript

ProjectSettings.set_setting("application/run/max_fps", 60)
ProjectSettings.set_setting("display/window/size/mode", DisplayServer.WINDOW_MODE_WINDOWED)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the set of example project settings used throughout the page, I picked these two because:

  • I know them reasonably well
  • They both need runtime duplicates, in different classes
  • They have different types (int and enum) which is mildly instructive especially for the C# examples
  • They are reasonably common

I'm open to suggestions for alternate project settings to use as examples. We can also add a third example if there is a good string example to use.

:ref:`RenderingServer <class_RenderingServer>`,
:ref:`Viewport <class_Viewport>`, or :ref:`Window <class_Window>` classes. In the
:ref:`ProjectSettings <class_ProjectSettings>` class reference, settings
links to their equivalent runtime property or method.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was originally "each project setting links to its runtime equivalent" but that's not true until #9944 is done...

@tetrapod00 tetrapod00 mentioned this pull request Nov 20, 2024
17 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:manual Issues and PRs related to the Manual/Tutorials section of the documentation cherrypick:4.3 enhancement topic:editor Related to editor features or workflows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update and expand Project Settings page
1 participant