Commit Graph

742 Commits

Author SHA1 Message Date
Max Hilbrunner
2d792b4aa8 Merge pull request #9872 from AThousandShips/enum_doc_improve
[GDScript] Clarify initialization of enum values
2024-09-02 00:00:12 +02:00
gachipan
a2c22b4a3f 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-08-31 13:51:54 -07:00
A Thousand Ships
0686612e82 [GDScript] Clarify initialization of enum values 2024-08-31 14:41:33 +02:00
Max Hilbrunner
ff66473d3d Merge pull request #9787 from tetrapod00/gdscript-when
Document GDScript "when" and clarify pattern guard docs
2024-08-29 21:38:01 +02:00
tetrapod00
443d5e9be5 Add documentation for GDScript when statement 2024-08-26 09:39:41 -07:00
Hana - Piralein
82292025d9 Update codespell path and fix spelling errors 2024-08-26 07:50:50 +02:00
Kongfa Waroros
f27d12979d Update certain example code snippets to use the new syntax 2024-08-23 14:16:54 +07:00
Max Hilbrunner
b6e3e5b2f9 Merge pull request #9790 from bruvzg/gde_ios
[GDExtension] Add missing iOS instructions and build/config example code.
2024-08-21 13:53:38 +02:00
Matthew
be8e0d52cc Merge pull request #9773 from darkstarworks/master
Update 07.killing_player.rst
2024-08-20 21:54:57 -04:00
Matthew
f31489be83 Merge pull request #9713 from esainane/dancestors
Fix description of typed resource exports
2024-08-20 21:42:29 -04:00
Matthew
58f0770650 Merge pull request #9791 from MajorGonzo/master
Corrected typo in gdscript_basics.rst
2024-08-20 21:21:32 -04:00
Matthew
ce997a0ec7 Merge pull request #9793 from raulsntos/dotnet/defines
C#: Remove references to `GODOT_SERVER` and `GODOT_HTML5` defines
2024-08-20 21:14:13 -04:00
Raul Santos
c138ee01eb 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-08-20 16:53:10 +02:00
MajorGonzo
1d05bdd9f1 Corrected typo in gdscript_basics.rst
beging -> begin
2024-08-20 08:38:57 -05:00
bruvzg
3414754a36 [GDExtension] Add missing iOS instructions and build/config example code. 2024-08-20 10:59:23 +03:00
Dark Star
4664e7ab19 Updated images to match docs
Fixing issues/9775
2024-08-17 22:16:10 +02:00
Patrick Exner
03f966ab73 Fix project structure diagram in gdextension docs system docs 2024-08-15 19:11:25 +02:00
DDoop
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)
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
Sai Nane
f10b322c27 Fix description of typed resource exports
`AnimationNode`'s inherited classes are `Resource`, `RefCounted`, and `Object`.

I assume it meant to say "derived classes", or something along the lines of
"and all classes which inherit it".
2024-08-06 14:49:08 +00: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
Qwertystop
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
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
Hana - Piralein
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
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