Commit Graph

13 Commits

Author SHA1 Message Date
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
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
Saarg
5f53d1d03d Update references to OpenSimplexNoise to use FastNoiseLite 2022-08-16 17:50:48 -04:00
Aaron Franke
da14b8000d Add C# code examples (salvage of VinnNo's PRs) 2022-04-29 08:08:09 -05:00
soringherghisan
94ff2dde80 Random number generation: Fix comment for randi_range() example (#4998) 2021-06-15 19:09:20 +02:00
zacryol
1fc21c57ec Fix description of randfn() in Random number generation (#4759) 2021-03-16 22:05:06 +01:00
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