Leonard Meagher
f7eb426e2e
Allow overriding how scripted objects are converted to strings
...
solves #26796
- ADD `String to_string()` method to Object which can be overriden by `String _to_string()` in scripts
- ADD `String to_string(r_valid)` method to ScriptInstance to allow langauges to control how scripted objects are converted to strings
- IMPLEMENT to_string for GDScriptInstance, VisualScriptInstance, and NativeScriptInstance
- ADD Documentation about `Object.to_string` and `Object._to_string`
- Changed `Variant::operator String` to use `obj->to_string()`
2019-05-03 15:06:05 -07:00
Thomas Karcher
1170b78e28
Update of RigidBody2D class description
...
Added a hint in the RigidBody2D class description regarding the transformation issue mentioned in https://github.com/godotengine/godot/issues/5734
2019-05-03 10:49:54 +02:00
Rémi Verschelde
f1e39e1fc8
Merge pull request #28636 from bojidar-bg/d2426-panel-styles
...
Remove unused panelf and panelnc styles
2019-05-03 09:40:11 +02:00
Bojidar Marinov
3d47dad2b1
Remove unused panelf
and panelnc
styles
...
Fixes godotengine/godot-docs#2426
2019-05-03 09:44:46 +03:00
lopho
da73bcca6f
Document CollisionObject2D pickable requires collision_layer
...
Documents CollisionObject2D mouse_entered, mouse_exited and input_event requiring at least one collision_layer to be set.
2019-05-02 15:43:28 +02:00
Max Hilbrunner
46b6fb83ef
Merge pull request #28542 from Anchakor/master
...
Small documentation improvements
2019-05-01 21:45:56 +02:00
miwanczuk
c86b03abd8
Expose TextEdit's drawSpaces feature to GDScript
2019-05-01 11:32:54 +02:00
Jiří Procházka
04b49264f2
Small documentation improvements
2019-05-01 11:11:09 +02:00
Rémi Verschelde
a72552367e
Merge pull request #25453 from nekomatata/button-keep-pressed-option
...
Add option to keep button pressed when moving cursor outside while pressing
2019-05-01 10:30:40 +02:00
Aaron Franke
620ec4703f
Make "decimal" functions more consistent
...
In GDScript, rename "decimals" to "step_decimals". In C#, add "StepDecimals", but keep the old functionality in a method called "DecimalCount".
2019-04-30 13:49:17 -04:00
Rémi Verschelde
dd2cd06165
Merge pull request #25670 from aqnuep/bake_mode_affect_gi_prove
...
Disable GI probe capturing lights with bake mode disabled
2019-04-30 18:33:34 +02:00
Rémi Verschelde
c991379b81
doc: Sync classref with current source
2019-04-30 14:23:59 +02:00
Rémi Verschelde
7e0c97e73b
Merge pull request #27656 from Calinou/doc-lineedit-keybindings
...
Document built-in LineEdit keybindings
2019-04-30 11:14:03 +02:00
Rémi Verschelde
6e1b8b07b9
Merge pull request #27805 from Kanabenki/line2d-add-point-idx
...
Add optional position argument for add_point in Line2D
2019-04-30 11:02:47 +02:00
Rémi Verschelde
5313ce232d
Merge pull request #27870 from mawenzy/pr_gotoline
...
Bind goto_line function for Script Editor
2019-04-30 10:53:23 +02:00
homer666
80e9e93e27
Add Popup::popup_centered_clamped method
...
- Also replace redundant duplicate code in editor dialogs with calls to popup_centered_clamped()
2019-04-30 05:35:43 +10:00
Rémi Verschelde
1af18ab235
Merge pull request #28399 from YeldhamDev/textedit_expose_tab_fold
...
Expose 'TextEdit's tab drawing and folding to GDScript
2019-04-29 17:04:46 +02:00
Rémi Verschelde
18e88c8563
Merge pull request #18992 from aaronfranke/mono-equal-approx
...
[Core] [Mono] Improve and use approximate equality methods
2019-04-29 10:16:46 +02:00
clayjohn
e8858a9a44
changed references to array types in arraymesh doc
2019-04-27 10:45:04 -07:00
Juan Linietsky
11fb4ffbf8
Added docs to AudioStreamPlayer for get_mix_time
2019-04-27 14:11:39 -03:00
Bastiaan Olij
b652fcd241
Added set_as_bulk_array, fixed transform2D saving and documentation to MultiMesh
2019-04-26 20:30:16 +10:00
Aaron Franke
7f7d97f536
[Core] Expose approximate equality methods to GDScript
2019-04-25 13:20:29 -04:00
Max Hilbrunner
4ad22f8148
Merge pull request #28359 from Calinou/doc-improve-projectsettings
...
Improve the ProjectSettings documentation
2019-04-25 13:19:32 +02:00
Michael Alexsander Silva Dias
350bcce041
Expose 'TextEdit's tab drawing and folding to GDScript
2019-04-24 12:42:12 -03:00
Hugo Locurcio
436d000066
Improve the ProjectSettings documentation
2019-04-24 13:37:14 +02:00
Rémi Verschelde
ea56d18256
doc: Sync classref with current source
2019-04-24 07:50:14 +02:00
Juan Linietsky
325f6c6581
Added inspector plugin documentation.
...
Fixed plugin bindings.
2019-04-23 16:39:09 -03:00
Daniel Rakos
de33ef2d1b
Disable GI probe capturing lights with bake mode disabled
...
The bake mode property of lights previously didn't affect GI probes.
This change makes the GI probe ignore lights that have their bake mode
set to disabled.
2019-04-23 11:36:36 +02:00
Hein-Pieter van Braam
f2d3d3e679
Merge pull request #24269 from xsellier/feature/master-add-sha256
...
Add SHA256 for PoolByteArray
2019-04-23 06:38:03 +03:00
Hein-Pieter van Braam
2779bdf557
Merge pull request #27724 from follower/patch-2
...
Add example of loading a font from .ttf file
2019-04-23 06:04:25 +03:00
Rémi Verschelde
886afa9b76
Merge pull request #26868 from NilsIrl/master
...
Add Attenuation Model "NO" for AudioStreamPlayer3D
2019-04-22 13:36:07 +02:00
Rémi Verschelde
ab4705a807
Merge pull request #28125 from KoBeWi/code_true_code
...
Consistently wrap booleans in [code]
2019-04-22 11:59:16 +02:00
Rémi Verschelde
201cdd358a
Merge pull request #28140 from Daw11/orphan-nodes
...
Add a monitor for the orphan nodes
2019-04-22 11:55:15 +02:00
Nils ANDRÉ-CHANG
a1fc73e6d3
Add Attenuation Model "DISABLED" for AudioStreamPlayer3D
2019-04-22 10:34:28 +01:00
Hasan Yusuf Ahmed
8e652a1400
Added minimal documentation for _get_configuration_warning method
...
(cherry picked from commit 0eeb1a7d0d
)
2019-04-19 13:01:17 +02:00
Rémi Verschelde
b29df348e2
Merge pull request #28192 from akien-mga/doc-unused-demos
...
doc: Drop unused <demos> tag, sync classref
2019-04-19 12:50:42 +02:00
Rémi Verschelde
268b520703
doc: Sync classref with current source
2019-04-19 11:21:09 +02:00
Rémi Verschelde
6af69f851a
doc: Drop unused <demos> tag
2019-04-19 11:03:46 +02:00
Daw11
04d0371648
Add a monitor for the orphan nodes
...
- Allow the user to keep track of the nodes that might leak
- Possible fix for #27103
2019-04-17 23:13:16 +02:00
Soham Kar
aa8b2f4448
Fixed copy&paste error #28117
...
Changed "left to right" in VSplitContainer to "top to bottom".
2019-04-17 22:51:51 +05:30
Tomasz Chabora
b0846f60c9
Consistently wrap booleans in [code]
2019-04-17 17:13:00 +02:00
mawenzy
d87021de93
Bind goto_line function for Script Editor #9153
...
- added doc for ScriptEditor:goto_line
2019-04-16 17:32:10 +02:00
Max Hilbrunner
7a0c086e45
Merge pull request #27762 from rcorre/anim_docs
...
AnimationNode* docs
2019-04-16 15:47:47 +02:00
Max Hilbrunner
73713b6d3f
Merge pull request #27937 from KoBeWi/sliderdocs
...
Added some documentation for Slider
2019-04-16 15:31:50 +02:00
Max Hilbrunner
93fcde8388
Merge pull request #27953 from siddharth952/v_scroll_speed
...
Fixes documentation of v_scroll_speed and wrap_enabled
2019-04-16 15:27:49 +02:00
Rémi Verschelde
3fc1f7dfbe
doc: Add note about VisibilityNotifier.is_on_screen after instantiation
...
Fixes #9430 .
2019-04-15 17:10:33 +02:00
Rémi Verschelde
09e94aa087
doc: Sync classref with current source
2019-04-15 14:49:41 +02:00
Siddharth
3f2aac5e0a
fixes #25707 documentation of v_scroll_speed
...
Fixes #25707
Update TextEdit.xml
2019-04-12 20:20:20 +05:30
Michael Alexsander Silva Dias
70499faff8
Document String's 'is_valid_filename()'
2019-04-11 21:48:40 -03:00
Tomasz Chabora
de4877e1fc
Added some documentation for Slider
2019-04-11 22:17:26 +02:00
Ryan Roden-Corrent
584288a32c
Fill out some of the AnimationNode docs.
...
The API docs for various animation nodes are pretty empty, yet the
tutorial at
https://docs.godotengine.org/en/latest/tutorials/animation/animation_tree.html
contains some details.
These details should be included in the API docs so looking up a
particular class actually provides some information rather than
requiring the user to hunt for a different tutorial.
This also links the AnimationTree tutorial and demo in the docs.
I've found the TPS demo to be the best resource so far for learning
how to use the AnimationTree. This should be easy to find if someone
looks up the AnimationTree API docs.
Finally, this fixes a param typo in AnimationNodeStateMachine.
2019-04-09 10:49:21 -04:00
Rémi Verschelde
70a009833b
Merge pull request #27561 from KoBeWi/get_frame_doc
...
Document SceneTree.get_frame() and persistent in add_to_group()
2019-04-09 12:10:48 +02:00
Rémi Verschelde
e3b26b0d68
Merge pull request #27591 from toasteater/doc/rng-impl-notes
...
Improve RandomNumberGenerator docs.
2019-04-09 10:28:44 +02:00
Rémi Verschelde
3cf2bdbd84
Merge pull request #27506 from Chaosus/astar
...
Added functions to AStar for disable/enable points to effectivly create obstacles
2019-04-08 12:19:51 +02:00
Rémi Verschelde
7f3373d79f
Merge pull request #27452 from Chaosus/direction_to
...
Added method to retrieve a direction vector from one point to another
2019-04-08 12:00:54 +02:00
Kanabenki
714953b3ac
Add optional position argument for add_point in Line2D
2019-04-08 11:29:13 +02:00
Yuri Roubinsky
136fec72d4
Merge pull request #27802 from Chaosus/fix_smoothstep_docs
...
Fix smooth_step to smoothstep in docs
2019-04-08 11:26:35 +03:00
Chaosus
d725e4e6c0
Fix smooth_step to smoothstep docs
2019-04-08 11:24:30 +03:00
Rémi Verschelde
4c10b1da7d
Merge pull request #27698 from YeldhamDev/doc_tilemap_setcell_override
...
Document TileMap's new 'set_cell' internal override capability
2019-04-08 10:15:14 +02:00
Rémi Verschelde
d211aff777
Merge pull request #27231 from Chaosus/smoothstep
...
Added smoothstep built-in function
2019-04-08 10:03:42 +02:00
Chaosus
cc71fb2308
Added functions to AStar for disable/enable points
2019-04-08 09:28:03 +03:00
Chaosus
514a3fb96a
Added smoothstep built-in function
2019-04-07 14:11:26 +03:00
Rémi Verschelde
5586e473b5
Merge pull request #27734 from Hendrikto/cleanup
...
Remove unused imports
2019-04-07 12:38:07 +02:00
Rémi Verschelde
f4f244ed4e
Merge pull request #27156 from BastiaanOlij/add_height_map_shape
...
Added height map shape that implement heightmap collision shape
2019-04-07 11:10:21 +02:00
Rémi Verschelde
35f06eb437
Merge pull request #25630 from BastiaanOlij/arvr_positional_mesh
...
Added a mesh interface to the arvr positional trackers
2019-04-07 11:09:21 +02:00
Yuri Roubinsky
134be5c728
Merge pull request #27043 from Chaosus/randfn
...
Added gaussian distribution function to RNG
2019-04-07 08:32:04 +03:00
Timo
1c178da72c
Merge pull request #26609 from nekomatata/shadow_offset
...
Support for shadow offset in box style
2019-04-06 19:36:57 +02:00
Hendrikto
49a81308c0
Remove unused imports
2019-04-06 18:05:05 +02:00
Rémi Verschelde
cc3e660d7e
Merge pull request #26715 from shartte/patch-1
...
Clarify encoding used for text by the File class
2019-04-06 17:33:48 +02:00
Rémi Verschelde
2db0613fb0
Merge pull request #25624 from nekomatata/texture-rect-flip
...
Add ability to flip TextureRect horizontally or vertically
2019-04-06 13:15:01 +02:00
shartte
d1c095b30a
Clarify encoding used for text by the File class
2019-04-06 12:39:58 +02:00
follower
c89cc44a5e
Add example of loading a font from .ttf file
...
As this is a multi-step process it would be nice to have this documented.
2019-04-06 23:06:08 +13:00
Michael Alexsander Silva Dias
c8d0c61d91
Document TileMap's new 'set_cell' internal override capability
2019-04-05 12:40:57 -03:00
K. S. Ernest (iFire) Lee
e3ef7f214a
Add Open Asset Import Library to Godot.
...
FBX support and MMD (pmx) support.
Normals, Albedo, Metallic, and Roughness through Arnold 5 Materials for Maya FBX.
Maya FBX Stingray PBS support.
Importing FBX static meshes work.
Importing FBX animations is a work in progress.
Supports FBX 4 bone influence animations.
Supports FBX blend shapes.
MMDs do not have an associated animation import yet.
Sponsored by IMVU Inc.
2019-04-05 07:17:52 -07:00
Chaosus
55f3bd97a2
Added direction_to method to vectors
2019-04-05 17:09:57 +03:00
Rémi Verschelde
9d4093a21d
Merge pull request #27153 from YeldhamDev/animsprite_backwards
...
Make AnimatedSprite able to play backwards
2019-04-05 15:47:30 +02:00
Rémi Verschelde
434b73bc57
Merge pull request #27240 from Chaosus/clear_line_points
...
Added method to clear all points in Line2D
2019-04-05 15:44:14 +02:00
Rémi Verschelde
b2fcb40522
Merge pull request #27233 from Chaosus/tween_signal
...
Added signal for Tween emitted at full completion
2019-04-05 15:42:18 +02:00
Rémi Verschelde
63d3a42f82
Merge pull request #27465 from neikeq/road-to-lang-agnostic-docs-is-going-to-be-tough
...
EditorHelp: Improve enum ref resolving and add constant ref support
2019-04-05 15:19:21 +02:00
Mariano Javier Suligoy
bfc3ba5af0
Merge pull request #27365 from Byteron/tile_map_negative_offset
...
TileMap, negative Y and X Offset
2019-04-05 09:24:32 -03:00
Aaron Winter
63e0fd7675
added negative X and negative Y offset to TileMap
...
clang-format
added negative X and negative Y offset to TileMap
2019-04-05 10:37:35 +02:00
Hugo Locurcio
9b86233e32
Document built-in LineEdit keybindings
2019-04-04 00:44:21 +02:00
Juan Linietsky
ed3586afa1
Add documentation about nested YSort nodes.
2019-04-03 11:42:42 -03:00
PouleyKetchoupp
66d3a8a11e
Updated StyleBoxFlat documentation
2019-04-03 15:27:48 +02:00
PouleyKetchoupp
43bd28bc14
Option for BaseButton to keep button down when moving the pointer outside while pressed
2019-04-03 14:19:33 +02:00
PouleyKetchoupp
8b84638322
Add ability to flip TextureRect horizontally or vertically
2019-04-03 13:05:29 +02:00
Chaosus
a19e99aacb
Added signal for Tween emitted at completion
2019-04-03 10:35:26 +03:00
toasteater
ae1393acae
Improve RandomNumberGenerator docs.
...
Clarified behavior of a few methods. Added implementation notes so
that developers not familiar with RNGs are alerted to common pitfalls.
2019-04-02 22:42:49 +08:00
Rémi Verschelde
e3bd84fa57
Merge pull request #27485 from Faless/io/encode_decode_safety_pr
...
Safer encode/decode variant.
2019-04-01 17:00:40 +02:00
Fabio Alessandrelli
393e62b98a
Add object encoding param to serialization methods
...
Network peers get_var/put_var
File get_var/store_var
GDScript/Mono/VisualScript bytes2var/var2bytes
Add MultiplayerAPI.allow_object_decoding member which deprecates PacketPeer.allow_object_decoding.
Break ABI compatibaility (API compatibility for GDNative).
2019-04-01 15:53:19 +02:00
Fabio Alessandrelli
53ab3a1ba9
Multiplayer API now respects allow_object_decoding
...
Add doc about allow_object_decoding in PacketPeer
2019-04-01 15:53:08 +02:00
Rémi Verschelde
39c868171e
doc: Bump version to 3.2
2019-04-01 12:33:56 +02:00
Rémi Verschelde
b32fe4af61
doc: Fix formatting bug from #27429
2019-04-01 12:25:13 +02:00
Tomasz Chabora
1e9128238e
Document SceneTree.get_frame() and persistent in add_to_group
2019-03-31 21:17:50 +02:00
Ignacio Etcheverry
d80bc5cbba
ClassRef: Replace [code]CurrentClass[/code] with [CurrentClass]
...
Modified makerst to generate code tags for these to avoid hyperlinks to the same class.
2019-03-29 23:47:35 +01:00
Ignacio Etcheverry
c8aa85189a
EditorHelp, makerst: Improve enum ref resolving and constant ref support
...
Enum reference resolving will now search in the @GlobalScope if no class is specified and the enum cannot be resolved in the current class.
Added support for constant references in EditorHelp, e.g.: [constant KEY_ENTER] or [constant Control.FOCUS_CLICK]. It supports enum constants (the enum name must not be included).
2019-03-29 23:40:31 +01:00
Rémi Verschelde
174b19f768
Merge pull request #27461 from avencherus/atan2-doc
...
Corrects small typo in atan2() documentation.
2019-03-27 17:26:53 +01:00
Rémi Verschelde
a8beb6a1a5
Merge pull request #27429 from cbscribe/kcc_classref_fixes
...
[DOC] Physics[2D]DirectBodyState updates
2019-03-27 17:25:12 +01:00
Jared
9838c4df7c
Corrects small typo in atan2() documentation.
2019-03-27 18:13:37 +02:00
Chris Bradfield
bb2e6e3ed2
[DOC] Physics[2D]DirectBodyState updates
2019-03-25 21:20:52 -07:00