summaryrefslogtreecommitdiff
path: root/doc/classes/@GlobalScope.xml
AgeCommit message (Collapse)Author
2021-11-25Enchance descriptions of @GlobalScope/@GDScriptYuri Roubinsky
2021-11-23Correct the doc about ease()kobewi
2021-11-17Expose `randfn` to global scopeYuri Roubinsky
2021-11-12Use "enum class" for input enumsAaron Franke
2021-11-09Merge pull request #53819 from TokageItLab/re-implement-ping-pongRémi Verschelde
Reimplement ping-pong animation and reverse playback
2021-11-06Merge pull request #54417 from Anutrix/global-scope-doc-updatesMax Hilbrunner
Added or improved function description and codeblocks in @GlobalScope.xml
2021-11-06Added or improved function description and codeblocks in @GlobalScope.xmlAnutrix
2021-11-03Rename `PROPERTY_USAGE_NOEDITOR` to `PROPERTY_USAGE_NO_EDITOR`Hugo Locurcio
This is consistent with other constants that include `NO`, such as `PROPERTY_HINT_COLOR_NO_ALPHA`.
2021-11-03reimplement ping-pongSilc 'Tokage' Renew
2021-10-11Revert "Implement reverse playback and ping-pong loop in AnimationPlayer and ↵Juan Linietsky
NodeAnimation"
2021-10-09implement ping-pong loop in animationTokage
Co-authored-by: Chaosus <chaosus89@gmail.com>
2021-10-05doc: Fix style inconsistencies for `[b]Note:[/b]` paragraphsRémi Verschelde
And fix up formatting not supported by makerst.
2021-10-01[Net] Rename RPC constants and annotation arguments.Fabio Alessandrelli
any -> any_peer sync -> call_local ordered -> unreliable_ordered Multiplayer.RPC_MODE_ANY -> RPC_MODE_ANY_PEER Multiplayer.TRANSFER_MODE_ORDERED -> TRANSFER_MODE_UNRELIABLE_ORDERED
2021-09-30Merge pull request #52874 from Calinou/doc-ease-smoothstepRémi Verschelde
2021-09-29Document how to use degrees with `sin()` and `cos()`Hugo Locurcio
This was already present in the `tan()` method description. This also adds `var` keywords to code samples to make them valid GDScript.
2021-09-21Add `print_verbose()` built-in function to print in verbose mode onlyHugo Locurcio
This can be used as a shorthand for: if OS.is_stdout_verbose(): print("...") Unlike `print_debug()`, this works in release builds too and can be toggled off in debug builds.
2021-09-20Improve the documentation for `ease()` and `smoothstep()`Hugo Locurcio
This adds a cheatsheet for `ease()` and a comparison graph for `smoothstep()`, among other things.
2021-09-14Rename VisualScriptEditor singleton to VisualScriptCustomNodesRémi Verschelde
Follow-up to #51916, fixes inconsistency between singleton name and class as documented in https://github.com/godotengine/godot/issues/52162#issuecomment-918979753.
2021-09-08Multiplayer networking renames/simplificationMax Hilbrunner
Removes _networking_ prefix from some methods and members, now that multiplayer has been largely moved out of Node and SceneTree and is seperated into its own set of classes.
2021-09-07Merge pull request #52442 from Faless/mp/4.x_rpc_managerMax Hilbrunner
[Net] Move multiplayer classes to own subfolder. Split RPC from MultiplayerAPI.
2021-09-07[Net] Move multiplayer to core subdir, split RPCManager.Fabio Alessandrelli
Move multiplayer classes to "core/multiplayer" subdir. Move the RPCConfig and enums (TransferMode, RPCMode) to a separate file (multiplayer.h), and bind them to the global namespace. Move the RPC handling code to its own class (RPCManager). Renames "get_rpc_sender_id" to "get_remote_sender_id".
2021-09-07Implement properties arrays in the Inspector.Gilles Roudière
2021-09-01Merge pull request #51987 from aaronfranke/fix-docs-gdvirtualGeorge Marques
Fix docs after GDVIRTUAL pull request
2021-08-31Remove cartesian2polar and polar2cartesiankobewi
2021-08-25Fix docs after GDVIRTUAL pull requestAaron Franke
2021-08-25Merge pull request #52023 from mhilbrunner/vs-fix-reloadedMax Hilbrunner
Fix VisualScriptEditor after namespaces
2021-08-24Fix Visual Script editorMax Hilbrunner
2021-08-23Expose RID creation utilities.reduz
* Exposed as utility functions. * Not very useful for script, but vital for creating servers using native extensions.
2021-08-23Implement NativeExtension pointer argumentsreduz
* Allows calling into native extensions directly with a pointer * Makes it easier to implement some APIs more efficiently * Appears with a "*" in the documentation for the argument. * Implementing the pointer handling is entirely up to the implementation, although the extension API provides some hint. * AudioStream has been implemented as an example, allowing to create NativeExtension based AudioStreams.
2021-08-22Replace BIND_VMETHOD by new GDVIRTUAL syntaxreduz
* New syntax is type safe. * New syntax allows for type safe virtuals in native extensions. * New syntax permits extremely fast calling. Note: Everything was replaced where possible except for `_gui_input` `_input` and `_unhandled_input`. These will require API rework on a separate PR as they work different than the rest of the functions. Added a new method flag METHOD_FLAG_OBJECT_CORE, used internally. Allows to not dump the core virtuals like `_notification` to the json API, since each language will implement those as it is best fits.
2021-08-11Docs: Fix capitalisation of Warning in two placesMax Hilbrunner
These are the only places in the docs that were not cased like this. Now they are!
2021-08-11Fix CI after #38992Max Hilbrunner
2021-08-11Merge pull request #38992 from Dragoncraft89/masterRémi Verschelde
Error handling functions for GdScript
2021-08-10Merge pull request #51017 from vnen/extension-fixesRémi Verschelde
2021-08-08[Text Server] Improve object (image/table) inline alignment.bruvzg
2021-08-06Bind missing constants from PropertyHint and PropertyUsageGeorge Marques
2021-07-30Remove obsolete "dectime" methodAaron Franke
Replaced by "move_toward"
2021-07-30doc: Use self-closing tags for `return` and `argument`Rémi Verschelde
For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there.
2021-07-24Implement Resource UIDsreduz
* Most resource types now have unique identifiers. * Applies to text, binary and imported resources. * File formats reference both by text and UID (when available). UID always has priority. * Resource UIDs are 64 bits for better compatibility with the engine. * Can be represented and used textually, example `uuid://dapwmgsmnl28u`. * A special binary cache file is used and exported, containing the mappings. Example of how it looks: ```GDScript [gd_scene load_steps=2 format=3 uid="uid://dw86wq31afig2"] [ext_resource type="PackedScene" uid="uid://bt36ojelx8q6c" path="res://subscene.scn" id="1_t56hs"] ``` GDScript, shaders and other special resource files can't currently provide UIDs, but this should be doable with special keywords on the files. This will be reserved for future PRs.
2021-07-13Add type variations to ThemeYuri Sizov
2021-07-02Improve and clarify documentation for RandomNumberGeneratorHugo Locurcio
2021-06-30Fix editor suffixes and degrees conversionreduz
* Functions to convert to/from degrees are all gone. Conversion is done by the editor. * Use PROPERTY_HINT_ANGLE instead of PROPERTY_HINT_RANGE to edit radian angles in degrees. * Added possibility to add suffixes to range properties, use "min,max[,step][,suffix:<something>]" example "0,100,1,suffix:m" * In general, can add suffixes for EditorSpinSlider Not covered by this PR, will have to be addressed by future ones: * Ability to switch radians/degrees in the inspector for angle properties (if actually wanted). * Animations previously made will most likely break, need to add a way to make old ones compatible. * Only added a "px" suffix to 2D position and a "m" one to 3D position, someone needs to go through the rest of the engine and add all remaining suffixes. * Likely also need to track down usage of EditorSpinSlider outside properties to add suffixes to it too.
2021-06-25Implement native extension systemreduz
* Deprecates GDNative in favor of a simpler, lower level interface. * New extension system allows registering core engine classes. * Simple header interface in gdnative_interace.h
2021-06-19Consolidate JSON, JSONParseResults and JSONParser into JSONMarcel Admiraal
Renames JSON.parse_string() to parse() Renames JSON.decode_data() to stringify()
2021-06-11Add Time singletonAaron Franke
2021-06-04Rename Quat to QuaternionMarcel Admiraal
2021-06-03Update documentation for Transform3DAaron Franke
2021-05-07Rename "Control" key to "Ctrl" and add "_pressed" suffix to all ↵Lightning_A
InputEventWithModifiers properties/methods
2021-05-04Re-bind posmod, use int64_t instead of intRémi Verschelde
Fixes #48420, fixes #48421. The binding was missed when moving GDScript built-in to Global Scope it seems. Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>
2021-04-27Add error_string functionFlorian Kothmeier