summaryrefslogtreecommitdiff
path: root/modules/gdscript/doc_classes
AgeCommit message (Collapse)Author
2020-07-31Merge pull request #40903 from Calinou/doc-jsonRémi Verschelde
Improve JSON-related documentation
2020-07-31Improve JSON-related documentationHugo Locurcio
This closes https://github.com/godotengine/godot-docs/issues/3848.
2020-07-30doc: Fix typo in BBcode tagRémi Verschelde
2020-07-28doc: Sync classref with current sourceRémi Verschelde
2020-07-25GDScript: Clarified/fixed inaccuracies in the built-in function docs.Meriipu
The input to smoothstep is not actually a weight, and the decscription of smoothstep was pretty hard to understand and easy to misinterpret. Clarified what it means to be approximately equal. nearest_po2 does not do what the descriptions says it does. For one, it returns the same power if the input is a power of 2. Second, it returns 0 if the input is negative or 0, while the smallest possible integral power of 2 actually is 1 (2^0 = 1). Due to the implementation and how it is used in a lot of places, it does not seem wise to change such a core function however, and I decided it is better to alter the description of the built-in. Added a few examples/clarifications/edge-cases.
2020-07-21Update core documentation to match recent C# changesAaron Franke
Also a few minor API changes like adding AABB.abs() Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2020-06-28Improve the preload and load descriptionsTomasz Chabora
2020-04-29[Core] Rename linear_interpolate to lerpAaron Franke
2020-04-20DocData: Skip unexposed classesRémi Verschelde
Properly expose classes that we actually want accessible.
2020-03-31Add missing docs for assert message in GDScriptThomas ten Cate
Seems like this was overlooked in PR #31142. See also issue #17082.
2020-03-30doc: Update classref with node renamesRémi Verschelde
A few extra renames for classes which were missed in last week's PRs.
2020-02-28Merge pull request #36620 from Calinou/doc-linear2db-exampleRémi Verschelde
Add a practical example for `@GDScript.linear2db()`
2020-02-27Add a practical example for `@GDScript.linear2db()`Hugo Locurcio
One of its most common applications in games is for volume sliders. See https://www.dr-lex.be/info-stuff/volumecontrols.html for more information.
2020-02-27Improve the `@GDScript.inverse_lerp()` documentationHugo Locurcio
This closes https://github.com/godotengine/godot-docs/issues/2589.
2020-02-18doc: Sync classref with current sourceRémi Verschelde
Handle removal of Pool*Array types and other recent changes.
2020-02-12Remove deprecated decimals builtinRémi Verschelde
Replaced by 'step_decimals' in 3.2 via #21425.
2020-01-31Update docs to version 4.0clayjohn
2020-01-26Merge pull request #35589 from akien-mga/doc-drop-category-propertyRémi Verschelde
doc: Drop unused 'category' property from header
2020-01-26doc: Do not expose Variant::NIL as a type in the class referenceRémi Verschelde
Fix signals Variant arguments incorrectly listed as Nil. Fixes #12520.
2020-01-26doc: Drop unused 'category' property from headerRémi Verschelde
We already removed it from the online docs with #35132. Currently it can only be "Built-In Types" (Variant types) or "Core" (everything else), which is of limited use. We might also want to consider dropping it from `ClassDB` altogether in Godot 4.0.
2020-01-26doc: Document named color constantsRémi Verschelde
Busywork but it's good for our completion rate :)
2019-12-16Merge pull request #34280 from zaksnet/fix-yield-documentationRémi Verschelde
Fix documentation for yield
2019-12-15Updates docs for GDScript built-in functionsHaoyu Qiu
* Adds description for `ord()` * Adds relationship description between `char()` and `ord()` * Describes the argument of `char()` as Unicode code point instead of ASCII code * Fixes wrong interval notation in `randi()` description
2019-12-13Fix documentation for yieldZak
#33872 PR was misleading as i though inheritance from GDScriptFunctionState was optional.
2019-12-11Add note in 'load()' docs that the path must be absoluteMichael Alexsander
2019-12-06doc: Markup fixes for enums and constantsRémi Verschelde
2019-12-03Mention that `int()` can be used as an alternative to `floor()`Hugo Locurcio
2019-11-30Add docs for is_equal_approx on structuresAaron Franke
2019-11-30Fixed typo in docs for Script and GDScript classes ("exends" -> "extends")miere43
2019-11-26Remove type hint from the @GDScript class documentationHugo Locurcio
The current consensus in the Godot documentation is to avoid using type hints unless they're relevant to the behavior explained.
2019-11-25Added missing documentation for yield()Zak Stam
Added some missing documentation about yield() being able to wait for a function also. I cant believe something like that was missing from the docs, it would have saved me so much time (and others i assume).
2019-11-07Merge pull request #33257 from aaronfranke/printrawRémi Verschelde
Document behavior of GDScript printraw
2019-11-02Document behavior of printrawAaron Franke
2019-11-02Fix Color8 GDScript documentationAaron Franke
2019-10-01Print errors when tab indent found in [codeblock]Yeongho Kim
2019-09-24doc: Sync classref with current sourceRémi Verschelde
Fix a few missing bindings or unspecified argument names and default values.
2019-08-29doc: Sync classref with current sourceRémi Verschelde
2019-08-29Updated description for "stepify"Thomas Karcher
Mentioned the possibility to use stepify as a rounding function; +code examples
2019-07-29Add a reference to pow to the description of exp.Kaligule
This might be especially usefull since godot script doesn't support ** or ^ as operators, so beginners might search for the exponential function, when what they really need is the pow function. This is exactly what happened to me and since I couldn't find helpfull information in the documentation I had to look it up online, where I found the answer on a helpfull [reddit thread](https://www.reddit.com/r/godot/comments/3mvwz0/how_do_i_do_exponents_in_godot/). @akien-mga told me how to reference methods here: godotengine#30909
2019-07-23Inspector: Make default float step configurableRémi Verschelde
Also allow lifting the decimal step formatting with a hint range step of 0. A new `range_step_decimals()` is added for this to avoid breaking compatibility on the general purpose `step_decimals()` (which still returns 0 for an input step of 0). Supersedes #25470. Partial fix for #18251.
2019-07-22doc: Sync classref with current sourceRémi Verschelde
2019-07-20Added lerp_angles built-in functionChaosus
Co-authored-by: Xrayez <https://github.com/Xrayez> Co-authored-by: DleanJeans <https://github.com/DleanJeans>
2019-07-18Add integer posmod and rename default arg namesAaron Franke
"posmod" is the integer version of "fposmod". We do not need a "mod" because of the % operator. I changed the default arg names from "x" and "y" to "a" and "b" because they are not coordinates. I also changed pow's arg names to "base" and "exp". Also, I reorganized the code in the VS built-in funcs switch statement.
2019-06-27Proofread and improve the whole class referenceHugo Locurcio
- Document a few more properties and methods - Add more information to many classes - Fix lots of typos and gramar mistakes - Use [code] tags for parameters consistently - Use [b] and [i] tags consistently - Put "Warning:" and "Note:" on their own line to be more visible, and make them always bold - Tweak formatting in code examples to be more readable - Use double quotes consistently - Add more links to third-party technologies
2019-06-25Extends wrapi/wrapf docsChaosus
2019-06-18doc: Improve docs for Resource* classesRémi Verschelde
Also move module-specific classes to their own module's `doc_classes` folder.
2019-04-19doc: Drop unused <demos> tagRémi Verschelde
2019-04-01doc: Bump version to 3.2Rémi Verschelde
2018-11-05doc: Use HTTPS for docs.godotengine.org and point to latest branchRémi Verschelde
Fixes #23509.
2018-06-12Add support for tutorial links to makerst.pyrobojumper
Also change the <tutorials> structure to make use of individual <link> tags