Commit Graph

4611 Commits

Author SHA1 Message Date
Paul Joannon
efb87c31fb add c# code to 2d-sprite-animation page
also, do not teach people to `get_node` every frame

(cherry picked from commit ba38d9dbc5)
2021-03-19 13:49:47 +01:00
TechnoPorg
d87fa5e941 Add C# code examples for HTTPClient and HTTPRequest
Ported the existing GDScript code examples to C# for both HTTPClient and HTTPRequest.

(cherry picked from commit 8d78a46f0d)
2021-03-19 13:19:36 +01:00
skyace65
db822fbf39 Add code example for weakref
(cherry picked from commit 4f19eea5c9)
2021-03-19 13:17:01 +01:00
Paul Joannon
29b6d82e4f add C# code tabs to pages under tutorials/audio
(cherry picked from commit 7e27d6a0fa)
2021-03-19 13:04:59 +01:00
Emily
8a3fa1daee Add a 16-tile template to the 3x3 minimal section of the Using tilemaps page (#4746)
(cherry picked from commit 4a987385df)
2021-03-19 12:57:12 +01:00
Johannes Witt
00710cd7e5 Update Sphinx to 3.5.2, sphinx_rtd_theme to 0.5.1 and sphinx-tabs to 2.1.0 (#4572)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
(cherry picked from commit 6de6863a4c)
2021-03-19 12:52:51 +01:00
Matthew
226b44d3a7 Add information on onready annotation to C# differences page (#4565)
(cherry picked from commit 2a4dcc40d6)
2021-03-19 12:50:26 +01:00
CssTeja
5f37360f38 Fix three typos
Fix typo in custom resource format loaders tutorial (#4765)

(cherry picked from commit 6cacd11cac)

Fix typo in audio streams tutorial (#4766)

(cherry picked from commit 3d8e3c90c4)

Fix typo in Soft Body tutorial (#4767)

(cherry picked from commit 836f8490f1)
2021-03-19 12:43:30 +01:00
Rémi Verschelde
5565430e6f Merge pull request #4764 from 31/csharp-setup-3.2-port
Cherry-pick Godot Mono / C# setup improvements to stable (3.2)
2021-03-19 12:26:16 +01:00
Aaron Franke
66b0aff1d9 Improve C# setup instructions
(cherry picked from commit a0b153b2f2)
2021-03-18 22:18:54 -05:00
Fabio Colella
8664b97135 Fix :ref: link typo in C# basics (#4552)
(cherry picked from commit be6e3c1e30)
2021-03-18 22:18:47 -05:00
Ivan Shakhov
58471b34f9 Update external editors prerequisites to match Godot 3.2.3+
(cherry picked from commit 111b3d9ac0)
2021-03-18 22:18:30 -05:00
Hugo Locurcio
6c87f04926 Add Open Graph tags for better link preview on social media
This is provided by the sphinxext-opengraph extension.

This also adds a theme color property in the HTML layout file.

(cherry picked from commit 9becaa5480)
2021-03-18 20:44:22 +01:00
bogdasar1985
0175c3e4fe Use "code editor" instead of "IDE" to refer to Visual Studio Code (#4760)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-03-18 14:36:54 +01:00
Rémi Verschelde
3cc907b03c Rewrite release policy to clarify versioning and include 3.3
We are often asked if Godot follows SemVer, so I rewrote the relevant section
to clarify that our versioning is based on SemVer but takes some liberties to
accommodate the complexity of versioning so many interconnected components with
a single version number. Examples should help make the rationale clear.

Additionally, with the upcoming 3.3 release we're aiming at increasing the
release pace for future 3.x minor releases, and keep patch releases better
focused on actually being maintenance releases (with 3.2.2 being a significant
exception to that rule).

(cherry picked from commit 6ab33ddabb)
2021-03-17 15:47:36 +01:00
zacryol
b9160ec39e Fix description of randfn() in Random number generation (#4759) 2021-03-16 22:11:05 +01:00
Hugo Locurcio
d1ecbbc3fb Fix syntax error in the randi_range() example in the RNG tutorial 2021-03-16 22:11:01 +01:00
Nathan Lovato
be239920ea Edit random_numbers.rst
Remove parens, passive voice -> direct voice, fix some typos, simplify some of the language, and add a short intro listing what the reader will learn
2021-03-16 22:10:57 +01:00
Hugo Locurcio
d475a4b4de Add a random number generation tutorial
This closes #2436.
2021-03-16 22:10:50 +01:00
Rémi Verschelde
f4d0513091 Resync classref with 3.2.3-stable, next release is 3.3 2021-03-16 12:29:34 +01:00
Evgeniy Vasilyev
af4d5675e2 Fix code formatting in GDScript style guide (#4755) 2021-03-15 14:11:08 +01:00
Hugo Locurcio
514b30c8c4 Recommend adding Godot folder to AV exceptions in Compiling for Windows (#4736) 2021-03-13 19:39:24 +01:00
Hugo Locurcio
0c44238adf Update copyright statements in Complying with licenses
- Improve formatting and writing.
2021-03-13 19:38:10 +01:00
David Snopek
97ab578209 Remove another easily misunderstood joke 2021-03-13 19:37:29 +01:00
Hugo Locurcio
2edaff745f Fix code samples in VR starter tutorial part 1 (#4740)
This closes #4739.
2021-03-13 19:36:05 +01:00
Hugo Locurcio
bd7093bc6c Recommend triangulating and applying transforms in Importing 3D scenes (#4742)
This is generally good advice for any 3D engine, but Godot also has
issues with 3D selection that are more present with misaligned objects.
2021-03-13 19:35:09 +01:00
Hugo Locurcio
c9d5311d53 Document disabling the NVIDIA text overlay in the Troubleshooting page (#4753) 2021-03-13 18:51:32 +01:00
Divided by Zer0
2875c009fa Adjust HTTPClient example code to not break in HTML5 exports (#4738)
Fixes godotengine/godot#46857

Added supported wait periods after poll() for HTML5
This prevents warning about multiple polls in the same frame
and prevent hanging the game when fetching the body chunks
2021-03-11 12:15:06 +01:00
Samuel Laferriere
c4a56adc06 Fix GDScript code sample in Matrices and transforms (#4731) 2021-03-09 02:53:21 +01:00
Hugo Locurcio
ae0fe2a624 Fix incorrect link in Code style guidelines (#4732)
This caused a Sphinx build failure.
2021-03-08 18:55:02 +01:00
Hugo Locurcio
6cd9c0ed2e Clarify that built-in animation changes are lost if not saved to files (#4725)
This closes https://github.com/godotengine/godot/issues/28275.
2021-03-08 16:18:52 +01:00
follower
47564a0f1e Fix typo "turn of" -> "turn off" in Using tilemaps (#4728) 2021-03-08 00:21:08 +01:00
Bengt Söderström
4718fbced0 Renamed directory godot_headers to godot-headers in GDNative SConstruct (#4714)
Fixes GDNative compile error caused by directoy name change in godot-cpp repository.
2021-03-04 00:28:10 +01:00
Hugo Locurcio
1dc254ba94 Add a comment style guide for Godot contributions (#4421) 2021-03-03 22:27:30 +01:00
Hugo Locurcio
0d4d85fc54 Document false positives when using Embed Pck on Windows (#4600) 2021-03-03 22:25:46 +01:00
Hugo Locurcio
32d63409d8 Document the relative export path behavior in Command line tutorial (#4706)
This closes https://github.com/godotengine/godot/issues/46597.
2021-03-03 23:01:24 +01:00
Will Nations
d6eb1a30e2 Fix typo in GDScript Dude link (#4711) 2021-03-03 17:38:56 +01:00
Rev
5f29b92c72 Correct LTO RAM usage in compiling instructions (#4710) 2021-03-03 16:04:07 +01:00
Bengt Söderström
e2edc04ba6 Add missing C++17 flag for Windows build in GDNative SConstruct (#4709)
This matches macOS and Linux.
2021-03-03 15:15:46 +01:00
Rémi Verschelde
f73f012e8e Remove controversial satirical piece 🔥
This piece was written back in 2014 before open sourcing Godot, and while its
intent is to be sarcastic, it leaves ample room for misinterpretation.

The intended meaning of this piece was, and always has been, the following:

Exploitative game mechanics suck. Games are a beautiful and artful medium
which can provide players with a wide range of experiences: entertainment,
enlightenment, joy, sadness... Games can be just for fun or they can bear
a message. They can connect people with each other or open the player's mind.

Make games worth your players' time and their money, and do your best to do so
while running a successful and respectful business. Hugs <3

(cherry picked from commit b872229427)
2021-03-03 14:02:53 +01:00
nikitalita
c465fcd7c7 Clarify that MSVC build shell requirements (#4701)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-03-03 00:01:47 +01:00
Jayman2000
e9a70c42b9 Make example code less misleading in Optimization using Servers (#4707)
The variable used to be called "sprite", but it wasn't a Sprite. It was
a StreamTexture. Also, I added an underscore to the example path so that
it matches the documentation's recommendation for file names:
https://docs.godotengine.org/en/stable/getting_started/workflow/project_setup/project_organization.html#style-guide
2021-03-02 23:07:44 +01:00
Will Nations
41a9d17683 Add Godot Tutorials channel and info to 3.2 (#4702) 2021-03-02 15:10:19 +01:00
Hugo Locurcio
24bc07f219 Add .editorconfig and .gitattributes files for automatic settings
This smoothens the contribtor experience by automatically configuring
editors that support EditorConfig.

The `.gitattributes` file ensures that all files use LF line endings
when committed to Git.
2021-03-01 17:53:31 +01:00
Will Nations
4e18dcea82 Added Andrew Wilkes' video/text tutorial platforms (#4699)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-03-01 16:56:25 +01:00
TheGuideKnight
fad725a8ef Add @TheGuideKnight's 2D tutorial series to Tutorials and resources (#4592)
The playlist contains a tutorial for a 2D Breakout game, done entirely
in Godot.
2021-03-01 16:56:16 +01:00
Will Nations
be015ab23e Mention BornCG's 2D tutorials in Tutorials and resources (#4444) 2021-03-01 16:56:09 +01:00
Anton Ivanov
bcf9a86a08 CLion setup: Update path and screenshot for CMakeLists.txt (#4490) 2021-03-01 16:42:56 +01:00
Kowalski
6ef35292ce Add documentation for debugging Godot Engine with CLion (#4376)
Co-authored-by: Gwendhal CLAUDEL <gwendhal.claudel@epitech.eu>
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-03-01 16:42:46 +01:00
Adam Nash
317c229472 Add libstdc++-static to Fedora pre-compile one-liner (#4695)
This was required to compile version 3.2 on Fedora 33.

This might apply to other versions but I'm not sure.
2021-02-28 19:06:55 +01:00