18 Commits

Author SHA1 Message Date
Matthew
e07f60e583 Merge pull request #7602 from ViktorVoloshko/patch-1
Fixed typo in scripting_first_script.rst
2023-08-01 03:43:27 +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
Dipal Zambare
693a9dea6d Update scripting_first_script.rst to remove outdated info.
1. Update scripting_first_script_attach_node_script.webp to show correct script name
2. Removed note about renaming "Sprite" to "Sprite2D"
2023-03-29 15:21:23 +02:00
Kory Postma
c93375e10f Update scripting_first_script.rst (#7023)
* Update scripting_first_script.rst

Added some clarity and made changes to properly support Godot 4 changes.  The images still need to be updated though.
---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-03-23 03:04:27 +01:00
Daniel Johnson
c85d501fa8 Updates images to display new Sprite2D
Was displaying the old Sprite name and I thought that could be
confusing for people new to the language.
2023-03-07 19:36:28 -08:00
Yuri Sizov
978a13bb0a Mark potentially outdated pages with a WIP warning 2023-02-26 14:21:15 +01:00
Paul Joannon
293c3455bb Update & fix C# blocks under getting_started/
- `_Process` take its delta argument as a double
- Node classes need to be partial
- Use `SignalName.*` instead of `nameof(*)` for signals
- Add a note about how `delta` arguments are doubles
2023-01-14 11:11:52 +01:00
Allie Polubiec
b7b917d086 Fix small missing word typo 2022-11-23 14:44:08 -05:00
Max Hilbrunner
9862cbea87 Reference -> RefCounted 2022-10-15 17:26:59 +02:00
Henry Catalini Smith
b81f0030b7 Add macOS keyboard shortcut in Creating your first script (#6032)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-08-04 22:44:00 +02:00
Aaron
dbc65f873e Add C# examples to Creating your first script (#5991)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-07-29 00:50:49 +02:00
John Veness
4d58ef13b3 Improve step-by-step a little 2022-07-21 20:43:49 +01:00
Rémi Verschelde
e0a3991ca9 Step by step: Improve flow and clarity for code replacement instructions 2022-04-29 11:24:50 +02:00
Matthew
336c6747af Change link on the first script page (#5677)
* Change link on the first script page
2022-03-14 14:02:37 +01: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
Nathan Lovato
c1f7f42ce6 Update the reference to the your_first_game document 2021-03-04 13:47:24 -06:00
Nathan Lovato
f68abde1e8 Write first script and player input pages
Closes #4173
2020-12-02 15:47:29 -06:00