Commit Graph

1523 Commits

Author SHA1 Message Date
hpnrep6
ac54967162 Adjust GDscript example formatting in Using Containers (#5020) 2021-06-19 22:08:02 +02:00
hpnrep6
b2579e9cef Add C# variant tab to Pausing games example (#5011)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-06-18 03:58:42 +02:00
hpnrep6
c4e48d5ba0 Fix C# code label in Multimesh example (#5008) 2021-06-17 22:52:42 +02:00
DeeJayLSP
b1c6f4ac40 Remove pleonasm in Localization using gettext (#4968)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-06-07 21:58:32 +02:00
Rémi Verschelde
c7059a2bd2 Optimize recently changed autotile 3x3minimal PNGs
(cherry picked from commit b2692d0eb4)
2021-06-02 13:28:41 +02:00
golddotasksquestions
0775da4b0f Marking overlapping wall areas gey in tileset template images
(cherry picked from commit 2f1cf06df5)
2021-06-02 13:26:32 +02:00
skyace65
bfa3a21dc9 Fix GDNative C example
(cherry picked from commit 3635d341e2)
2021-06-02 13:17:19 +02:00
Hugo Locurcio
4a5fcf25d1 Rename documentation pages that have the same name as classref pages
This prevents confusion in search engine results.

(cherry picked from commit 6babc68649)
2021-06-02 13:17:03 +02:00
Hugo Locurcio
d5a93b6a0a Fix another code sample using unsupported C# syntax in Input examples 2021-05-19 23:13:05 +02:00
Hugo Locurcio
bcc17ae216 Fix unsupported C# syntax in Input examples code sample
This caused a warning in the Sphinx lexer, which turns into an error
on the GitHub Actions CI.
2021-05-19 17:43:46 +02:00
Hugo Locurcio
1293ac15f8 Document disabling automatic translation in Internationalizing games
(cherry picked from commit 8000d8f317)
2021-05-18 12:34:14 +02:00
skyace65
4406ada73f Remove reference to 3.0 from 2D lights and shows
(cherry picked from commit 871422f576)
2021-05-18 12:34:14 +02:00
BlueStag
5ef6d34737 Fixed "GetNode" inconsistency
See #4794

(cherry picked from commit 4cfe07b696)
2021-05-18 12:25:17 +02:00
obviousscholar
747f4c6447 Add note about shadow casting and light cull masks in 3D lights and shadows (#4925)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-05-17 23:50:15 +02:00
insomniac_lemon
2df983bf08 Add info on sending quit requests properly in Handling quit requests (#4911)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-05-14 21:46:00 +02:00
Hugo Locurcio
7558752aec Document how to support portrait and landscape in Multiple resolutions (#4872) 2021-05-01 22:07:47 +02:00
smix8
0f3b43de49 doc AnimationNodeTimeSeek clarify usage and code example
doc AnimationNodeTimeSeek clarify usage and code example

(cherry picked from commit 274a98b410)
2021-04-26 16:57:09 +02:00
Erik Vroon
c8e3b8417d Fix entry type in C# example for loading savegames (#4850) 2021-04-25 22:09:38 +02:00
Dennis Brakhane
8051d468d5 Clarify 'bgr' swizzle example in Shading language (#4868)
Saying that "order does not matter" is wrong or at least misleading.

This commit changes the comment to show that vector components can be
combined freely, and the order matters.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-04-25 22:07:38 +02:00
TchnlgPsnt
16e3caeab9 Fixed small mistake in example (Thread Safe APIs) (#4778)
Though it's a bit unrelated to the topic of this file, the example demonstrated creating an instance of an instance of a scene.

(cherry picked from commit a0916221b3)
2021-04-21 15:05:38 +02:00
golddotasksquestions
747dcf4038 Removing " a" (singular) in front of "ViewportContainers" (plural)
This is basically a test for me in order to learn how to properly submit PRs, while also doing something tiny bit useful.

My 4th attempt at doing this correctly. This time from separate branch to master :)

(cherry picked from commit d4b7b9ec6f)
2021-04-21 15:01:32 +02:00
Hugo Locurcio
c579192d05 Fix "SurfaceTool" link pointing to itself in Using the SurfaceTool (#4832) 2021-04-11 22:20:20 +02:00
Jason Liu
066be80a40 Add macOS instructions for MacPorts to go alongside Homebrew (#4827) 2021-04-09 22:29:59 +02:00
Emily
16f8876b42 Replace single quotes with double in 2D movement
(cherry picked from commit d85b9bf5dc)
2021-04-06 22:59:52 +02:00
Matthew
8758dd6185 Document physics material (#4817)
(cherry picked from commit b999f71b09)
2021-04-06 09:54:33 +02:00
skyace65
95f0bd2b82 Clarify optimization instructions
(cherry picked from commit 2ed5a65822)
2021-04-06 09:53:33 +02:00
Fabio Alessandrelli
57b17e5af7 [3.2] [HTML5] Point to 3.2 html5 shell example.
Direct reference to GitHub is removed in 3.3/master in favour of a
minimal emvedded example after the rewrite of the JS interface.
2021-03-31 18:28:54 +02:00
Fabio Alessandrelli
8546afce1f Revert "Update HTML5 classref with autogenerated jsdoc."
This reverts commit 58690b4c0a.
2021-03-31 18:26:23 +02:00
Hugo Locurcio
ed216f629d Document how to avoid light leaks in GI Probes (#4784) 2021-03-28 15:07:50 +02:00
31
c8bc1d18ab Fix C# IntersectRay usage: 'exclude' is a Godot Array (#4785) 2021-03-28 03:06:04 +02:00
Rémi Verschelde
e0e14e9435 Remove documentation specific to 3.2.4 (now 3.3, in its own branch) 2021-03-19 14:22:36 +01:00
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
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
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
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
Hugo Locurcio
0c44238adf Update copyright statements in Complying with licenses
- Improve formatting and writing.
2021-03-13 19:38:10 +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
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
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
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
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
Hugo Locurcio
78d451e925 Remove Xbox One from the platforms provided by Lone Wolf Technology (#4690)
This closes https://github.com/godotengine/godot-docs/issues/4688.
2021-02-27 19:19:06 +01:00