Commit Graph
707 Commits
Author SHA1 Message Date
Igor 088279f8e2 Fix typo in Vector2 description 2020-01-13 09:34:48 +02:00
Tim Krief 5fb68f9943 Adding information and guidelines about how to properly create a standard CSV translation file (#3048)
* Adding guidlines for escaping double quotes

RFC-4180: "If double-quotes are used to enclose fields, then a double-quote appearing inside a field must be escaped by preceding it with another double quote."
I tried to escape it with backslash without knowing the special standards of CSV, it didn't work and I opened an issue for nothing. I think it might be right to explain that directly in the docs so that no ones lack this information and ask for help about that again.

* Adding more info about the CSV standard

Some information from the CSV standard were lacking, most importantly, how to escape double quotes in a string. An example with escaped double quotes has been added to the existing example table. (Thanks to the discord for the translation)
2020-01-10 13:27:56 +01:00
Flo d24bbdfc2a Reinsert clamp in exporting docs (#3032)
Before this change clamping the players position got removed with the following explanation:
"We don't need to clamp the player's position because you can't click outside the screen."

While it is true that the player cannot click outside the window, the player can still click outside the playable area. Because we set Aspect to "keep" in the Project Settings, Godot will create Black borders if the window (or phone screen) doesn't match the desired aspect ratio. A player can now click on either of the borders and because clamp got removed the Player node will move out of the playable area and hide in the black border.

This is why the clamp should not be removed.
2020-01-09 21:08:38 +01:00
Nathan Lovato dcb9cb43e8 Tweak GDScript and C# Style guides
Rename code structure -> formatting
Add a heading Encoding and special characters for the corresponding section
Add missing Indentation heading that was gone
2020-01-06 13:55:46 +01:00
Nathan Lovato dad0fd647c Merge pull request #3030 from aaronfranke/formatting
Add file formatting to GDScript style guide
2020-01-06 13:46:53 +01:00
skyace65 89c9877cb4 Update scene tree image 2020-01-05 21:47:13 -05:00
Aaron Franke 766e4687e5 Add file formatting to GDScript style guide
Recommend LF, newline at end of file, UTF-8, no BOM, and tabs. The displayed size of tabs does not matter as it does not affect the saved files, so don't mention it. Also slightly change the C# style guide for consistency.
2020-01-04 16:59:52 -05:00
Flo 17881b330b Merge branch 'master' into fix-orientation-handheld 2020-01-03 22:53:14 +01:00
Hugo Locurcio 529004eec2 Merge pull request #3005 from van800/master
"Profiling your C# code" in c_sharp_basics.rst
2020-01-03 22:42:23 +01:00
flofriday 7c079bf721 Fix Orientation on Android
Following the Android instructions for exporting, results in an rotatet
build. By specifying the Orientation option in the "Project Settings"
solves this bug.
2020-01-03 22:05:50 +01:00
Hugo Locurcio 3a6a1586c9 Merge pull request #3011 from DesiQuintans/patch-1
Clarify touch-input-from-mouse
2020-01-03 21:46:24 +01:00
Michael Alexsander f7505fdf79 Add references for the built-in type pages in GDScript basics 2020-01-03 14:52:48 -03:00
Nathan Lovato f56dee8d22 Change phrasing of the line length gdscript guideline. 2020-01-02 20:26:43 +01:00
Nathan Lovato 373f662571 Merge pull request #2994 from Calinou/add-gdscript-line-length-guideline
Add a line length guideline to the GDScript style guide
2020-01-02 20:08:58 +01:00
skyace65 a854074f9c Update Singletons Autoload image for Godot 3.2 2020-01-02 13:00:21 -05:00
Nathan Lovato 60b8b5b11b Fix typo before comment 2020-01-02 09:48:10 +01:00
Nathan Lovato 176d4482be Edit gdscript_styleguide 2019-12-31 20:26:33 +01:00
Nathan Lovato 0321330075 Merge pull request #2995 from Calinou/add-gdscript-boolean-operators-guideline
Add a boolean operators guideline to the GDScript style guide
2019-12-31 19:46:45 +01:00
Nathan Lovato c640a90329 Merge pull request #2996 from Calinou/add-gdscript-enums-guideline
Add an enum naming guideline to the GDScript style guide
2019-12-31 19:41:44 +01:00
Nathan Lovato b19ead1230 Merge pull request #2967 from Scony/func-call-operator
function call operator added to operator table
2019-12-31 12:49:55 +01:00
Desi Quintans 17b86883ce Add step re. setting main scene
My Windows executable would not run until I figured this out.
2019-12-28 12:40:21 +11:00
Desi Quintans 8018556e82 Clarify touch-input-from-mouse 2019-12-28 11:57:59 +11:00
Michael Alexsander 19417063c8 Very small styling fixups to the GDScript export page 2019-12-27 15:00:11 -03:00
Ivan.Shakhov 3e7de6e92b "Profiling your C# code" in c_sharp_basics.rst 2019-12-25 00:19:28 +01:00
Ryan Roden-Corrent 584ff890d4 Add link to tool docs in gdscript docs.
The gdscript_basics docs give a pretty sparse description of the tool
keyword. I ended up figuring out a lot of it on my own before I finally
realized there was a more detailed page hidden elsewhere in the docs.
2019-12-24 08:09:47 -05:00
theowiik 640816652d Add clarification on how to connect C# signals in the editor (#2963)
* add clarification on how to see c# signals in the editor

* reference the top right build button instead of the mono tab
2019-12-22 20:28:56 +01:00
Nathan Lovato eebcf4cf19 Add two precisions to your_first_game
Fix #2988
Fix #2986
2019-12-22 16:59:42 +01:00
Nathan Lovato 10f0d0a8e0 Remove duplicate period, fix typos 2019-12-21 14:08:22 +01:00
Rémi Verschelde c15b1eb996 Merge pull request #2998 from NathanLovato/best-practices-improvements
Proof best practices: autoloads_versus_internal_nodes
2019-12-21 13:38:28 +01:00
Nathan Lovato 6961fc1151 Improve the clarity and fix typos in autoloads versus internal nodes 2019-12-21 12:32:39 +01:00
Matthew 994bb2530a Add a list of supported external editors and update C# version info (#2991) 2019-12-21 12:11:46 +01:00
Paul Joannon fae465f34f Documentation page about C#/GDScript interactions (#2826) 2019-12-21 11:52:32 +01:00
Hugo Locurcio f3aaa480e2 Add an enum naming guideline to the GDScript style guide
This partially addresses #1736.
2019-12-20 19:31:16 +01:00
Hugo Locurcio c6fa2483f8 Add a boolean operators guideline to the GDScript style guide 2019-12-20 19:17:11 +01:00
Hugo Locurcio bc47ace471 Add a line length guideline to the GDScript style guide
This closes #2567.
2019-12-20 19:06:56 +01:00
Rémi Verschelde ed3e56fdd4 Fix some markup issues 2019-12-07 00:14:17 +01:00
Rémi Verschelde e23ee5b081 Fix typos with codespell
Using codespell 1.16.0.

Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF

$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2019-12-06 22:07:59 +01:00
Pawel Lampe fa5a7c2761 function call operator added to operator table 2019-12-05 19:28:38 +01:00
Rémi Verschelde 48306dc559 Fix singal typo in image name and tutorial 2019-12-03 10:12:40 +01:00
Lamonte 45fcc02431 Added new gotcha regarding snake_case for certain api methods (#2955)
Cleaned up wording to be cleaner
2019-12-03 08:40:16 +01:00
Rémi Verschelde 9998843ec2 Merge pull request #2948 from skyace65/scriptingupdate
Update step by step scripting page for Godot 3.2
2019-11-29 13:54:58 +01:00
Rémi Verschelde 4d53945fb6 Merge pull request #2947 from Calinou/project-organization-clarify-gdignore
Clarify how `.gdignore` works in Project organization
2019-11-29 13:54:39 +01:00
Matthew 6b89a895d6 Update importing scenes for Godot 3.2 and move some stuff around (#2929) 2019-11-29 13:52:31 +01:00
Mark Riedesel e3510fb663 add animation import filter script documentation and examples (#2837) 2019-11-29 12:44:27 +01:00
skyace65 8232fdf162 Update step by step scripting page for Godot 3.2 2019-11-27 11:02:46 -05:00
Hugo Locurcio 7a9635d58b Clarify how .gdignore works in Project organization 2019-11-26 23:30:57 +01:00
Nathan Lovato 82dd565936 Change less -> fewer 2019-11-25 11:04:02 +01:00
Nathan Lovato c51410023d Merge pull request #2931 from Calinou/gdscript-style-guide-quotes
Add quote style recommendation to the GDScript style guide
2019-11-25 11:03:17 +01:00
Hugo Locurcio 80bd273bdd Improve grammar and writing in Design a title screen 2019-11-18 13:49:57 +01:00
skyace65 8d115c98b5 Delete repeated instructions 2019-11-17 21:26:18 -05:00