9 Commits

Author SHA1 Message Date
Aaron
81f1db2ca8 Fix the spelling and example list code. 2023-07-19 12:15:22 -04:00
Max Hilbrunner
6c13f5ba58 More Godot 4 renames and fixes (#6317)
* Move ImmediateGeometry -> ImmediateMesh

* More Godot 3 -> Godot 4 renames
2022-10-15 23:12:48 +02:00
HolonProduction
b0001380c0 Improve description of range function.
Fixes #5763

The description from before did not take negative `s` into account.
2022-10-07 23:30:45 +02:00
Kevin Conner
c6e58d8fad Remove an incorrect distinction drawn with Objective-C (#5224)
An Objective-C method call will not be ignored when the object doesn't
define the method. It will crash with a runtime exception.

The author may have been thinking of the way an Objective-C method call
will be ignored when the object is nil. But that's not the case when the
object is there and lacks the method. In that case, the runtime will
call -doesNotRecognizeSelector:. The default behavior in the root class
NSObject is to raise an exception (not the try/catch kind; a similar
case is array bounds checks) and deliberately crash.

https://developer.apple.com/documentation/objectivec/nsobject/1418637-doesnotrecognizeselector?language=objc
2021-09-05 18:48:16 +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
saolof
6377b21b22 Update gdscript_advanced.rst 2021-04-22 06:42:29 -04:00
saolof
5cf04ee69c Update gdscript_advanced.rst 2021-04-21 19:55:50 -04:00
saolof
15bcf71083 Minor change to section on for loop syntax
The C-like for loop is specific to languages that wanted to copy C syntax and has nothing to do with static vs dynamic typing. Most new languages do not have it and have a foreach loop over iterators instead, regardless of whether they are statically typed or not.
2021-04-21 18:53:34 -04:00
Nathan Lovato
4272395ab7 Move scripting section to tutorials/
Closes #4113
2020-10-07 14:05:48 -06:00