Commit Graph
24 Commits
Author SHA1 Message Date
Hana - PiraleinandBryan Gillis 15fbfc5d64 Adding "Using System;" line to default C# script
Co-Authored-By: Bryan Gillis <7204836+brgillis@users.noreply.github.com>
2024-07-13 13:39:05 +02:00
Walerian Sobczak f1f6cf4fa0 Add missing Ctrl-click equivalents for MacOS. 2024-02-25 17:45:06 +09:00
Adam Johnston d4bff01d23 Add c# script name note to scripting_first_script.rst 2024-01-06 16:56:22 -08:00
Max Hilbrunner e83fd34f10 Merge pull request #8430 from skyace65/FirstScript
Update images on first script page
2023-11-09 08:29:51 +01:00
David C. DrakeandA Thousand Ships 81be1460d5 Minor fixes in scripting_first_script.rst (#8415)
* Minor fixes in scripting_first_script.rst

Changed "by default" to "at their default values" and "calling the rotated() method on any Vector2" to "calling the Vector2 method rotated()" (in context, these changes are correct). Also added a missing comma.

* "at" -> "set to" in scripting_first_script.rst

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-11-08 21:07:17 -05:00
skyace65 36f035d62b Update images on first script page 2023-11-08 20:59:44 -05:00
ViktorVoloshko 6419421dbf Fixed typo in scripting_first_script.rst 2023-07-03 03:26:42 +03: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 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
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 PostmaandMax Hilbrunner 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 SmithandHugo Locurcio 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
AaronandHugo Locurcio 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