Commit Graph
1228 Commits
Author SHA1 Message Date
Max Hilbrunner 0c18a7cb67 Merge pull request #6643 from paulloz/csharp/signals
Create a dedicated "C# Signals" page
2023-01-23 19:22:15 +01: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 3347df2edb Create a dedicated "C# Signals" page 2023-01-22 17:37:29 +01:00
Haoyu Qiu d83c3d8143 Sync renamed method in C++ code snippet 2023-01-18 20:36:41 +08:00
Matthew f89da783ec Merge pull request #6528 from denicolas/patch-5
Character animation - change "you" to "you've"
2023-01-17 21:12:14 -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
Yuri Sizov f59ef9dfd3 Merge pull request #6580 from Piralein/update-first-2d
Update code samples in The Main Game Scene tutorial, remove randomize calls
2023-01-13 16:31:20 +03:00
Yuri Sizov 821b2e8d9e Merge pull request #6597 from Piralein/first-3d
Update more C# code samples in Getting Started
2023-01-13 16:00:15 +03:00
Yuri Sizov a20c7f494e Merge pull request #6581 from Piralein/partial🔑
Update C# code samples in Getting Started and Tutorials
2023-01-13 15:59:11 +03:00
Hana 9e90766a92 update c# class examples 2023-01-12 19:38:20 +01:00
Hana f726757663 update c# examples and fix ref links 2023-01-12 18:57:52 +01:00
Hana 108796d8ee update c# code example and remove randomize call 2023-01-12 17:59:58 +01:00
TheYellowArchitectandJohannes Loepelmann 41252827ca Update "Your first 3D game" tutorial for Godot 4 (#6243)
* FULLY REMADE FOR 4.0

Co-authored-by: Johannes Loepelmann <johannes@loepelmann.de>
2023-01-11 21:52:51 +01:00
Brendan Hansknecht eb65fa2857 First 2d game docs - minor typo fix (#6555)
* First 2d game typo fix

Super minor type fix for first 2d game tutorial
2023-01-09 22:57:24 +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
Denis NICOLAS 4f38aec026 Character animation - Tense and incomplete text
In "Using the animation editor":
"Once you created the animation"
should be:
"Once you've created the animation"

In "Animating the mobs":
"Then open Mob.tscn and open its animation player."
Mob.tscn doesn't have an animation player.
2022-12-28 18:57:02 +01:00
Denis NICOLAS eb7c9618aa Jumping and squashing monsters - Typos
In "Jumping":
"In games, you really want controls to be responsive and giving instant speed boosts like these, while unrealistic, feel great."
should be:
"In games, you really want controls to be responsive and giving instant speed boosts like these, while unrealistic, feels great."
or:
"In games, you really want controls to be responsive and instant speed boosts like these, while unrealistic, feel great."

"Notice that the Y axis is positive upwards. That's unlike 2D, where the Y axis is positive downward."
should be:
"Notice that the Y axis is positive upwards. That's unlike 2D, where the Y axis is positive downwards."
or:
"Notice that the Y axis is positive upward. That's unlike 2D, where the Y axis is positive downward."
2022-12-26 19:30:48 +01:00
Bruno Wilson Portes 93f4f601d6 Remove extraneous space in the 3D game tutorial's Mob script (#6508) 2022-12-24 20:56:39 +01:00
skyace65 3598888f27 Update and fix some images for key concepts page 2022-12-02 16:30:09 -05:00
Matthew 1e2f11fbc3 Merge pull request #6426 from Element894/patch-1
Character animation page typo. Line 194 if statement was commented out.
2022-12-01 08:33:43 -05:00
Hugo Locurcio 509804650e Update all instances of instance() to instantiate() 2022-11-29 16:59:09 +01:00
Max Hilbrunner 5f8859fd48 Merge pull request #6366 from skyace65/EditorIntro
Update first look at the editor images for 4.0
2022-11-28 13:53:04 +01:00
Element894 10df3c01ad Remove, '#' from line 194. Line 194 if statement was commented out. 2022-11-26 17:03:54 -08:00
Max Hilbrunner adeaecb14a Merge pull request #6419 from denicolas/patch-3
Creating instances - Wrong tense
2022-11-23 21:32:40 +01:00
Allie Polubiec b7b917d086 Fix small missing word typo 2022-11-23 14:44:08 -05:00
Denis NICOLAS 2410d69aa6 Creating instances - Wrong tense
"Once you have a diagram, we recommended creating a scene"
should be:
"Once you have a diagram, we recommend creating a scene"
2022-11-23 20:32:23 +01:00
Yuri Sizov a5bf20bb6d Add support for split class reference 2022-11-17 21:20:41 +03:00
skyace65 8a57b11bfc Update first look at the editor images for 4.0 2022-11-06 19:25:39 -05:00
William LimandHugo Locurcio d67a148cfa Fix Local Projects tab name in First look at Godot's editor (#6338)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-10-26 16:19:11 +02:00
José Joaquín Bocanegra c9e50fc27b Fixes typo saying Main where it should say HUD 2022-10-17 17:28:46 +01:00
Max Hilbrunner 3765e1ca51 Nuke GDNative from docs 2022-10-15 23:53:50 +02:00
Max Hilbrunner 198393eec7 More Godot 4 rename fixes (#6315)
* Spatial -> 3D, Transform, Quaternion

* File -> FileAccess

* Camera -> Camera3D

* Update references to MeshInstance and MultiMeshInstance

* ImmediateGeometry -> ImmediateMesh, misc renames
2022-10-15 20:54:47 +02:00
Max Hilbrunner 024fedb0f3 Kinematic -> Character 2022-10-15 17:55:24 +02:00
Max Hilbrunner 9862cbea87 Reference -> RefCounted 2022-10-15 17:26:59 +02:00
Zach Day 4ccb293730 Fix C# in step-by-step Signals example
Changed code to use new event-style connections; changed
custom signal example to use the new `SignalName` global;
use `double` instead of `float` for `_Process` argument
2022-10-12 17:37:39 -04:00
TheYellowArchitect 7dd0537bc2 [Signals] Replaced 9 images to match 4.0 version (#6235)
* Replaced 9 images for 4.0 compatibility
2022-10-11 08:15:14 +02:00
TheYellowArchitect be79373bfd [2D Game Tutorial] Fixing the last codeblock to run on 4.0
The last code which would make the tutorial incompatible for 4.0 was this. I ran it locally on my 2D project to ensure it works.
Basically to replace the yield one-shot timer, I used this https://docs.godotengine.org/en/latest/classes/class_scenetreetimer.html

Fixes https://github.com/godotengine/godot-docs/issues/6234

@Calinou Related to this: If I do an upgrade/polish of the 2D tutorial [like I did with 3.0](https://github.com/godotengine/godot-docs/pull/6243) where I upload more **.webp** images and clarify and ref hyperlink here and there, would it be accepted soon, or delayed until after .webp support? Asking because it will take a day or two (I already have the images which is the hard part), and if that upgrade is merged in 4+ months, I would rather schedule my priorities in another way
2022-10-07 13:04:07 +00:00
Max Hilbrunner 7d951887f8 Merge pull request #6163 from ScriptsEngineer/patch-1
Change instance method to typed version in C# example
2022-10-05 13:13:09 +02:00
TheYellowArchitect fff8355a8e [2D Game Tutorial] Explicit add child node clarification (#6225)
* [Dodge The Creeps] Explicit add child node clarification

Added explicit "add child node" instead of "add animated sprite 2d node as a child"
Also added Ctrl+A shortcut so users get slowly familiarized with the optimal workflow
2022-10-05 12:51:44 +02:00
TheYellowArchitectandMax Hilbrunner 2dfd19c370 Project Manager Polishing (#6219)
* Project Manager Polishing

The logic behind this commit is my own experience as a newbie, where I had the project with the label opened, and on the "download this and just import it with project manager" part, i did not know how to open the project manager, and spent like 5 minutes before just closing and re-opening Godot

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2022-10-04 13:50:23 +02:00
Max Hilbrunner a9cb21c69b Merge pull request #6222 from TheYellowArchitect/patch-2
[Signals] Fixed inconsistent code
2022-10-04 13:30:39 +02:00
Max Hilbrunner a6b1ed4a96 Merge pull request #6204 from acristin/master
Fixes for "Your First 2D Game" tutorial section 5: "The main game scene"
2022-10-04 13:25:53 +02:00
Matthew ab5d273424 Merge pull request #6121 from RayAsh37/edit-typo-rotationValue
updated rotation value
2022-10-03 21:17:30 -04:00
Matthew cb19ef660d Merge pull request #6193 from Black-Virtue/patch-1
Updating references to RigidBody2D
2022-10-03 21:10:07 -04:00
Max Hilbrunner 51d2bedf2f Merge pull request #6236 from TheYellowArchitect/patch-6
[2D Game Tutorial] Polished HUD code explanation
2022-10-01 17:04:47 +02:00
TheYellowArchitect d22e87a187 [2D Game Tutorial] Polished code explanation
Placed it above the code, instead of below. It was bad because "This function" yet it's the code above, so it wasn't even "the above function" lol

Now, the code explanation is above the code, like the rest of the docs, and the eye rolls linearly instead of "what is this" then reading below "aaah!" and reading above again lol
2022-09-27 19:59:26 +00:00
Hugo Locurcio 8b330feb43 Update the 2d stretch mode name to canvas_items 2022-09-27 17:18:16 +02:00
TheYellowArchitect 8ed7fd3c70 Fixed inconsistent code
All the code has 1 line in ready(), then suddenly at the "finished/full" script, it has a very old version which doesn't even compile (final argument gives error)

Also, changed "check autostart property" to "enable autostart property" so it's more clear
2022-09-27 07:08:53 +00:00
Evanaellio 3cb674285e Fix references to the @tool annotation 2022-09-21 22:48:04 +02:00
Andrew Cristina 0b431349a5 Update for 4.0 beta 1
Replace references to Position2D with Marker2D.

Replace PathFollow2D "offset" with progress_ratio, etc.
2022-09-19 23:12:50 -07:00