summaryrefslogtreecommitdiffstats
path: root/doc/classes/@GlobalScope.xml
Commit message (Collapse)AuthorAgeFilesLines
* Improve documentation on `@GlobalScope.PROPERTY_USAGE_SCRIPT_VARIABLE`Hugo Locurcio2024-11-141-1/+1
|
* Fix more miscellaneous oddities around the class referenceMicky2024-11-121-3/+3
|
* Clarification to the description of Global scope in regards to GDScriptBrian Huynh2024-10-231-1/+1
| | | | | | | | | | | | | | | | | | | | | Previous wording said that @GDScript referred to entries that could be accessed in any script. Although with common sense we could imagine that it is only refering to GDScript specific pieces of code, the wording is a little unclear. In general there are small changes to the wording which makes it more clear and concise. Wording change Tried to match the wording up with my last change which should make it a bit easier to parse at a glance what the docs mean by "from any script" Changed language from "not specific to" to "which work in any language" After consulting multiple people the new wording seems easier to parse, even for non coders Update doc/classes/@GlobalScope.xml Update modules/gdscript/doc_classes/@GDScript.xml Update modules/gdscript/doc_classes/@GDScript.xml Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com>
* Docs: remove duplicate wordsMax Hilbrunner2024-09-301-1/+1
|
* Add `@export_tool_button` annotation for easily creating inspector buttonsDanil Alexeev2024-09-271-1/+9
| | | | | | Co-authored-by: jordi <creptthrust@gmail.com> Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> Co-authored-by: Mack <86566939+Macksaur@users.noreply.github.com>
* [Core] Add `Engine.print_to_stout` setting to control printingA Thousand Ships2024-09-221-1/+1
| | | | | Also added notes to the related project settings pointing to the `Engine` properties.
* Merge pull request #78656 from Repiteo/typed-dictionaryRémi Verschelde2024-09-061-1/+4
|\ | | | | | | Implement typed dictionaries
| * Implement typed dictionariesThaddeus Crews2024-09-041-1/+4
| |
* | Merge pull request #96496 from aXu-AP/lerp-transformRémi Verschelde2024-09-051-3/+3
|\ \ | |/ |/| | | Add support for Transform2D/3D in `lerp()`
| * Add support for Transform2D/3D in lerp()aXu-AP2024-09-031-3/+3
| | | | | | | | Implements godotengine/godot-proposals#10579
* | Fix ambiguity in angle_difference function documentationLuna2024-09-031-1/+1
|/ | | | Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
* Remove empty `[b]Example:[/b]` lines from the class referenceMicky2024-08-191-8/+4
|
* This PR handles the smoothstep degenerate case where the range is empty.Malcolm Nixon2024-08-151-2/+4
| | | | | | | It also updates the documentation to describe positive and negative ranges. Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro> Co-Authored-By: kleonc <9283098+kleonc@users.noreply.github.com>
* Fix unclear `PROPERTY_USAGE_STORAGE`/`EDITOR` descriptionMickey Ordog2024-07-171-2/+2
|
* Merge pull request #91557 from AThousandShips/dotnet_doc_fixRémi Verschelde2024-05-211-3/+0
|\ | | | | | | [C#] Unexpose `GodotSharp`
| * [C#] Unexpose `GodotSharp`A Thousand Ships2024-05-041-3/+0
| | | | | | | | | | This class seems to have been exposed accidentally, and breaks documentation on non-mono builds, requiring hacks
* | Add notes for remap's return when istart and istop are the sameJoel Kuntz2024-05-071-0/+1
|/ | | | | Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com> Co-Authored-By: kleonc <9283098+kleonc@users.noreply.github.com>
* Add PackedVector4Array Variant typeK. S. Ernest (iFire) Lee2024-05-031-2/+5
| | | | | Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* Expose `Vector*` component-wise and scalar `min/max` to scriptingA Thousand Ships2024-05-021-0/+2
|
* doc: Clarify where `printraw()` output can be seen in the OS terminalAmirtha Krishnan2024-04-121-0/+1
| | | | Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* Use `[codeblock lang=text]` more often in class refMicky2024-04-081-6/+6
|
* [Doc] Fix some incorrect uses of `a/an`A Thousand Ships2024-03-131-2/+2
|
* [NativeMenu] Add checks to avoid unnecessary warnings.bruvzg2024-03-071-0/+4
| | | | | | | Added by Rémi: Add dummy NativeMenu to DisplayServerHeadless, fixing crashes when using `--headless`. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* Overhaul some "uncommon" wording in class referenceMicky2024-03-011-5/+6
|
* Add keywords to improve search in the class referenceHugo Locurcio2024-02-221-6/+6
|
* Update many Deprecated/Experimental descriptions for consistencyMicky2024-02-171-4/+4
|
* Documentation: Add support for deprecated/experimental messagesDanil Alexeev2024-02-151-11/+4
|
* Update class reference to include some keywordsRedMser2024-02-091-1/+1
| | | | More should be added in future PRs, wherever there is demand.
* Merge pull request #86693 from Mickeon/doc-peeves-midiiiiiiRémi Verschelde2024-01-291-19/+24
|\ | | | | | | Improve all documentation about MIDI support
| * Overhaul documentation about MIDI supportMicky2024-01-261-19/+24
| |
* | Add InputEventKey.location to tell left from rightMel Collins2024-01-261-0/+10
|/ | | | | | | | | | This adds a new enum `KeyLocation` and associated property `InputEventKey.location`, which indicates the left/right location of key events which may come from one of two physical keys, eg. Shift, Ctrl. It also adds simulation of missing Shift KEYUP events for Windows. When multiple Shifts are held down at the same time, Windows natively only sends a KEYUP for the last one to be released.
* Merge pull request #79813 from AThousandShips/callable_docYuri Sizov2024-01-241-0/+2
|\ | | | | | | Clarify that `Callable` will not be encoded with `var_to_bytes`
| * Clarify that `Callable` will not be encoded with `var_to_bytes`A Thousand Ships2024-01-071-0/+2
| |
* | Handle clickable `[url]` tags in `print_rich()` editor output logHugo Locurcio2024-01-151-0/+1
|/ | | | | Since this uses `OS.shell_open()`, this allows the use of any standard URL including `file://` paths, `mailto:`, custom protocols set up by the user, etc.
* Clarify that `@GlobalScope.clamp` does not do component-wise clampingA Thousand Ships2023-12-261-13/+2
|
* Merge pull request #84652 from timothyqiu/enum-punYuri Sizov2023-12-191-1/+1
|\ | | | | | | Avoid punning enum names in documentation
| * Avoid punning enum names in documentationHaoyu Qiu2023-11-091-1/+1
| |
* | Fill remaining global scope constant descriptionskobewi2023-11-131-4/+29
| |
* | Explain circular references and how to break themHaoyu Qiu2023-11-111-1/+1
|/ | | | Also improves the documentation of `weakref`.
* GDScript: Fix incorrect error message for utility functionsDanil Alexeev2023-10-161-3/+3
|
* Add documentation on which buttons JOY_BUTTON_START corresponds toRobTheFiveNine2023-10-081-1/+1
|
* Merge pull request #82691 from YuriSizov/rst-validate-with-exceptionsRémi Verschelde2023-10-041-6/+6
|\ | | | | | | Validate `code` tags for class and member references
| * Validate `code` tags for class and member referencesYuri Sizov2023-10-031-6/+6
| | | | | | | | | | | | | | | | This commit also adds means to manually disable warnings in `code` tags where it's a false positive with the new `skip-lint` attribute. Warnings are now enabled on CI to prevent future errors.
* | Add type_string() utilityJakub Janšta2023-10-021-0/+14
|/
* Add rotate_toward and angle_difference to GDScript and C#etti2023-10-011-0/+19
|
* Replace `radians` range hint with `radians_as_degrees`A Thousand Ships2023-09-251-1/+1
|
* Merge pull request #81464 from AcatXIo/fix-sign-nanRémi Verschelde2023-09-121-2/+5
|\ | | | | | | Fix `SIGN(NAN)` returning 1
| * Fix sign(NAN) returning 1.AcatXIo2023-09-091-2/+5
| | | | | | | | | | Fixes #79036. sign(NAN) now returns 0. This should not impact performance much in any way. Adds a test for the NAN case. Updates the documentation to clarify the new behavior.
* | Add a type conversion method to Variant Utility and expose to scriptingAaron Franke2023-09-081-0/+17
|/
* Add inverse hyperbolic functions `asinh()`, `acosh()` & `atanh()`Jcrespo2023-09-011-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GDScript has the following built-in trigonometry functions: - `sin()` - `cos()` - `tan()` - `asin()` - `acos()` - `atan()` - `atan()` - `sinh()` - `cosh()` - `tanh()` However, it lacks the hyperbolic arc (also known as inverse hyperbolic) functions: - `asinh()` - `acosh()` - `atanh()` Implement them by just exposing the C++ Math library, but clamping its values to the closest real defined value. For the cosine, clamp input values lower than 1 to 1. In the case of the tangent, where the limit value is infinite, clamp it to -inf or +inf. References #78377 Fixes godotengine/godot-proposals#7110