Commit Graph
51 Commits
Author SHA1 Message Date
Raul Santos c457ab79ec Update some C# examples
- Rename members that have been renamed in Godot's C# API for 4.0.
- Change `delta` parameter type to `double`.
- Ensure parameters match base declaration.
- Follow our code style more closely.
- Other minor code fixes.
2023-05-18 13:14:05 +02:00
Max HilbrunnerandDoug Thompson 72c0af46b2 Snake-case .tscn, .gd and _on_* callbacks
Co-authored-by: Doug Thompson <s-git@dougthompson.co.uk>
2023-05-18 12:46:58 +02:00
matt08-progandMax Hilbrunner 88e02928f3 rework two funcref code examples (#6542)
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-05-18 11:32:07 +02:00
Max Hilbrunner e13dc5d09a Merge pull request #7299 from Ubiguchi/patch-1 2023-05-15 01:22:09 +02:00
AV77 1426a11449 Fixed minor grammatical error 2023-05-11 14:27:29 +00:00
Mark J. Easton 96d83a01cf Update description of scenes' use of declarative code
Tighten language  mentioning scenes' use of declarative code and scripts use of imperative code.
2023-05-08 12:14:21 +01:00
Peter Anderson 5cbf147988 Fix grammer in logic_preferences.rst (#7173)
* Update logic_preferences.rst
2023-04-18 03:09:30 +02:00
Danil Alexeev 59075ad12f Fix GDScript code style regarding colon (docs) 2023-03-05 16:51:08 +03:00
Yuri Sizov 978a13bb0a Mark potentially outdated pages with a WIP warning 2023-02-26 14:21:15 +01:00
Yuri Sizov c2683480e8 Merge pull request #6696 from Piralein/csharp-refcount
Update and add C# RefCounted example in "Scenes versus Scripts"
2023-02-05 16:11:06 +03:00
Raul SantosandPaul Joannon b319da3f07 Update some C# examples for 4.0 (#6693)
* Update some C# examples

- Rename members that have been renamed in Godot's C# API for 4.0.
- Change `delta` parameter type to `double`.
- Ensure parameters match base declaration.
- Other minor code fixes.

---------

Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
2023-02-04 17:03:03 +01:00
Hana dca106e909 update code examples 2023-01-29 22:06:44 +01:00
BlueStag 135ad68cab Use 4.0 method of connecting to and emitting signals (#6311)
Change docs to use the new method of connecting and emitting signals
2023-01-22 22:01:34 -05:00
Hana 9e90766a92 update c# class examples 2023-01-12 19:38:20 +01:00
Hugo Locurcio 509804650e Update all instances of instance() to instantiate() 2022-11-29 16:59:09 +01:00
Mina Eskandar 20e515aed3 Fixed a grammatical error 2022-11-13 21:29:56 +02:00
Max Hilbrunner 99d3d0be12 Renames / fixes for Godot 4 2022-10-17 00:35:07 +02:00
Max Hilbrunner 6c13f5ba58 More Godot 4 renames and fixes (#6317)
* Move ImmediateGeometry -> ImmediateMesh

* More Godot 3 -> Godot 4 renames
2022-10-15 23:12:48 +02:00
Max Hilbrunner 198393eec7 More Godot 4 rename fixes (#6315)
* Spatial -> 3D, Transform, Quaternion

* File -> FileAccess

* Camera -> Camera3D

* Update references to MeshInstance and MultiMeshInstance

* ImmediateGeometry -> ImmediateMesh, misc renames
2022-10-15 20:54:47 +02:00
Max Hilbrunner 9862cbea87 Reference -> RefCounted 2022-10-15 17:26:59 +02:00
Kirrby 9d9d4b821c Updating change_scene and change_scene_to (#6175)
* Updating change_scene and chnage_scene_to

solves #6156
2022-10-05 12:57:40 +02:00
addmix e007845f19 Added node initialization best practices
Partially resolves #45638
2022-09-16 03:04:05 -06:00
Raul Santos 3b36a94d35 Update C# signal documentation
Updates C# signal documentation and code examples to the new API in 4.0
2022-08-26 15:59:43 +02:00
Rémi Verschelde 9621bed314 Merge pull request #5579 from Sauermann/fix-onready-annotations 2022-02-24 14:13:07 +01:00
Markus Sauermann 1e6a033a8f Update tutorials: VisualServer to RenderingServer 2022-02-09 20:20:13 +01:00
Markus Sauermann 57a9ef3fea Add @ to onready annotated variables in examples 2022-02-04 19:33:10 +01:00
Markus Sauermann dd10dff974 Swap extends line with class_name to follow GDScript style guide (#5573) 2022-01-30 19:18:34 +01:00
zacryolandHugo Locurcio b39374bcb1 Update information regarding VCS-ignorable directories (#5429)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-12-04 21:29:00 +01:00
Paul c42e9e67be Remove redundant line in Version control systems (#5398) 2021-11-16 23:40:48 +01:00
Arpit Srivastava 22f17d24fc Fix missing word in When and how to avoid using nodes for everything (#5386) 2021-11-11 18:09:12 +01:00
Hugo Locurcio 81fea66371 Document that .gdignore files' contents are ignored 2021-10-11 23:36:17 +02:00
Rémi Verschelde 8be3001fcc Merge pull request #5289 from zacryol/notification_input 2021-10-08 08:44:18 +02:00
DeeJayLSP 24d580f858 Node Alternatives: Update Reference to RefCounted
Every "Reference" that is supposed to mean RefCounted renamed properly.
2021-10-08 01:13:42 -03:00
Rémi Verschelde 9a05eef561 4.0: Convert Sprite references to Sprite2D
Some screenshots will need to be updated so that the scene structures shown
in screenshot fit what the code blocks are referring to.
2021-10-06 14:29:55 +02:00
zacryol f4c9114313 Remove reference to non-existing NOTIFICATION constants. 2021-10-01 12:37:32 -06:00
Aaron Franke 5c7f653347 Optimize PNG and SVG images using oxipng and svgcleaner (#5254) 2021-09-14 17:50:17 +02:00
merumelu 65118aa246 Replace various links with ref roles (#5137) 2021-07-31 22:29:54 +02:00
DeeJayLSPandMax Hilbrunner a1571eecc9 Remove misplaced (?) character in Data preferences (#4957)
* Remove misplaced (?) character in Data preferences

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2021-07-24 17:04:09 +02:00
Duroxxigar f3d3f4d0c8 Fixed wording for when _enter_tree and _ready is called. 2021-07-15 17:38:30 -04:00
Max Hilbrunner 883b9f90c7 Small improvements to named types expalnation 2021-07-10 17:53:15 +02:00
Lunadyn 0e68dcff89 Fixed minor error in wording in Scene Organisation tutorial (#4780)
* Fixed minor error in wording in Scene Organisation tutorial
2021-07-06 08:31:39 +02:00
Max Hilbrunner eb18bf93ba Merge pull request #5017 from hpnrep6/rename-function
Rename generic C# function name to GDScript example equivalent
2021-07-06 07:50:38 +02:00
hpnrep6 e7e6017ebe Replace C# if statement with switch statement to match GDScript (#5018) 2021-06-20 00:12:35 +02:00
hpnrep6 ed1f98a58e Rename generic C# function name to GDScript equivalent 2021-06-19 12:09:32 -04:00
Rémi Verschelde 044b6a74f8 Cleanup uses of double spaces between words or after punctuation 2021-06-07 10:44:02 +02:00
DeeJayLSP 08150dca70 Update class reference link on Scene organization (#4962)
doc_autoloads_versus_internal_nodes points to Autoloads versus regular nodes, so name it correctly.
2021-06-07 03:16:23 +02:00
DeeJayLSP 81863d0518 Fix a typo in Logic preferences
At first I thought it was another example of first person usage, but it was just a typo.

This replaces a "my" where it should be "may".
2021-06-04 01:01:29 -03:00
git_vb c0ab4c4268 Hard wrap some long comments in godot_interfaces.rst (#4892)
(cherry picked from commit c39853a639)
2021-06-02 11:50:28 +02:00
Nathan Lovato 7e7df1cc03 Merge class_name docs from scripting_continued.rst into gdscript docs 2020-11-07 23:23:19 -06:00
Nathan Lovato 36e6b29d5e Move project_setup documents to best_practices 2020-11-04 12:32:02 -06:00