Hugo Locurcio
8a263cb63f
Fix Code order section saying it's the first section in GDScript style guide
...
It's not the first section of the page anymore.
2024-10-04 03:56:01 +02:00
Hugo Locurcio
697ddf54b0
Fix outdated reference to register_class function in GDExtension C++ example
...
This was replaced by the `GDREGISTER_CLASS` macro in Godot 4.0.
2024-10-04 03:55:54 +02:00
tetrapod00
f7e8509a17
Improve sidebar navigation by removing headers
...
- Ensure most pages are reachable through the sidebar, by removing headers on pages that are mostly indexes.
- This also means that some pages now have navigable headers again.
2024-10-04 03:55:12 +02:00
Lukas Tenbrink
9acbb3ad61
Fix kbd description in gdextension docs system.
2024-10-04 03:54:53 +02:00
Junwan Park
0a5fc87ffb
Fix builtin_types link in tutorial gdscript_basics page
...
It's linked to a wrong position.
2024-10-04 03:54:19 +02:00
tetrapod00
bd0da40feb
Add documentation for GDScript when statement
2024-10-04 03:53:42 +02:00
Hugo Locurcio
14c1e6f0ab
Fix incorrect setup instructions in The profiler
2024-10-04 03:52:01 +02:00
Hugo Locurcio
5f13e67349
Document PackedVector4Array
...
This type was added in Godot 4.3.
2024-10-04 03:51:42 +02:00
Hugo Locurcio
8e2be506e0
Fix incorrect statement in node_type being case-insensitive in Creating script templates
...
On case-sensitive filesystems, the case must match the actual node name,
so the folder will most likely need to use uppercase characters in its name
(e.g. `MeshInstance3D`).
2024-10-04 03:51:25 +02:00
Hugo Locurcio
1e81218d42
Fix ADD_PROPERTY() calls in GDExtension C++ example to use correct syntax
...
This matches how properties are declared in core Godot.
2024-10-04 03:50:56 +02:00
gachipan
9de6082171
Remove confusing end of sentence from the_profiler.rst documentation
...
Cut off the end of a sentence that doesn't make sense:
"You can also start profiling at any time before or during gameplay, depending on if you want."
It seems like removing the "depending on if you want." improves clarity of the documentation.
2024-10-04 03:47:37 +02:00
RedStainedInk
dfdb5bcd2c
Removed outdated information about Mono SDK beeing necessary
...
Mono SDK isn't necessary any more for Godot .NET to work properly on Linux. All functionality that was needed from Mono back then is now provided by .NET proper.
I fear Mono SDK might even cause some conflict with up-to-date .NET.
2024-10-04 03:46:28 +02:00
Matthew
542a8a4a82
Merge pull request #9773 from darkstarworks/master
...
Update 07.killing_player.rst
2024-10-04 03:44:36 +02:00
Hana - Piralein
0f3fabbb5a
Update codespell path and fix spelling errors
2024-10-04 03:44:22 +02:00
Kongfa Waroros
050c9b94a9
Update certain example code snippets to use the new syntax
2024-10-04 03:41:25 +02:00
bruvzg
c14a6216e8
[GDExtension] Add missing iOS instructions and build/config example code.
2024-10-04 03:40:48 +02:00
Raul Santos
47327606b0
C#: Remove references to GODOT_SERVER and GODOT_HTML5 defines
...
- The `GODOT_SERVER` preprocessor define is no longer available in Godot 4, since the dedicated server platform was removed.
- Replaced a reference to `GODOT_HTML5` with `GODOT_WEB` since that platform was also renamed in Godot 4.
- Remove note about `<DefineConstants>` that only really applies to Godot 3.
2024-10-04 03:40:36 +02:00
Patrick Exner
d29c88d0a0
Fix project structure diagram in gdextension docs system docs
2024-10-04 03:40:08 +02:00
DDoop and Max Hilbrunner
e9035f7cf0
Add warnings for classes named "Editor" in GDscript and C# pages, class_name keyword/global class attribute ( #9548 )
...
* Added warning about Editor hiding class_names beginning with Editor prefix
---------
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com >
2024-08-14 19:42:36 +02:00
Balázs Kalydi
91717ff234
Update GDExtension tutorial with the hot reload feature ( #9618 )
...
Although the tutorial assumed the hot reload feature, it wasn't enabled in the example config file. Also it didn't mention that it only works if it's compiled in debug mode.
2024-08-14 19:31:17 +02:00
Patrick Exner (FlameLizard) and Max Hilbrunner
b21addcf51
Add page about gdextension docs generation ( #9667 )
...
* Adding page about gdextension docs generation
---------
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com >
2024-08-14 19:27:31 +02:00
skyace65
f15784d14b
Add info in instancing for opening the demo project
2024-08-11 22:45:27 -04:00
Max Hilbrunner
083f7589b9
Merge pull request #9708 from thejacer87/patch-1
...
Update gdscript_styleguide.rst
2024-08-06 05:58:39 +02:00
Jace Bennest
d71c24c699
Update gdscript_styleguide.rst
...
fixes typo
2024-08-04 10:48:19 -07:00
Tristan A.
a2d29557ed
CSharp example missing return type
2024-08-02 22:34:28 +02:00
Muller-Castro
a36ff907f9
Add typed loop variable example in GDScript reference ( #9388 )
2024-08-02 02:30:20 +02:00
A Thousand Ships
0c9eaf14c3
Merge pull request #9644 from Incognito357/Incognito357-update-docs-change_scenes_manually
...
Update change_scenes_manually.rst
2024-07-30 07:32:08 -09:00
8d1bff6aea
Document behavior of modulo operator ( #9358 )
...
Different languages and contexts have different default behaviors for modulo
where one or both operands are negative. "The remainder of an integer division"
is underspecified. As such, clarification is in order.
Co-authored-by: Aaron Franke <arnfranke@yahoo.com >
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro >
2024-07-30 07:38:27 +02:00
Jason
6ffdb2ff0d
Update change_scenes_manually.rst
...
Rewrote to use active voice. Reworded some sections for grammar, clarity, or removal of banned words
2024-07-23 22:29:12 -04:00
Riyyi and A Thousand Ships
f001dcf2d8
Update alignment
...
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com >
2024-07-21 17:02:00 +00:00
Riyyi
700b8bda73
Update "Autoload" navigation to match 4.3 menu
...
The "Project Settings" menu was restructured in 4.3, reflect this in the navigation instructions.
2024-07-21 16:00:16 +00:00
Patrick Exner
8b37b3c86e
Add more precise information about library paths
2024-07-02 22:59:04 +02:00
Max Hilbrunner
ea6b9dadf2
Merge pull request #9569 from paddy-exe/dependencies-gdextension-file
...
Add dependency section to gdextension file docs
2024-07-02 17:52:38 +02:00
Patrick Exner
2877a27633
Add dependency section to gdextension file docs
2024-07-01 18:55:41 +02:00
Danil Alexeev
67be15e905
GDScript: Update lambda documentation
2024-06-29 14:51:46 +03:00
3e2a8f6f7c
Update outdated annotation and setget syntax
...
Co-Authored-By: PoolloverNathan <24194027+PoolloverNathan@users.noreply.github.com >
Co-Authored-By: Solor Vox <1246172+solorvox@users.noreply.github.com >
2024-06-27 22:13:37 +02:00
Max Hilbrunner
64164955e8
Merge pull request #9383 from paddy-exe/gdextension-file-quick-reference
...
Add documentation about .gdextension file
2024-06-23 10:13:53 +02:00
Hakunamawatta
eb14a4adae
Typo in gdscript_basics.rst
2024-06-19 22:32:32 +10:00
Matthew
ef1bcf2d8b
Merge pull request #9470 from sourcespectrum/master
...
Update C++ example to use version 4.2
2024-06-17 17:55:03 -04:00
Matthew
bf8c53b765
Merge pull request #9461 from Dowsley/updated-groups-tutorial
...
Update groups tutorial for project-wide node groups
2024-06-16 08:52:34 -04:00
Nathan T.A. Lewis and A Thousand Ships
0d58b5ad55
Fix typo
...
Co-authored-by: A Thousand Ships (she/her) <96648715+AThousandShips@users.noreply.github.com >
2024-06-15 11:11:51 -06:00
Nathan T.A. Lewis
2075def75e
Abstract the minor verison number where possible
...
To ease the maintenance burden in the future, we are abstracting the minor version number to avoid the number of doc updates required.
2024-06-15 09:41:17 -06:00
Nathan T.A. Lewis
42cb5ef1ff
Revert compatibility_minimum change
...
Since 4.2 is still compatible with 4.1, the minimum compatibility can remain 4.1.
2024-06-07 20:07:15 -06:00
Nathan T.A. Lewis
63adb26de9
Update C++ example to use version 4.2
2024-06-07 11:00:03 -06:00
J. F. Dowsley
6f0b105858
Update groups tutorial for project-wide node groups
2024-06-07 11:21:04 -03:00
A Thousand Ships
36e2351df2
Fix invalid indentation in various files
2024-06-06 16:16:45 +02:00
Matthew
194685b65d
Merge pull request #9407 from ceejbro/patch-1
...
Remove Note from Constants
2024-06-04 21:20:34 -04:00
Patrick Exner
7695474656
Add documentation about .gdextension file
...
Update tutorials/scripting/gdextension/gdextension_file.rst
2024-06-04 12:54:19 +02:00
Hugo Locurcio
71cdbdd055
Tweak guidelines on dictionary and enum formatting in GDScript style guide
...
- Recommend writing each enum item on its own line, similar to C++.
- Recommend using spaces around inline dictionary declarations
to make them easier to distinguish from arrays (due to similar-looking
`[]` and `{}` characters in most fonts). This is commonly found
in Python or JavaScript style guides.
2024-05-29 17:52:29 +02:00
Kitzu
d884e3ef07
Correction on usage of Dictionaries in C# as it should be 'Godot.Collections.Dictionary<>'
2024-05-28 21:20:26 +02:00