Commit Graph

391 Commits

Author SHA1 Message Date
791565dc35 Merge pull request #112486 from Calinou/doc-globalscope-instance-from-id-fix-code
Fix GDScript code sample for `@GlobalScope.instance_from_id()`
2025-11-10 08:20:20 -06:00
5243016bcd Fix GDScript code sample for @GlobalScope.instance_from_id()
The C# version is already correct.
2025-11-07 00:26:24 +01:00
98bdc37c02 Merge pull request #112066 from KoBeWi/boiler_room_with_arrays_or_something
Improve `PROPERTY_USAGE_ARRAY` description
2025-11-06 08:13:11 -06:00
b71ed0da92 Improve PROPERTY_USAGE_ARRAY description 2025-11-06 15:04:26 +01:00
86bf1d95fc Fix StringName not documented for enum hint 2025-11-03 20:25:56 +08:00
419fc6e22d Make NavigationServer backend engine selectable
Adds engine backend selection for NavigationServers, aka allows to swap navigation module for other backend implementations.
2025-10-30 08:59:06 +01:00
f16ff829f0 Allow to use sliders for integers in EditorSpinSlider 2025-09-22 11:23:15 -03:00
a7ab249a2a Make PROPERTY_HINT_GROUP_ENABLE hide properties by default 2025-06-16 20:03:49 +08:00
0e5b06c26d Fix various errors in the class reference 2025-06-13 21:14:55 +08:00
22702244f8 Merge pull request #105414 from KoBeWi/disable_uid_here
Add `@export_file_path` to export raw paths (no UID)
2025-06-13 01:30:24 +02:00
a7cf2069d5 GDScript: Add abstract methods
Co-authored-by: ryanabx <ryanbrue@hotmail.com>
2025-06-09 20:11:58 +03:00
5404d98d9f Clarify parameters in @GlobalScope.wrap() being inclusive/exclusive 2025-06-06 19:19:26 +02:00
13f642d959 Replace XML codeblock spaces with tabs 2025-06-06 14:35:38 +02:00
617e12a6b4 [Windows] Drop support for Windows 7/8/8.1. 2025-05-30 17:30:23 +03:00
42249bb659 Add @export_file_path to export raw paths (no UID) 2025-05-22 13:25:17 +02:00
1a427d3dec Add feature hint string and "On" text for checkable groups 2025-05-21 14:56:55 -07:00
1c4b660312 Merge pull request #96611 from Dynamic-Pistol/master
Add `PROPERTY_HINT_INPUT_NAME` for use with `@export_custom` to allow using input actions
2025-05-13 16:22:25 -05:00
3b4cf41ea4 Merge pull request #105368 from lodetrick/editor-typed-hint
Add inspector support for typed property hint formats
2025-04-29 11:24:11 -05:00
fc1488ffdb Fix typo in sqrt classref 2025-04-29 15:30:46 +08:00
c8fed1e1d0 Add PROPERTY_HINT_INPUT_NAME
Added PROPERTY_HINT_INPUT_NAME for StringName based off https://github.com/godotengine/godot-proposals/discussions/7559
2025-04-23 22:23:44 +02:00
294303eac9 Add inspector support for typed property hints 2025-04-22 01:26:42 -07:00
ebe9370724 Add enable checkboxes to editor sections
Fixes https://github.com/godotengine/godot-proposals/issues/4173
2025-04-15 13:49:41 -07:00
a0b796218a Improve documentation on is_nan() and NAN constant 2025-04-11 20:25:16 +02:00
49cc57a75d Merge pull request #100926 from abstractionfactory/godot-4.4-dictionary-docs
Add explanation for the `PROPERTY_HINT_DICTIONARY_TYPE` data format
2025-03-12 13:17:16 -05:00
e0370b9596 Bind new core METHOD_FLAG_VIRTUAL_REQUIRED bitfield 2025-02-25 16:46:50 -06:00
0f419898d7 Adding explanation for the PROPERTY_HINT_DICTIONARY_TYPE data format
Signed-off-by: AbstractionFactory <179820029+abstractionfactory@users.noreply.github.com>
Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>
2025-02-16 16:04:37 +01:00
ca4b29b18d Standardize all "Prints" comments in documentation 2024-12-23 21:26:00 +01:00
b97c8b37f6 Merge pull request #98441 from Yelloween10/fix-modifier-mask
Fix incorrect `KEY_MODIFIER_MASK` value
2024-12-23 11:15:17 -06:00
072ff85f82 [.NET] Use collection expressions in docs
As of C# 12 we can now use collection expressions to reduce some boilerplate when initializing collections.
2024-12-21 02:28:59 +01:00
0153cb8c16 Fix incorrect MODIFIER_MASK value
Updated key modifier mask and documented API change

Changed the old value

Changed the old value inside the .expected file

Resolved Conflicts

Moved changes to the end
2024-12-18 02:59:29 +03:00
66b8101cef Merge pull request #95460 from m4gr3d/enable_mouse_forward_back_buttons
Enable `BUTTON_FORWARD` and `BUTTON_BACK` mouse buttons on Android
2024-12-17 22:59:20 +01:00
9c9af038d5 Merge pull request #91060 from dalexeev/code-edit-add-doc-tooltips
Code Editor: Add documentation tooltips
2024-12-16 12:09:45 -06:00
80d11500b5 Code Editor: Add documentation tooltips 2024-12-15 10:51:33 +03:00
6f7525c396 Improve Scene Tree editor performance
We now cache the Node*<>TreeItem* mapping in the SceneTreeEditor. This
allows us to make targeted updates to the Tree used to display the scene
tree in the editor.

Previously on almost all changes to the scene tree the editor would
rebuild the entire widget, causing a large number of deallocations an
allocations. We now carefully manipulate the Tree widget in-situ saving
a large number of these allocations.

In order to know what Nodes need to be updated we add a
editor_state_changed signal to Node, this is a TOOLS_ENABLED,
editor-only signal fired when changes to Node happen that are relevant
to editor state.

We also now make sure that when nodes are moved/renamed we don't check
expensive properties that cannot contain NodePaths. This saves a lot of
time when SceneTreeDock renames a node in a scene with a lot of
MeshInstances. This makes renaming nodes go from ~27 seconds to ~2
seconds on large scenes.

SceneTreeEditor instances will now also not do all of the potentially
expensive update work if they are invisible. This behavior is turned off
by default so it won't affect existing users. This change allows the
editor to only update SceneTreeEditors that actually in view. In
practice this means that for most changes instead of updating 6
SceneTreeEditors we only update 1 instantly, and the others only when
they become visible.

There is definitely more that could be done, but this is already a
massive improvement. In complex scenes we see an improvement of 10x,
things that used to take ~30 seconds now only take 2.

This fixes #83460

I want to thank KoBeWi, TokisanGames, a-johnston, aniel080400 for
their tireless testing. And AeioMuch for their testing and providing a
fix for the hover issue.
2024-12-12 22:47:05 +01:00
473c28b1ad Merge pull request #98118 from bruvzg/escape_colors
Add support for 24-bit color escape sequences, simplify `print_rich` BBCode parsing.
2024-12-09 14:33:25 -06:00
e4ee8a3b32 Merge pull request #99611 from bruno-brant/patch-1
Fix missing sign in ease function curve description
2024-11-29 22:51:06 +01:00
19dd3eda19 Merge pull request #99364 from Mickeon/documentation-global-scope-keys-plus-minus
Rewrite some `@GlobalScope` keys in documentation to use `[code]` tags
2024-11-26 13:04:49 -06:00
e653f19032 Rewrite some @GlobalScope keys in documentation to use [code] tags 2024-11-26 18:42:36 +01:00
84f4178850 Fix missing sign in ease function curve description
The range was broken because -1.0 was informed as being 1.0.
2024-11-23 23:02:14 -03:00
37305e40bc Merge pull request #95711 from TokageItLab/warn-oneshot-prop
Add hint for oneshot property & warning when it will be updated continuously by Force Continuous in `AnimationMixer`
2024-11-22 14:54:30 -06:00
af76a896ef Improve documentation on @GlobalScope.PROPERTY_USAGE_SCRIPT_VARIABLE 2024-11-14 00:05:06 +01:00
eaebb3f864 Fix more miscellaneous oddities around the class reference 2024-11-12 17:44:45 +01:00
761a20f7a7 Add hint for oneshot & warning when it will be updated continuously 2024-11-11 01:12:45 +09:00
360b84bad5 Clarification to the description of Global scope in regards to GDScript
Previous wording said that @GDScript referred to entries that could be accessed in any script. Although with common sense we could imagine that it is only refering to GDScript specific pieces of code, the wording is a little unclear.

In general there are small changes to the wording which makes it more clear and concise.
Wording change

Tried to match the wording up with my last change which should make it a bit easier to parse at a glance what the docs mean by "from any script"

Changed language from "not specific to" to "which work in any language"

After consulting multiple people the new wording seems easier to parse, even for non coders

Update doc/classes/@GlobalScope.xml

Update modules/gdscript/doc_classes/@GDScript.xml

Update modules/gdscript/doc_classes/@GDScript.xml

Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com>
2024-10-23 02:10:03 -04:00
0d7027ea4c Add support for 24-bit color escape sequences, simplify print_rich BBCode parsing. 2024-10-13 22:31:57 +03:00
a6997d37cc Docs: remove duplicate words 2024-09-30 12:21:30 +02:00
85dfd89653 Add @export_tool_button annotation for easily creating inspector buttons
Co-authored-by: jordi <creptthrust@gmail.com>
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
Co-authored-by: Mack <86566939+Macksaur@users.noreply.github.com>
2024-09-27 22:24:15 +01:00
d49ec39d63 [Core] Add Engine.print_to_stout setting to control printing
Also added notes to the related project settings pointing to the
`Engine` properties.
2024-09-22 12:09:01 +02:00
0b4ae20156 Merge pull request #78656 from Repiteo/typed-dictionary
Implement typed dictionaries
2024-09-06 22:38:13 +02:00
4629f7d040 Merge pull request #96496 from aXu-AP/lerp-transform
Add support for Transform2D/3D in `lerp()`
2024-09-05 17:44:11 +02:00