39 Commits

Author SHA1 Message Date
Matthew
e3986bf71e Merge pull request #7566 from dahliakyu/patch-1
Update 03.coding_the_player.rst
2025-01-22 16:19:59 -05:00
tetrapod00
c4d3aa134a Standardize RST header syntax 2024-12-29 13:44:09 -08:00
skyace65
9ec1210d33 Fix button description 2024-04-28 21:10:18 -04:00
skyace65
8916cbd4b2 Unify C# naming notes and comments 2024-03-10 12:08:45 -04:00
Matthew
af5d7d0223 Merge pull request #8832 from kylestarr/patch-2
Moving disclaimer comments inline
2024-02-28 18:08:48 -05:00
Kyle Starr
24fb0e2f0d Removing one comment hash for style
Co-authored-by: Matthew <matthewehr@hotmail.com>
2024-02-28 07:28:27 -08:00
skyace65
9bdfd2518b Minor dodge the creeps fixes 2024-02-11 12:08:39 -05:00
Kyle Starr
af66da052f Update 03.coding_the_player.rst
Accepting feedback that inline comment expands the block unnecessarily. Perhaps the better edit here is to explicitly state that the comment is about the following boolean statement rather than the prior.
2024-01-26 21:01:09 -08:00
Kyle Starr
c5d931c3fb Moving disclaimer comments inline
Moving disclaimer comments inline to better specify which boolean statement is being referred to.
2024-01-25 21:03:17 -08:00
Guerric Haché
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
el
edd946fc31 Update 03.coding_the_player.rst
change _on_body_entered(body) to _on_body_entered(_body) to avoid warnings
2023-06-26 18:37:54 +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 Santos
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
Matthew
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