33 Commits
Author SHA1 Message Date
skyace65 ba30c3de73 Unify C# naming notes and comments
(cherry picked from commit 8916cbd4b2)
2024-07-24 20:50:07 +02:00
Matthew bbb18a1cc5 Merge pull request #8832 from kylestarr/patch-2
Moving disclaimer comments inline

(cherry picked from commit af5d7d0223)
2024-07-24 20:29:17 +02:00
Max Hilbrunner a290781300 Merge pull request #9293 from skyace65/PlayTooltip
Fix button description

(cherry picked from commit 8655683fc9)
2024-05-07 13:00:38 +02:00
Max Hilbrunner f7997781db Merge pull request #8946 from skyace65/First2D-Fixes
Minor dodge the creeps fixes

(cherry picked from commit ee9d206a15)
2024-05-07 12:53:40 +02:00
217bd3c066 Updating the 2D tutorial in light of an editor bug (#7915)
* Update to the 2D tutorial

Issue #41283 is currently disrupting the flow of the official 2D tutorial for folks with external script editors.

This change is to update the tutorial to acknowledge this bug and provide newcomers with clearer guidelines on how to complete the tutorial despite the bug.

It also clarifies a potential point of confusion about how the editor communicates connection between signals and script functions.

Co-authored-by: Matthew <matthewehr@hotmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-11-24 16:29:50 -05:00
CHM e2f9034f8d Remove outdated C++ tutorial in "Your first 2D game" 2023-11-14 23:00:33 +08:00
Gustav a151aa0db2 Use Node2D instead of PhysicsBody2D 2023-10-24 22:40:36 +02:00
Max Hilbrunner 2b2be918db Merge pull request #8085 from Piralein/almostdeletedmygamesavefilesbydeletingtheeditorsettings
Update images in "Your first 2D game - Coding the player" with wrong settings
2023-10-08 23:17:31 +02:00
Hana - Piralein 52a0133d95 update outdated images and add clarification 2023-10-08 12:58:27 +02:00
Raul Santos 084f18b176 C#: Update images of the Build button 2023-10-06 00:47:40 +02:00
Niklas 3acdc258c0 Changed clamp code to be the same as in the demo sample 2023-07-16 18:23:16 +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
Samuel 1a6c89ee65 fmt: type is Node2D
in body_entered(body: Node2D)
2023-04-01 06:10:10 +00:00
Raul SantosandRedworkDE a7637e0ef1 Update getting started C# code, remove randomize (#6811)
* Update getting started C# code, remove randomize

- Sync C# code with GDScript.
- Remove `randomize` calls.
- Rename members that have been renamed in Godot's C# API for 4.0.
- Change `delta` parameter type to `double` in C#.
- Follow our C# code style more closely.
- Other minor code fixes.

---------

Co-authored-by: RedworkDE <10944644+RedworkDE@users.noreply.github.com>
2023-03-09 06:06:54 +01:00
Robert Machmer 4d9c1d9919 Fix capitalization of vector properties X and Y 2023-03-05 12:51:32 +01:00
Hana 229a7c78f6 Update majority of images in "Your first 2d game" (#6697)
* Update images in first 2d game
2023-01-29 18:03:54 -05: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
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
Hana 9e90766a92 update c# class examples 2023-01-12 19:38:20 +01:00
Josh Creek fbf70a7c6b fix(#6539) Update C# documentation for Godot 4 (#6548)
* fix(#6539) Update C# documentation for Godot 4
2023-01-09 20:52:40 +01:00
Max Hilbrunner c2f7474ec5 Merge pull request #6110 from raulsntos/dotnet/new-signals
Update C# signal documentation
2022-08-26 18:22:46 +02: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
ego-edesse 3e9968b02f missing @ hint on export (typo?) (#5956)
* missing @ hint on export (typo?)
* yield -> await
2022-08-26 14:58:19 +02:00
Aaron 2f0f865f95 Fix the animatedsprite2D variable in Coding the Player (#6006) 2022-07-29 22:47:44 +02:00
Steven Calvert a52f5eb499 Change C++ animation name for consistency in Your first 2D game (#5938) 2022-07-17 18:37:43 +02:00
Edward 693cf80cbd Move GDScript text onto tip in 2D Getting started 03 chapter (#5732) 2022-04-08 01:44:48 +02:00
MatthewandHugo Locurcio 3dc8f58ae4 Add C# instructions for Your first game (#5474)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-12-27 17:22:06 +01:00
Sean Wall ceffab3d03 Add input mapping to creeps tutorial (#5383)
* Add input mapping to creeps tutorial
2021-12-09 19:34:10 +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
Aaron Franke e3f55967fa Add GDNative C++ code examples to DTC aka Your first 2D game 2021-07-14 14:56:12 -04:00
Pierre Ellul f26bdbbcd4 Update first_2d_game C# variables capitalization (#4723) 2021-03-19 13:02:45 +01:00
Nathan Lovato e2e55eff9a Add outros and transition text at the end of first_2d_game lessons 2021-03-04 13:47:54 -06:00
Nathan Lovato 4e72e67792 Split your_first_2d_game into seven lessons 2021-03-04 13:47:52 -06:00