A Thousand Ships
3a004fdbcc
Fix mixup between translated and translated_local
...
(cherry picked from commit afb22f1bb7 )
2024-07-24 21:03:37 +02:00
Max Hilbrunner
0129a31803
Merge pull request #9099 from broquaint/fix-incorrect-empty-call-for-rng-tutorial
...
Change call from empty to is_empty in RNG tutorial
(cherry picked from commit ea77d5a395 )
2024-05-07 12:57:03 +02:00
Yuri Sizov
cd92be066d
Update references to private class methods across the docs
2023-11-10 16:06:36 +01:00
Hugo Locurcio
ca3c2e9e8d
Document cryptographically secure random number generation
...
- Mention which PRNG Godot internally uses.
2023-10-28 02:32:08 +02:00
Paul Joannon
a60ab49aac
Fix some forgotten lowercase x/y/z
2023-10-21 21:23:01 +02:00
Yuri Roubinski
8377137565
Simplify code for retrieving direction vectors
2023-09-12 11:04:55 +03:00
Max Hilbrunner
fa01e18ae3
Merge pull request #7655 from Calinou/fix-backticks
2023-07-18 13:21:11 +02:00
Markus Sauermann
2eafb5c591
Fix wording for scalar multiplication of vectors ( #7631 )
...
Also add an example for multiplication with a negative scalar
2023-07-17 17:16:09 +02:00
Hugo Locurcio
df904137db
Fix incorrect usage of backticks in various pages
2023-07-14 19:31:01 +02:00
Matthew
bf3954ef84
Merge pull request #7463 from nanodeath/interpolate_baked
...
Replace references to interpolate_baked with sample_baked.
2023-06-18 21:52:50 -04:00
Rémi Verschelde
c0761647f4
Tweak Vector math page (style, links, more notes)
...
Also cleanup style issues in the docs image guidelines.
2023-06-12 14:51:16 +02:00
Max
7d4f53ef28
Replace references to interpolate_baked with sample_baked.
...
It looks like this method was renamed in v4, but not fully updated in beziers_and_curves.rst.
2023-06-03 20:14:23 -07:00
Anthony Good
a54fffd60a
Access NoiseType on FastNoiseLite class
...
Fixes 'Identifier "NoiseType" not declared in the current scope' when following example.
2023-06-01 20:44:17 +01:00
yashmistri
e6cd08fa79
Fix vector math tutorial
2023-05-20 15:06:56 -04:00
Raul Santos
c457ab79ec
Update some C# examples
...
- Rename members that have been renamed in Godot's C# API for 4.0.
- Change `delta` parameter type to `double`.
- Ensure parameters match base declaration.
- Follow our code style more closely.
- Other minor code fixes.
2023-05-18 13:14:05 +02:00
Arpit Srivastava
258a980fb1
Update matrices_and_transforms.rst ( #6922 )
...
Remove mention of Spatial matrix being transposed in Godot 3.2. Keep note being unable to edit Node2D's matrix in the Inspector.
2023-03-14 17:57:43 -05:00
Clemens Tolboom
36c87b3400
Make more explicit there are noise_types. ( #6802 )
...
* Make more explicit there are noise_types.
It helped me to convert https://docs.godotengine.org/en/stable/classes/class_opensimplexnoise.html to know of types in this example.
2023-02-24 15:09:02 +01:00
Clemens Tolboom
34712bb919
There is no 4D noise in base Noise
2023-02-22 16:00:54 +01:00
Raul Santos
b319da3f07
Update some C# examples for 4.0 ( #6693 )
...
* Update some C# examples
- Rename members that have been renamed in Godot's C# API for 4.0.
- Change `delta` parameter type to `double`.
- Ensure parameters match base declaration.
- Other minor code fixes.
---------
Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com >
2023-02-04 17:03:03 +01:00
Yuri Rubinsky
d85afb42f5
Remove incorrect sentence in tutorial of random_number_generation
2022-12-15 15:05:07 +03:00
Max Hilbrunner
99d3d0be12
Renames / fixes for Godot 4
2022-10-17 00:35:07 +02:00
Max Hilbrunner
198393eec7
More Godot 4 rename fixes ( #6315 )
...
* Spatial -> 3D, Transform, Quaternion
* File -> FileAccess
* Camera -> Camera3D
* Update references to MeshInstance and MultiMeshInstance
* ImmediateGeometry -> ImmediateMesh, misc renames
2022-10-15 20:54:47 +02:00
Max Hilbrunner
b82cd0690d
A bunch of renames for Godot 4.0
2022-10-15 18:19:12 +02:00
Max Hilbrunner
024fedb0f3
Kinematic -> Character
2022-10-15 17:55:24 +02:00
Saarg
5f53d1d03d
Update references to OpenSimplexNoise to use FastNoiseLite
2022-08-16 17:50:48 -04:00
Aaron Franke
503511ce30
Improve wording in Matrices and Transforms article, update for Godot 4
2022-07-02 11:25:23 -05:00
Aaron Franke
da14b8000d
Add C# code examples (salvage of VinnNo's PRs)
2022-04-29 08:08:09 -05:00
Arpit Srivastava
bee17514c9
Fix missing word in Beziers, curves and paths ( #5654 )
2022-02-27 19:18:53 +01:00
Rémi Verschelde
9a05eef561
4.0: Convert Sprite references to Sprite2D
...
Some screenshots will need to be updated so that the scene structures shown
in screenshot fit what the code blocks are referring to.
2021-10-06 14:29:55 +02:00
Aaron Franke
5c7f653347
Optimize PNG and SVG images using oxipng and svgcleaner ( #5254 )
2021-09-14 17:50:17 +02:00
Selgesel
8f4fbffaf7
Fix cubic interpolation method reference links ( #5221 )
2021-09-02 12:54:32 +02:00
Marcin Sędłak-Jakubowski
bd19917ea0
Draft: Remove "simple", "simply", "easy", and "just" from the docs ( #4496 )
...
* Various style edits
* Edit out "simple" when possible
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com >
Co-authored-by: Clay John <claynjohn@gmail.com >
2021-07-11 14:38:53 +02:00
soringherghisan
94ff2dde80
Random number generation: Fix comment for randi_range() example ( #4998 )
2021-06-15 19:09:20 +02:00
Rémi Verschelde
044b6a74f8
Cleanup uses of double spaces between words or after punctuation
2021-06-07 10:44:02 +02:00
BlueStag
4cfe07b696
Fixed "GetNode" inconsistency
...
See #4794
2021-04-27 17:07:52 +01:00
zacryol
1fc21c57ec
Fix description of randfn() in Random number generation ( #4759 )
2021-03-16 22:05:06 +01:00
Samuel Laferriere
9458eec42b
Fix GDScript code sample in Matrices and transforms ( #4731 )
2021-03-09 02:51:29 +01:00
Hugo Locurcio
54c83c3e4a
Add a background to math formulas to make them readable on dark theme ( #4288 )
...
This closes #4286 .
2020-10-22 20:02:17 +02:00
Nathan Lovato
06353e8635
Fix indentation in vector_math.rst, fill at 80 characters
2020-10-11 11:23:29 -06:00
Nathan Lovato
b56d20d3a6
Update tutorials/math/vector_math.rst
2020-10-11 10:25:26 -06:00
Arpit Srivastava
4b323d566e
Update vector math doc
...
In the section explaining about normalizing a vector. In the warning, it says we cannot normalize a vector with a length of 0. And doing so will result in an error.
But after testing out normalizing a vector ( via normalized() function ), no errors are reported. Also printing out to the console shows (0, 0, 0) as the output. Similarly, normalizing manually by dividing it by the length shows strange result if printed out, but still no error.
I think GDScript ( not tested with other languages ) handles normalization of vector in such a way that we don't have to worry about normalizing a vector of length 0 ( only when done through normalized() function ).
2020-10-11 19:47:56 +05:30
Hugo Locurcio
5b66b08787
Fix syntax error in the randi_range() example in the RNG tutorial
2020-10-02 13:39:49 +02:00
Nathan Lovato
5546ec3f90
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
2020-09-30 16:42:28 -06:00
Hugo Locurcio
7d9ffa77a7
Add a random number generation tutorial
...
This closes #2436 .
2020-09-30 16:42:22 +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
c58ed951a1
Drop LaTeX dependency via usage of sphinx.ext.imgmath in Vector Math tutorial
...
It's the only tutorial where we used the extension for *3* formulas which anyway
ended up as fairly low res static images generated by sphinx.ext.imgmath, so
requiring ~1 GB of LaTeX setup for it is overkill.
The replacement pictures are the ones generated by sphinx.ext.imgmath, we could
replace them by higher resolution ones.
2020-07-15 09:58:21 +02:00
Rémi Verschelde
ce7a9a6eab
Images: Remove unused images (no 'image::' or 'figure::' reference)
2020-06-05 14:43:20 +02:00
Duroxxigar
a7ff290bb7
Adjusted wording for matrices and transforms to be more friendly
2020-06-04 23:33:23 -04:00
Hugo Locurcio
4f6fdbc710
Fix various spacing and capitalization issues
2020-05-18 09:54:32 +02:00
Hugo Locurcio
d494d19dac
Remove trailing whitespace and irregular whitespace
2020-05-17 00:26:19 +02:00