Commit Graph

4624 Commits

Author SHA1 Message Date
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
Rémi Verschelde
a95c173ae9 Merge pull request #3693 from Calinou/matrices-transforms-shear
Mention the Node2D shearing property in Matrices and transforms
2020-09-11 09:12:18 +02:00
Rémi Verschelde
24d58f3dc4 Merge pull request #3991 from Calinou/improve-bbcode-tags-description
Improve the BBCode tags description, mention lack of vertical centering
2020-09-10 19:24:54 +02:00
Hugo Locurcio
59c686d04d Improve the BBCode tags description, mention lack of vertical centering
This was suggested by someone on Twitter.
2020-09-10 19:01:22 +02:00
Sam
2056817404 Add an 'unsupported on android' warning to 2d skeleton documentation 2020-09-10 15:39:17 +01:00
Rémi Verschelde
bf00d41fdf Merge pull request #3986 from pyacier/master
Fix quote marks
2020-09-10 14:45:41 +02:00
Pierre Caye
eb52c7330f Fix quote marks 2020-09-10 13:34: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
eff98682dc Merge pull request #3983 from hubertekvall/patch-1
Fix of a grammatical error.
2020-09-09 21:25:24 +02:00
Hubert Ekvall
ad95164095 Fix of a grammatical error. 2020-09-09 20:26:24 +02:00
Rémi Verschelde
9c92e2fb71 Merge pull request #3852 from Calinou/improve-optimization-3.2
Proofread and improve the optimization guides
2020-09-09 15:07:13 +02:00
Hugo Locurcio
8b40561866 Proofread and improve the optimization guides 2020-09-09 15:01:45 +02:00
Rémi Verschelde
1fec4eacfc Merge pull request #3785 from Calinou/add-autotile-templates
Add 2x2 and 3x3 Minimal autotile templates to Using tilemaps
2020-09-09 14:17:17 +02:00
Hugo Locurcio
747af9b3c7 Mention the Node2D shearing property in Matrices and transforms
This closes #3604.
2020-09-09 14:15:06 +02:00
Rémi Verschelde
1740baf9de Merge pull request #3898 from faintdeception/patch-1
Typo in C# example change velocity to _velocity
2020-09-09 14:14:04 +02:00
Hugo Locurcio
93679aa6c9 Add 2x2 and 3x3 Minimal autotile templates to Using tilemaps
Thanks to @golddotasksquestions for providing these autotile templates :)

This closes #3316.
2020-09-09 14:13:59 +02: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
Rémi Verschelde
7312a542f5 Merge pull request #3964 from madmiraal/fix-lgtm-alerts
Fix lgtm alerts
2020-09-09 12:43:50 +02:00
Rémi Verschelde
e5835248af Merge pull request #3901 from raulsntos/csharp-running_code_in_the_editor
Add C# examples to running_code_in_the_editor.rst
2020-09-09 12:41:43 +02:00
Numan Zaheer Ahmed
fcbe81e0f4 Updated Python Code Style Guidelines (#3828)
Updated Python Code Style Guidelines to use Black now.
2020-09-09 12:38:04 +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
TheTrainDoctor
b9072edace fixed incorrect variable in C# code example
save_game is not the variable used in the C# tab
2020-09-09 12:09:07 +02:00
Rémi Verschelde
d27279babe Merge pull request #3940 from Calinou/bisecting-regressions-clarify-command
Use a more explicit `git bisect` command in Bisecting regressions
2020-09-09 12:08:19 +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
Rémi Verschelde
c440854beb Merge pull request #3980 from Calinou/batching-gles2-only
Document that 2D batching currently only works with the GLES2 renderer
2020-09-09 11:50:39 +02:00
Hugo Locurcio
1875ceb8b8 Document that 2D batching currently only works with the GLES2 renderer 2020-09-09 01:00:07 +02:00
MrCelticFox
237491a6d8 Fix RichTextEffects not loading correctly in BBCode in RichTextLabel (#3975)
Added class names to all three of the custom RichText examples, as without these the effects did not load correctly in the "Custom Effect Array" property of the RichTextLabel. (Godot v3.2.2.stable)
2020-09-08 15:36:03 +02:00
Yetizone
6ab6e7f609 Qt Creator tutorial: Specify C++ code style settings location (#3979) 2020-09-07 18:14:21 +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
Tooniis
2e5e28be1a Update GLES2 restrictions in Environment and post-processing (#3978)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-09-07 14:39:59 +02: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
d76bc93c2f Merge pull request #3970 from Calinou/rename-using-assetlib
Rename "Using the AssetLib" to "Using the Asset Library"
2020-09-06 12:44:27 -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
bd7b52ba77 Merge pull request #3971 from Calinou/rename-hdr-page
Rename the high dynamic range page, add a note about HDR output
2020-09-06 08:52:07 -06:00
Nathan Lovato
b575bf5c61 Merge pull request #3972 from Calinou/rename-csg-page
Rename the CSG page to give it a more descriptive title
2020-09-06 08:51:32 -06:00
Nathan Lovato
3d893be4a3 Merge pull request #3973 from Calinou/update-command-line-tutorial
Update the command line tutorial with the options currently in `master`
2020-09-06 08:43:39 -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
Yuri Roubinsky
1cd84e46fa Merge pull request #3974 from Chaosus/vs_fix_visual_shader_plugins
Fix tool keyword in visual shader plugins tutorial
2020-09-06 12:46:00 +03:00
Yuri Roubinsky
9f9efbff56 Fix tool keyword in visual shader plugins tutorial 2020-09-06 12:42:29 +03:00
Hugo Locurcio
802b8d0d7d Update the command line tutorial with the options currently in master 2020-09-05 14:25:40 +02:00
Hugo Locurcio
3d0f2ce395 Rename the CSG page to give it a more descriptive title
See #3969.
2020-09-05 14:12:19 +02:00
Hugo Locurcio
0c6c09538a Rename the high dynamic range page, add a note about HDR output
See #3969.
2020-09-05 14:09:22 +02:00
Hugo Locurcio
e24580e912 Rename "Using the AssetLib" to "Using the Asset Library"
See #3969.
2020-09-05 13:49:53 +02:00