1207 Commits

Author SHA1 Message Date
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
HaSa1002
5df18b894f Add yield with multiple arguments example to GDSCript Basics 2020-09-02 14:09:06 +02:00
skyace65
8cff063857 Improve import process page 2020-09-01 22:32:26 -04:00
Nathan Lovato
5b635d94b8 Merge pull request #3931 from skyace65/PCKWarning
Add warnings on embedded pck files
2020-09-01 16:32:57 -06:00
Nathan Lovato
c0c6183a22 Merge pull request #3930 from Calinou/rcedit-embed-pck-warning
Document known bugs with rcedit in executables that embed a PCK file
2020-09-01 16:32:23 -06: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
Hugo Locurcio
334357ebc5 Document how to start a server in Exporting for dedicated servers
This mainly applies to projects where both the client and server
are implemented as part of the same project.
2020-08-29 18:23:34 +02:00
wizardlu
6418e67568 Fix typo in visual scripting Nodes and terminology (#3941)
Fix Typo "sequenced getter" -> "sequenced setter"
2020-08-28 17:15:35 +02:00
skyace65
002b976255 Add warnings on embedded pck files 2020-08-24 20:11:00 -04:00
Hugo Locurcio
9bbed16be7 Document known bugs with rcedit in executables that embed a PCK file 2020-08-24 21:42:13 +02:00
Matthew
394c72a4da Reorder exporting articles to be more logically ordered (#3929) 2020-08-24 21:25:55 +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
skyace65
72618e68c2 Remove Unity to Godot page 2020-08-21 19:20:25 -04:00
Nathan Lovato
2be83bc743 Merge pull request #3908 from Calinou/gdscript-basics-underscore-literals
Document support for underscores in number literals in GDScript basics
2020-08-21 10:18:44 -06:00
Hugo Locurcio
f0d0ef0ce3 Add recommendations for numbers in the GDScript style guide 2020-08-19 14:04:25 +02:00
Hugo Locurcio
9e699409d3 Document support for underscores in number literals in GDScript basics
This also uses lowercase for hexadecimal numbers, which is the
recommended approach as it's more readable.

This closes #3907.
2020-08-18 15:07:23 +02:00
Paul Maréchal
244808a9e1 Mention Git for Windows CRLF/LF line ending issues (#3891)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-08-11 15:40:15 +02:00
Rémi Verschelde
2c4db3ba10 Merge branch 'master' into 3.2 2020-08-11 13:30:27 +02:00
Rémi Verschelde
76fb70d6ad Merge pull request #3879 from Calinou/exporting-dedicated-servers-opengl
Mention the OpenGL requirement when using the `--no-window` CLI argument
2020-08-11 13:20:17 +02:00
Rémi Verschelde
2b453a1a96 Merge pull request #3874 from Calinou/doc-csharp-rebuild-solution
Mention the need to rebuild C# solutions for the editor in C# basics
2020-08-11 13:19:04 +02:00
Rémi Verschelde
b2e73ab49e Merge pull request #3872 from Calinou/improve-importing-scenes-suffixes
Improve suffix documentation in Importing 3D scenes
2020-08-11 13:18:39 +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