21 Commits

Author SHA1 Message Date
31
08a0974ecb singletons_autoload.rst: add C# example similar to "Global Variable"
(cherry picked from commit a4e958c0e0)
2024-07-24 20:49:30 +02:00
Max Hilbrunner
afecefa307 Merge pull request #8900 from skyace65/Autoload
Remove duplicate information in autoload page

(cherry picked from commit 5c926b5180)
2024-05-07 12:53:15 +02:00
Hana - Piralein
63ad1da481 fix file casing 2023-10-17 20:42:28 +02:00
Mark Wilson
147d2233c7 Improve C# GD.Load() examples
* Use typed version of GD.Load()
* Use absolute paths (i.e., prefixed with "res://")
* Use "Path/To/" intermediate path values on abstract examples, to
  illustrate that files can live in various directories
* Use PascalCase on files that are not GDScript or GLSL
2023-10-08 12:25:43 -04:00
Hugo Trentesaux
4605865c0b Update singletons_autoload.rst
fix scene name to match zip template
2023-08-20 17:55:24 +02:00
Paul Joannon
0614837c22 Remove erroneous C# example about autoloads 2023-07-03 19:44:40 +02:00
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 Hilbrunner
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
Yuri Sizov
0606a8ed38 Move tutorial ZIPs to a dedicated repository 2023-04-26 10:42:20 +02:00
Yuri Sizov
92f539dce2 Merge pull request #6881 from timothyqiu/autoload
Fix Autoload capitalization inconsistency
2023-03-06 18:53:29 +01:00
gomaproi
c39a8d9dc5 Update some screenshots in the Scripting section for Godot 4 (#6851) 2023-03-06 10:48:20 +01:00
Haoyu Qiu
ff5fab13f4 Fix Autoload capitalization inconsistency 2023-03-04 09:33:48 +08: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
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
Hugo Locurcio
9baaf4dc42 Document registering an autoload when an editor plugin is enabled 2022-08-24 19:33:01 +02:00
Pixelatex
8bc58f580a Singletons tutorial has deprecated methods. (#6018)
* Singletons tutorial has deprecated methods.
2022-08-05 19:54:38 +02:00
Hugo Locurcio
cb9b2b8c5d Document that autoloads must not be freed to avoid crashes 2022-05-14 20:35:21 +02:00
Matthew
f1ff320f06 Clarify singleton read order (#5457)
* Clarify singleton read order

* Apply suggestions from code review

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-12-29 18:29:52 +01:00
BlueStag
a090a578fb Fixed GetNode inconsistencies (#5056)
* Fixed GetNode inconsistencies (C#)

The generic method should be used instead. See #4794.
2021-07-01 08:06:13 +02:00
Nathan Lovato
d0eb1eb6bc Move remaining files out of step_by_step/
Moved those to scripting/:

- filesystem
- resources
- singletons_autoload
- scene_tree

export to export/

and godot_design_philosophy to introduction/
2020-12-02 20:31:01 -06:00