1080 Commits

Author SHA1 Message Date
Nathan Lovato
23a8dcaf78 Merge pull request #4072 from daviewales/patch-1
[Docs] Clarify type of Main Node in tutorial.
2020-09-26 22:18:49 -06: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
Nathan Lovato
de80fb8406 Merge pull request #4058 from Calinou/add-troubleshooting-page
Add a Troubleshooting page with common problems and solutions
2020-09-26 13:54:51 -06:00
Hugo Locurcio
c1b00dfafe Add a Troubleshooting page with common problems and solutions 2020-09-26 20:06:29 +02:00
Nathan Lovato
18d88b443e Merge pull request #4040 from Calinou/add-collision-shapes-3d-page
Add a page about 3D collision shapes
2020-09-26 08:09:56 -06: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
973cf89f94 Merge branch 'master' into 3.2 2020-09-22 08:59:08 +02:00
Roman Rokon
a700b0f3f7 Add MDN reference for Local server setup
It's going to help some people.
I don't know if the placement or format is right, please edit as needed.
2020-09-22 00:50:18 +06:00
Hugo Locurcio
2738f4fe1f Clarify that the JavaScript singleton is available in official templates 2020-09-20 15:55:40 +02:00
Hugo Locurcio
1e203d2378 Add a page about 3D collision shapes 2020-09-19 22:04:06 +02:00
Hugo Locurcio
6e849a9700 Fix inline code formatting in Importing 3D scenes 2020-09-19 19:30:45 +02:00
QbieShay
8f19c1caf1 Add information about external materials not updated on reimport (#4041)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-09-19 19:29:21 +02:00
H​eikki H​okkanen
1885dba46e Fix markup on Command line tutorial (#4039) 2020-09-19 09:37:57 +02:00
Nathan Lovato
3f0a2830dc Improve phrasing of constants in GDScript basics (#4036)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-09-18 22:21:24 +02:00
Rémi Verschelde
36659945b9 Merge branch 'master' into 3.2 2020-09-18 14:50:35 +02:00
Marco
8a61d83dde Update and simplify android custom build instructions (#4001)
* fix instructions for .gdignore file in android folder

* add instructiond for JAVA_HOME variable on Windows

* simplify sdk installation and add warning for windows zip extraction

* fix command to navigate to andorid_sdk path

* update android editor settings screenshot for new Jarsigner path

* remove obsolete instructions for .gdignore file
2020-09-18 14:36:35 +02:00
Wilson E. Alvarez
1c4eab3f50 Added shebang example to Command line tutorial (#4028)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-09-17 23:53:54 +02:00
Clem
13b80b9faf Fix typo in Cross-language scripting (#4027)
Removed "your" in "The marshalling process will do its best to cast your the arguments to match function signatures"
2020-09-17 18:01:10 +02:00
Rémi Verschelde
58335901ab Merge branch 'master' into 3.2 2020-09-15 10:44:12 +02:00
Adrien
4fc9a12e11 Update Keywords to include class_name
Includes `class_name` in the keywords list, and updates the definition of `class`.
2020-09-15 16:16:35 +08:00
Rémi Verschelde
47cda4b528 Merge pull request #4006 from Calinou/exporting-pck-vs-zip
Document the upsides and downsides of PCK and ZIP pack formats
2020-09-15 09:57:09 +02:00
Hugo Locurcio
b677d7d8de Document the upsides and downsides of PCK and ZIP pack formats 2020-09-13 15:29:58 +02:00
Hugo Locurcio
53aa9829bc Document a fallback method to change the application icon on Windows
This method isn't as convenient as using rcedit, but it should be much
more reliable.
2020-09-13 14:26:51 +02:00
Rémi Verschelde
6d8c7b1d1a Merge branch 'master' into 3.2 2020-09-11 09:15:57 +02:00
Rémi Verschelde
ef45052cae Scripting: Fix wrong merge of 4.0 connect syntax
Fixes #3984.
2020-09-11 09:14:34 +02:00
Rémi Verschelde
08fcc85422 Fix title case 2020-09-11 09:13:16 +02:00
Nathan Leiby
97384fd5ee styleguide: clarify "static typing" syntax (#3687)
* styleguide: clarify "static typing" syntax

I first explored making an update here because I felt the current docs were confusing:

1. I could not tell if everything below "bad" was actually bad... It seemed like some of it was "good".
2. The examples involving ` var health := 0  # The compiler will use the int type.` seemed redundant, and re: (1) it was confusing to see one in "good" and one in "bad".

Do you agree whether a change is merited or did I misunderstand the docs as written?

---

While writing this proposed update, I realize that my explanation is less focused on style, but instead also explaining how declared and inferred types work. Is that what we expect in the style guide, or is the intent to be laser-focused it on syntax and code clarity? If so, perhaps we should avoid explanation and use the linked static typing guide as the source of truth for a rich explanation: https://docs.godotengine.org/en/stable/getting_started/scripting/gdscript/static_typing.html#doc-gdscript-static-typing).

Thanks for the awesome game engine!

* clarify why it doesn't work in the get_node() case
2020-09-09 19:05:35 -06:00
Rémi Verschelde
e337af304f Merge branch 'master' into 3.2 2020-09-09 13:02:26 +02:00
Rémi Verschelde
e9c1abe054 Merge pull request #3976 from skyace65/ImportImages
Improve importing images page
2020-09-09 12:44:36 +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
Rémi Verschelde
a74a93a6c4 Merge pull request #3944 from Calinou/start-dedicated-server
Document how to start a server in Exporting for dedicated servers
2020-09-09 11:57:59 +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
a53ad083b0 Merge pull request #3958 from NathanLovato/edit/what-are-godot-classes
Edit "What are Godot classes"
2020-09-07 07:31:48 -06:00
skyace65
99a95a0449 Improve importing images page 2020-09-07 09:11:04 -04:00
Nathan Lovato
de9d9bf06a Fix errors in What are Godot classes
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2020-09-06 14:15:30 -06:00
Nathan Lovato
6849c80d9d Merge pull request #3954 from skyace65/Reimport
Improve import process page
2020-09-06 12:56:05 -06:00
Nathan Lovato
82eee31df5 Fix bad table format in command_line_tutorial 2020-09-06 09:33:41 -06:00
Nathan Lovato
3bccbf3746 Add --export-pack option to the command_line_tutorial 2020-09-06 09:33:41 -06:00
Nathan Lovato
cadf87ca40 Edit paragraph about PCK files in command line tutorial 2020-09-06 08:43:17 -06:00
Nathan Lovato
fe959a18a0 Edit "What are Godot classes"
Changes:

- Simplify the article
- Change the title to better reflect the guide's point
- Try to make it clearer that scripts and scenes are not actually
- classes, but rather to be thought of as if they were classes in an OO
- language; OO principles apply to them
- Move section about the performances of scripts vs PackedScene to scenes_versus_scripts.rst
2020-09-06 08:15:24 -06:00
Hugo Locurcio
802b8d0d7d Update the command line tutorial with the options currently in master 2020-09-05 14:25:40 +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
Nathan Lovato
d07b64ea94 Merge pull request #3959 from skyace65/WindowsIcon
Fix and improve changing application icon for Windows page
2020-09-03 10:46:23 -06:00
Nathan Lovato
2e3cc7a928 Apply suggestions from code review
Try to improve the phrasing, split a sentence, and add some missing commas.
2020-09-03 10:43:44 -06:00
Jeffrey Stern
33c3671b99 Added line to clarify we'll be starting a new project. 2020-09-02 18:52:52 -07:00
skyace65
b2fe936881 Fix and improve changing application icon for Windows page 2020-09-02 16:41:40 -04:00
Hugo Locurcio
e27d64924f Apply suggestions from code review 2020-09-02 15:49:10 +02:00