408 Commits

Author SHA1 Message Date
Matthew
1f9250253c Fix first 2D game image (#5582) 2022-02-05 21:25:46 +01:00
Yuri Sizov
f4ec6b716a Add a link to C# basics from the Step-by-Step tutorial
Co-authored-by: Fabio Colella <fcole90@gmail.com>
2021-10-15 15:37:48 +02:00
DeeJayLSP
1498392ff7 Scene tree: Show functions as code (#5113)
* Scene tree: Show functions as code

These function callbacks should be shown as code for better readability.
2021-10-15 14:58:51 +02:00
Jonathan Harford
84f2a3d14a Fix emit_signal arity in Signals tutorial (#5294) 2021-10-05 01:54:40 +02:00
BlueStag
7458cde87a Fixed GetNode inconsistencies (#5056)
* Fixed GetNode inconsistencies (C#)

The generic method should be used instead. See #4794.
2021-07-12 23:34:07 +02:00
Hugo Locurcio
de64c64c89 Mention the editor must be restarted for class_name icons to display (#5031)
* Mention the editor must be restarted for `class_name` icons to display
2021-07-06 07:17:46 +02:00
Hugo Locurcio
62d1d25aa7 Update the keyboard shortcut to open the editor help
The shortcut was changed in 3.3.

This also lists the macOS-specific shortcut in the editor introduction.
2021-06-23 15:04:34 +02:00
DeeJayLSP
7db6e38b99 Design a title screen: change text to avoid use of first person (#4970) 2021-06-08 16:40:37 +02:00
Hugo Locurcio
4b66f6d744 Rename documentation pages that have the same name as classref pages
This prevents confusion in search engine results.

(cherry picked from commit 6babc68649)
2021-06-02 13:17:00 +02:00
Hugo Locurcio
f2dcc1a4fd Mention the new main screen switch shortcuts 2021-05-29 16:24:36 +02:00
swift502
5da97b25cf Fix broken C# tab in Resources scripting tutorial 2021-04-25 22:08:06 +02:00
Pierre Caye
e0c7f2db26 Remove a stray double quote from Exporting (#4823)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-08 14:42:15 +02:00
Hugo Locurcio
fb7276b3bb Improve documentation around exporting projects
- Add a warning about Godot not supporting PCK files larger than 2 GB.
- Improve formatting and grammar.

(cherry picked from commit a1e010c03f)
2021-03-19 13:59:11 +01:00
Dolan Paul
79d11429f1 Fix "part" typo in Introduction to the UI system (#4689) 2021-02-27 17:38:24 +01:00
RoniPerson
e196267b6b Add a note to set default values for custom resources (#4650)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-02-16 17:22:10 +01:00
Rafael Beckel
df9dda4c35 Change the order and text of UI workflows list (#4615)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-02-01 17:11:08 +01:00
Rémi Verschelde
a16e10538f Merge branch 'master' into 3.2 2020-09-28 15:43:06 +02:00
David Wales
3ef063dbe8 Update getting_started/step_by_step/your_first_game.rst
Co-authored-by: Nathan Lovato <nathan@gdquest.com>
2020-09-27 12:02:00 +10:00
David Wales
f5ed5d0343 Clarify type of Main Node.
If a user follows the tutorial, and accidentally [creates the Main scene][1] using a Node2D instead of a basic Node, they will be unable to [add a background][2] with Layout -> Full Rect as instructed later in the tutorial.

This expected (although possibly confusing) behaviour for Node2D is described in [#18166][3].

[1]: https://docs.godotengine.org/en/stable/getting_started/step_by_step/your_first_game.html#main-scene
[2]: https://docs.godotengine.org/en/stable/getting_started/step_by_step/your_first_game.html#background
[3]: https://github.com/godotengine/godot/issues/18166
2020-09-26 21:05:09 +10:00
Rémi Verschelde
d5a855bf35 Merge pull request #4062 from greenmoggle/master
Removed GD namespace from RandRange
2020-09-25 15:51:20 +02:00
Alex S
92372cc63a fix(getting_started): wording 2020-09-25 14:31:03 +02:00
Peter DV
634ab34a4c Removed GD namespace from RandRange
`GD.RandRange` was returning a double where a float was expected causing a type error. Using the `RandRange` function as described in the tutorial fixes the error.
2020-09-24 18:13:04 +10:00
Rémi Verschelde
ef45052cae Scripting: Fix wrong merge of 4.0 connect syntax
Fixes #3984.
2020-09-11 09:14:34 +02:00
GoOtterGo
f28a1de445 Update instructions to make subresources unique in inspector (#3895)
As of 3.2.2 the icon for Object Properties is no longer a down arrow, it is now a tools emoji. It's also not clear from the sentence the tutorial is expecting the user to look for the Object Properties button, just 'the down arrow', so I added clarity there as well.
2020-09-09 12:20:51 +02:00
Kiran Joshi
d03e109db4 Update your_first_game.rst (#2762)
Clarify that "Use Snap" must also be turned on to get snapping to work.

Co-authored-by: Nathan Lovato <nathan@gdquest.com>
2020-09-09 11:56:16 +02:00
Nathan Lovato
512b074039 Merge pull request #3948 from samjabrahams/sabrahams/update_scripting_tutorial_connect
Update GDScript examples - Step By Step: Scripting
2020-09-03 12:36:54 -06:00
Jeffrey Stern
33c3671b99 Added line to clarify we'll be starting a new project. 2020-09-02 18:52:52 -07:00
Sam Abrahams
83ed812b76 Update GDScript examples - Step By Step: Scripting
In Godot 4.0, the connect() function no longer takes an object and
a string name of a function, but rather the new Callable type. Following
the old instructions leads to errors.

Unfortunately, I don't have C# development set up on my machine, so I
have not updated the C# examples as I'm currently unable to validate that
they work as intended.
2020-08-30 21:31:30 -07:00
Matthew
70e9184552 Fix TextureButton texture number in Design interfaces with the Control nodes (#3928) 2020-08-30 17:26:11 +02:00
arkadye
cf563274e4 Fix GD.RandRange C# call in the "Your First Game" example (#3923)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-08-23 23:26:13 +02:00
Rémi Verschelde
9555be1d80 Merge pull request #3866 from Calinou/improve-singletons-autoload
Improve the Singletons (AutoLoad) documentation
2020-08-11 13:17:41 +02:00
Rémi Verschelde
fdf68a8b0e Merge pull request #3865 from Calinou/editor-screenshots-use-transparency
Use transparent instead of white to separate editor screenshots
2020-08-11 13:17:28 +02:00
Marcin Sędłak-Jakubowski
89d3c1db3a Clarify misleading sentence (#3886)
This is a section for beginners, and until this point,
the writing has been easy and accessible, but the GDScript
Reference is over 6.2k words long and difficult to grok in
a few minutes by a beginner.

This commit changes this sentence to instead suggest skimming
and bookmarking the page for later, because I think this was
the original intent.
2020-08-09 20:17:39 +02:00
Marcin Sędłak-Jakubowski
fe674e3b30 Change "Custom Node" to "Other Node" in Scenes and nodes (#3877) 2020-08-07 00:52:04 +02:00
Hugo Locurcio
47370ea9a8 Improve the Singletons (AutoLoad) documentation
This closes #3864.
2020-08-03 12:07:30 +02:00
Hugo Locurcio
0140ed0651 Use transparent instead of white to separate editor screenshots
This partially addresses #3861.
2020-08-03 11:31:09 +02:00
Leonardo Jeanteur
428106f910 Correct grammar, formatting and add download link (#3860)
Add a link to Godot Engine's download page.
2020-08-02 22:02:32 +02:00
Hugo Locurcio
8ca94173bf Document the expected window size in Design a title screen
This closes #3800.
2020-07-29 10:28:22 +02:00
Bruno
ceb7395b0b Change "centre" to "center" for consistency with the editor UI (#3842) 2020-07-28 09:58:36 +02:00
Mathias
1f35af0f2f Fix missing semicolon in C# code sample in Exporting tutorial (#3778)
Player.cs code (c#) won't compile because of a missing simicolon.
2020-07-12 14:44:54 +02:00
Isaac Higgins
06ee86c6f3 Clarify note on the connect dialogue 2020-07-09 18:30:24 -04:00
Meriipu
a9494635ea your_first_game.rst: Clarify a section raised in an issue
Should close #1625
2020-06-25 13:20:55 +02:00
binotaliu
91c508d210 fix slash to backslash in resources (#3706) 2020-06-18 16:59:12 +02:00
Ángel M
619ce2e9d6 Small typo in the "Your First Game" tutorial 2020-06-11 19:48:20 +02:00
DerekWang
96f627e5b8 Update C# scripts to use current APIs in Your first game (#3648)
1. Shorten line. Fix camelCase naming of a local variable.
2. Replace deprecated API.
2020-06-11 14:53:47 +02:00
Hugo Locurcio
e0554d9c0a Update the editor help shortcut for recent Godot versions
This closes #3656.
2020-06-08 10:02:08 +02:00
Matthew
60196d58e2 Fix issue in instancing page (#3647) 2020-06-06 01:25:43 +02:00
Rémi Verschelde
be5379ac5f Merge pull request #3643 from nickrodgers42/master
Update C# code in your_first_game.rst
2020-06-05 17:10:12 +02:00
Rémi Verschelde
ce7a9a6eab Images: Remove unused images (no 'image::' or 'figure::' reference) 2020-06-05 14:43:20 +02:00
Rémi Verschelde
39dbbb29e1 Images: always use relative 'img/' paths, without './' prefix
Move some files from root '/img' folder to the location where they are
actually used.
2020-06-05 14:38:25 +02:00