Commit graph

1488 commits

Author SHA1 Message Date
Rémi Verschelde
db26c1205c
Merge pull request #21937 from romlok/remotetransform
Clarify which direction RemoteTransform[2D] work
2018-09-10 19:10:44 +02:00
Rémi Verschelde
584f1ab0c5
Merge pull request #21842 from merumelu/curve-point-count
Bind Curve::get_point_count
2018-09-10 16:49:09 +02:00
Mel Collins
12448e659a Clarify which direction RemoteTransform[2D] work 2018-09-10 15:54:32 +02:00
VirtualBox
cfb54df986 Fix mistake in Array.xml 2018-09-10 13:42:45 +02:00
Carl Scarlett
91aa940b42 added clarification about Input.get_accelerometer only working when project is exported 2018-09-10 17:20:17 +08:00
Rémi Verschelde
2f6f920884 Drop deprecated compatibility methods from AnimatedSprite
They were deprecated in 2.1, but never properly identified as such
and thus never removed.

Fixes #21765.
2018-09-09 15:25:49 +02:00
merumelu
334f042513 Bind Curve::get_point_count 2018-09-07 20:07:44 +02:00
Guilherme Felipe
e5470cfa70 Fix custom cursor hotspot
Cursor hotspot must be inside image on Linux. Adding validation for all
platforms for consistency.
2018-09-03 09:57:07 -03:00
Kelly Thomas
3dc0d17c6f Change return value of Tree.create_item() from Object to TreeItem 2018-09-03 03:33:52 +08:00
Rémi Verschelde
737c90963f
Merge pull request #21636 from akien-mga/docdata-variant
DocData: Fix return type listed as "var" instead of "Variant"
2018-09-01 23:40:11 +02:00
Rémi Verschelde
e60408b0e9
Merge pull request #21670 from cbscribe/kcc_class_edits
[DOCS] Classref additions and corrections
2018-09-01 22:55:12 +02:00
Chris Bradfield
c049c8fbb9 [DOCS] Classref additions and corrections 2018-09-01 11:07:51 -07:00
Kelly Thomas
1dc8e7c05f Improve ClassDB information for some some signal parameters 2018-09-01 18:05:51 +08:00
Rémi Verschelde
f92b87e5f8 DocData: Fix return type listed as "var" instead of "Variant" 2018-08-31 22:41:14 +02:00
Kelly Thomas
29f2571662 update class docs 2018-08-31 22:35:15 +02:00
Rémi Verschelde
449fcc5a72 RayCast2D: Fix reporting old collider after collision ended
It now behaves the same as RayCast (3D).
Fixed documentation accordingly and documented new configuration options.

Supersedes and closes #20567.
2018-08-30 16:28:48 +02:00
Rémi Verschelde
9a5f362494
Merge pull request #21585 from TGRCdev/rigidbody_docs
Documented some RigidBody and PhysicsDirectBodyState methods
2018-08-30 08:05:42 +02:00
Tiger C
74aa104607 Added documentation for some RigidBody methods, and copied the descriptions to matching PhysicsDirectBodyState methods. 2018-08-29 18:44:24 -04:00
Rémi Verschelde
5267099a87 doc: Sync classref with current source 2018-08-29 22:25:11 +02:00
Bastiaan Olij
6837d695d6 Moved documentation for methods made accessible from super class for Mesh 2018-08-29 21:02:48 +10:00
Max Hilbrunner
6f9416b2b6
Merge pull request #21454 from char0xff/doc
Update UndoRedo.xml
2018-08-28 17:09:40 +02:00
Max Hilbrunner
e59dc62562
Merge pull request #21444 from romlok/input-propagation
Clarify direction of input event propagation
2018-08-28 17:09:02 +02:00
Rémi Verschelde
6671096dd7
Merge pull request #21514 from cbscribe/kcc_docs_fixes2
[DOCS] Classref corrections and clarifications
2018-08-28 08:13:13 +02:00
Chris Bradfield
285234e8d9 [DOCS] Corrections and clarifications 2018-08-27 18:56:43 -07:00
VirtualBox
57f3e89f70 Update UndoRedo.xml 2018-08-26 21:11:17 +02:00
Hein-Pieter van Braam
08f452d1a9 Fall back to GLES2 if GLES3 is not working
This adds a static is_viable() method to all rasterizers which has to be
called before initializing the rasterizer. This allows us to check what
rasterizer to use in OS::initialize together with the GL context
initialization.

This commit also adds a new project setting
"rendering/quality/driver/driver_fallback" which allows the creator of a
project to specify whether or not fallback to GLES2 is allowed. This
setting is ignored for the editor so the editor will always open even if
the project itself cannot run. This will hopefully reduce confusion for
users downloading projects from the internet.

We also no longer crash when GLES3 is not functioning on a platform.

This fixes #15324
2018-08-26 16:40:46 +02:00
Mel Collins
2d0a55c86c Clarify direction of input event propagation 2018-08-26 15:14:55 +02:00
Michael Alexsander Silva Dias
7d13f6ad30 Small improvements to the Spatial Editor's multiple viewport mode 2018-08-25 17:43:27 -03:00
Rémi Verschelde
67b0d3c2dc Particles: Allow speed_scale at 0 in property hint, equivalent to pause
Supersedes and closes #21193.
2018-08-24 18:11:35 +02:00
Rémi Verschelde
4ea3e4f551 doc: Sync classref with current source 2018-08-21 00:35:46 +02:00
Rémi Verschelde
9c00d1aaa8
Merge pull request #21176 from cbscribe/kcc_doc_updates
[DOCS] Many class ref updates
2018-08-19 09:37:45 +02:00
Chris Bradfield
2a0991dde6 [DOCS] Many class ref updates 2018-08-18 21:35:56 -07:00
Rémi Verschelde
487073d4c0
Merge pull request #21130 from cbscribe/kcc_class_updates
[DOCS] Updates to assorted class descriptions.
2018-08-18 15:01:36 +02:00
Chris Bradfield
23b7edb214 [DOCS] Updates to assorted class descriptions. 2018-08-17 14:55:19 -07:00
Rémi Verschelde
099f74584a Bind ItemList's item_custom_fg_color methods
Fixes #21086.
2018-08-17 13:46:33 +02:00
Thomas Herzog
037f4638ab add project method to Vector2/3 2018-08-16 12:52:38 +02:00
Rémi Verschelde
155fb45ca2 Doc: Clarify usage of dialog_hide_on_ok and caveat for FileDialog
Fixes #20817.
2018-08-15 20:08:18 +02:00
Rémi Verschelde
d6058b967d
Merge pull request #20906 from Chaosus/rrect_fix
Fix ReferenceRect border
2018-08-14 23:31:48 +02:00
Rémi Verschelde
c0137db762
Merge pull request #20665 from SaracenOne/animation_tree_control
Add method to manually advance AnimationTree and manual process mode.
2018-08-14 15:54:20 +02:00
Rémi Verschelde
9f8e2d5c5b
Merge pull request #20773 from Noshyaar/tree
[DOCS] complete Tree drag and drop related methods
2018-08-14 10:02:02 +02:00
Rémi Verschelde
82b092decc
Merge pull request #20932 from clayjohn/doc_backbuffercopy
[Doc] Removed reference to texscreen in BackBufferCopy docs
2018-08-14 09:31:43 +02:00
clayjohn
333dfd562b removed reference to texscreen 2018-08-13 21:34:56 -07:00
Rémi Verschelde
369e54603e
Merge pull request #20918 from Fluffel/document_tween_branch
[DOCS] get_indexed, tween
2018-08-13 21:04:58 +02:00
Rémi Verschelde
fe74e996e4
Merge pull request #20554 from YeldhamDev/cursor_doc_linux
Small doc formating changes and Linux cursor theme note
2018-08-13 07:49:44 +02:00
Fluffel
a164d593c0 [DOCS] get_indexed, tween 2018-08-11 08:48:37 -05:00
Chaosus
aaf62fcecc Fix ReferenceRect border 2018-08-11 10:37:03 +03:00
Juan Linietsky
c76f444c4e
Merge pull request #14704 from poke1024/colorconstants
Allow some non-integer built-in constants in gdscript
2018-08-10 12:57:20 -03:00
Poommetee Ketson
5ed0861e81 [DOCS] SceneTree stretching constants 2018-08-07 10:17:55 +07:00
Poommetee Ketson
6536834d42 [DOCS] complete Tree.get_drop_section_at_position and Tree.drop_mode_flags 2018-08-07 05:08:50 +07:00
Max Hilbrunner
464d59935d
Merge pull request #20645 from Ertain/master
Added and modified AudioStream descriptions
2018-08-05 13:09:41 +02:00
Michael Alexsander Silva Dias
79ab43299a Small doc formating changes and Linux cursor theme note 2018-08-05 04:07:04 -03:00
PJB3005
338217c30b Improve TileMap.get_used_cells docs. 2018-08-03 20:38:31 +02:00
Saracen
c55e269bfa Add method to manually advance AnimationTree and manual process mode. 2018-08-02 08:29:51 +01:00
Jason Anderson
512ae49f7d Added description and measurement 2018-07-31 14:20:27 -05:00
Bernhard Liebl
ba974b8d1e Allow some non-integer built-in constants in gdscript 2018-07-31 17:56:48 +02:00
Jason Anderson
17eb26a83a Added description 2018-07-30 13:56:09 -05:00
Bastiaan Olij
d41a4089c6 Added a method to find the index for a surface with a given name 2018-07-28 19:14:41 +10:00
Rémi Verschelde
ef93fec789
Merge pull request #15643 from organicpencil/bullet_contact_impulse
Expose PhysicsDirectBodyState.get_contact_impulse
2018-07-26 15:36:37 +02:00
Rémi Verschelde
391e46830f doc: Sync classref with current source
Fix various missing arguments in bindings.
2018-07-26 11:56:21 +02:00
Aaron Franke
55d976467d Expose 64-bit Color methods to GDScript and fix/update Color XML doc 2018-07-25 15:35:29 -05:00
Rémi Verschelde
4bf9031e52
Merge pull request #20278 from Noshyaar/0
Fix example code for EditorImportPlugin
2018-07-24 17:12:42 +02:00
Noshyaar
817f315eae Fix example code for EditorImportPlugin 2018-07-24 20:24:07 +07:00
Juan Linietsky
b66580927e
Merge pull request #19313 from RandomShaper/improve-image
Image trilinear scaling + Optimization
2018-07-23 16:21:45 -03:00
Pedro J. Estébanez
8c05c2830c Add trilinear filtering to image scaling 2018-07-23 21:08:10 +02:00
Pieter-Jan Briers
b2c797c584 Defer TileMap::update_dirty_quadrants once again.
This fixes #20323.

#11077 is now technically re-broken,
but you can now call update_dirty_quadrants as workaround.
2018-07-22 15:26:14 +02:00
Juan Linietsky
6c09cdd136
Merge pull request #20157 from GodotExplorer/image-load-webp
Add webp buffer loader for Image
2018-07-20 12:00:21 -03:00
Max Hilbrunner
b64bf118f1
Merge pull request #19087 from danvalho/master
SpriteFrames: expose method to get array containing animation names
2018-07-17 14:54:06 +02:00
Max Hilbrunner
1f1b45c7ec
Merge pull request #20191 from jvdnbus/line2d-stretch
Line2D texture stretch mode
2018-07-17 12:12:29 +02:00
Rémi Verschelde
adb16be6b9 Doc: Add example for array indexing
Supersedes and closes #20180.
2018-07-17 11:47:27 +02:00
geequlim
c5efe5d625 Add webp buffer loader for Image
Cleanup the code memory load related code for Image
Fix jpeg buff load function always returns OK event failed
2018-07-17 12:03:45 +08:00
Jorn Van denbussche
d7aa3e33c8 Line2D texture stretch mode
Prototype for stretching the texture across the whole line.
Fixed end cap tile mode.
2018-07-16 23:16:58 +02:00
Max Hilbrunner
cc57b62ab3
Merge pull request #20068 from Xrayez/submenu-popup-delay
Add ability to set submenu's popup delay time on mouse hovering
2018-07-12 05:27:49 +02:00
Max Hilbrunner
118d4f3115
Merge pull request #19540 from muiroc/cylinder
Cylinder resource and collision shape (bullet only)
2018-07-12 05:09:37 +02:00
Max Hilbrunner
41ff975b8c
Merge pull request #20014 from Chaosus/scrollable
Added scrollable property for sliders
2018-07-10 13:31:09 +02:00
Andrii Doroshenko (Xrayez)
e3b77b24ac Add ability to set submenu's popup delay time on mouse hovering
This allows to set delay time for the submenu to popup. Setting
this value low can increase responsiveness. If the popup menu is added
as a child of another (acting as a submenu), it will inherit the delay
time of the parent menu item.
2018-07-09 18:37:41 +03:00
toger5
533e026f9c mention load in texture class 2018-07-09 16:31:34 +02:00
Chaosus
dbd5afc498 Added scrollable property to Sliders 2018-07-07 13:48:34 +03:00
Max Hilbrunner
edc63a2f60
Merge pull request #18028 from gabrii/18026
Fix #18026. Expose TextEdit::set_draw_breakpoint_gutter.
2018-07-05 02:30:18 +02:00
Max Hilbrunner
43a2e9e669
Merge pull request #15881 from dertom95/EditorScenePostImport
EditorScenePostImport: added get_source_folder() and get_source_file(…
2018-07-05 02:27:26 +02:00
Max Hilbrunner
dacd9c51b1
Merge pull request #19849 from willnationsdev/expose-script-create-dialog
Expose ScriptCreateDialog to EditorPlugin
2018-07-04 22:37:27 +02:00
willnationsdev
2a6c591957 Expose ScriptCreateDialog to EditorPlugin 2018-07-04 09:41:12 -05:00
Max Hilbrunner
24ce1ace13
Merge pull request #19244 from Chaosus/settingsperformance_and_colordeferred
Increases settings apply speed and added deferred color setting to ColorPicker
2018-07-03 17:01:23 +02:00
Thomas ten Cate
117c666fce Document return value of yield() with signals
Fixes godotengine/godot-docs#1478
2018-07-02 21:33:21 +02:00
Rémi Verschelde
9c56a16d61 Doc: Fix typos spotted by @yurchor 2018-07-01 15:55:53 +02:00
muiroc
0a36e974da added cylinder shape support 2018-07-01 11:16:54 +02:00
Hugo Locurcio
61fd3cd32a
Document Vector2.round() and Vector3.round() 2018-06-27 00:02:24 +02:00
Rémi Verschelde
41b962fc9c
Merge pull request #19612 from Zylann/get_ticks_usec
Expose OS.get_ticks_usec()
2018-06-18 21:35:55 +02:00
Marc Gilleron
4705dc4f00 Expose OS.get_ticks_usec() 2018-06-18 21:03:55 +02:00
Mel Collins
cf63abac36 Add longer description to ViewportTexture doc 2018-06-18 16:35:17 +02:00
unknown
d1b3f36eab Added description for abs function in Rect2 2018-06-18 15:25:13 +02:00
Max Hilbrunner
88cc8074d0
Merge pull request #19622 from mhilbrunner/docs-builtins
[DOCS] Builtin keywords because search is terribad
2018-06-18 04:26:16 +02:00
Max Hilbrunner
5002db6be1
[DOCS] Builtin keywords because search is terribad 2018-06-18 04:25:27 +02:00
Max Hilbrunner
1bb7f4b2bc
Merge pull request #19615 from romlok/viewporttexturedoc
Add a little to ViewportTexture docs
2018-06-18 03:44:23 +02:00
Max Hilbrunner
419e3492d4
Merge pull request #19621 from mhilbrunner/docs-treeitem
[DOCS] TreeItem: Small fix for remove_child()
2018-06-18 03:29:06 +02:00
Max Hilbrunner
25b5242d9f
[DOCS] TreeItem: Small fix for remove_child() 2018-06-18 03:28:26 +02:00
Max Hilbrunner
03250259d3
[DOCS] InputEventMouseButton: Factor 2018-06-18 03:19:41 +02:00
Mel Collins
b820056b38 Add a little to ViewportTexture docs 2018-06-17 20:34:05 +02:00
letheed
d759d25aca Fix Vector2 doc of floor, add ceil doc 2018-06-15 19:08:19 +02:00
Rémi Verschelde
7927eb6013 doc: Remove extraneous empty lines in descriptions 2018-06-15 08:54:06 +02:00
tagcup
195e963613 Added some details in skeleton docs.
Workaround for #19551.
2018-06-14 19:07:03 -04:00
Rémi Verschelde
e5e23c7ebf Fix invalid DEFVAL in SpatialEditorGizmo::add_unscaled_billboard
Likely added by mistake in #19487.
Should fix #19543.
2018-06-13 22:29:54 +02:00
Rémi Verschelde
9165e550f8 Style fixes for commit d5bb6faa 2018-06-13 14:42:55 +02:00
Rémi Verschelde
f0fa590210
Merge pull request #19526 from robojumper/fix_tutorials
Add support for tutorial links to makerst.py
2018-06-13 14:29:45 +02:00
robojumper
98b59cf2a3 Add support for tutorial links to makerst.py
Also change the <tutorials> structure to make use of individual <link> tags
2018-06-12 17:40:24 +02:00
Juan Linietsky
d5bb6faac7 -Make sure that ProjectSettings are properly dumped when dumping docs.
-Documented all properties of project settings

Update documentation for ProjectSettings
2018-06-11 13:41:16 -03:00
clayjohn
650ebdc832 updated Viewport docs to correct wrong information and fill out empty sections 2018-06-10 11:40:25 -07:00
Bastiaan Olij
c4dfef58d9 Added some documentation to particles 2018-06-08 09:27:06 +10:00
Rémi Verschelde
8569a0db3c Doc: Fix typo in File documentation
Fixes #19383.
2018-06-05 21:04:58 +02:00
danvalho
296af5276f SpriteFrames: expose method to get array containing animation names 2018-06-05 13:07:30 +02:00
Fabio Alessandrelli
348725dfe0 Add option to disable automatic multiplayer poll
Automatic poll from SceneTree is enabled by default.
This allows for polling (and thus RPCs/RSETs) manually in other loops
(e.g. physics, thread, specific step) and for proper mutex protecion
when accessing the multiplayer API from threads (e.g. for sending larger
files in chunks).
2018-06-03 18:58:04 +02:00
Rémi Verschelde
819911d16e makerst.py: Properly escape \ for rst
Fixes godotengine/godot-docs#1486.
2018-05-31 15:38:33 +02:00
Chaosus
cf38270ef7 Increase settings apply speed and added deferred color apply 2018-05-31 11:33:36 +03:00
Thomas Trocha
48e3ff0c8a EditorScenePostImport: added get_source_folder() and get_source_file() methods 2018-05-31 03:23:42 +02:00
Max Hilbrunner
63b607257b
Merge pull request #19266 from akien-mga/os-execute-doc
Improve return value and docs on OS.execute regarding blocking/non-blocking variants
2018-05-30 15:00:10 +02:00
Gabriel Gavilan
b7b63fe034 Improve breakpoints and breakpoint gutter API in TextEdit
Added breakpoint_gutter, is_breakpoint_gutter_enabled, set_breakpoint_gutter_enabled, get_breakpoints, remove_breakpoints.
Fixed breakpoint_toggled signal not fierd when text is edited.
Fixes #18026.
2018-05-30 14:39:44 +02:00
Rémi Verschelde
f392650be2 Improve return value of OS.execute in blocking/non-blocking variants
Initialized the PID to -2, which will be the value returns in blocking-
mode where the PID is not available. (-1 was already taken to signify an
execution failure).

OS::execute will now properly return a non-OK error code when it fails
to execute the target file.

The documentation was rewritten to be very clear about the differences
between blocking and non-blocking mode.

Fixes #19056.
2018-05-30 12:55:17 +02:00
Fabio Alessandrelli
4524153b6e New sync RPC modes to match all combinations 2018-05-29 20:26:41 +02:00
Fabio Alessandrelli
1400f6fdc4 Refactor RPCMode enum and checks 2018-05-29 20:26:41 +02:00
Max Hilbrunner
4c69a495c9
Revert "RPCMode refactor, more sync modes" 2018-05-29 11:47:52 +02:00
Max Hilbrunner
d0b62ce155
Merge pull request #19021 from Faless/rpc_sync_fix
RPCMode refactor, more sync modes
2018-05-29 09:44:03 +02:00
Rémi Verschelde
c8a799d691 Fix MethodInfo for EditorInspectorPlugin.can_handle 2018-05-28 16:28:09 +02:00
Rémi Verschelde
4c5dd51eb9 Sync classref with current source
Also fix binding of Basis.slerp
2018-05-28 14:53:15 +02:00
Rémi Verschelde
98846b39ee
Merge pull request #18899 from ibrahn/gdscript-license-info
GDScript access to copyright, license, author and donor information.
2018-05-28 11:58:20 +02:00
Michael Alexsander Silva Dias
e10687a520 Fixed GroupCallFlags links in the SceneTree's doc. 2018-05-27 01:22:34 -03:00
Max Hilbrunner
7e8b7a7815
Merge pull request #18379 from ZDDM/18-04-23-audiostream-docs
Fully expose the data variable in AudioStreamSample and AudioStreamOGGVorbis
2018-05-26 18:22:05 +02:00
Max Hilbrunner
0e5ee8d635
Merge pull request #18747 from anakimluke/patch-1
fixed minor doc wording problem
2018-05-26 17:51:16 +02:00
Fabio Alessandrelli
19ba3d5da3 New sync RPC modes to match all combinations 2018-05-26 10:43:43 +02:00
Fabio Alessandrelli
9de4ffde61 Refactor RPCMode enum and checks 2018-05-26 10:43:43 +02:00
Bastiaan Olij
b7ae2ca128 Added some quick info on shaders to the docs 2018-05-26 12:08:34 +10:00
Max Hilbrunner
9115d84913
[DOCS] Array sort 2018-05-25 16:55:56 +02:00
Rémi Verschelde
d522bf3b9f
Merge pull request #18752 from danilo2205/enhanced_path_follow
Up Vector for Curve3D and OrientedPathFollow Implementation
2018-05-25 10:17:37 +02:00
Max Hilbrunner
acf6c326fb
Merge pull request #14715 from Krakean/string_add_rsplit2
Added rsplit() method to String class
2018-05-23 17:19:35 +02:00
danilo2205
dc639d334a Up vector implementation and OrientedPathFollow. 2018-05-20 19:51:56 -03:00
Chris Bradfield
393125a6a4 [DOCS] Update VideoPlayer classref 2018-05-20 13:43:48 -07:00
Ibrahn Sahir
1433c2cbbb GDScript access to copyright, license, author and donor information.
Adds following functions to the Engine singleton:
get_author_info - names of Godot authors
get_copyright_info - detailed source copyright get_license_info
get_donor_info - donor names
get_license_info - full text of licenses used, indexed by license names
get_license_text - the text of the Godot Expat license
2018-05-19 00:40:16 +01:00
Rémi Verschelde
36a74696d6
Merge pull request #18804 from tagcup/vec_slerp
Add SLERP to Vector{2,3}, optimize Quat's Vector3 rotation.
2018-05-16 23:24:56 +02:00
Rémi Verschelde
2cf36651b9
Merge pull request #18814 from PJB3005/18-05-12-imagetexture-load-error
ImageTexture.load returns an error code.
2018-05-16 23:23:08 +02:00
Rémi Verschelde
0888f75c25
Merge pull request #18934 from YeldhamDev/project_metadata_expose
Exposed set/get_project_metadata in EditorSettings
2018-05-16 23:13:47 +02:00
Kelly Thomas
c6ed46891d [docs] fix links in class docs 2018-05-17 00:15:30 +08:00
Michael Alexsander Silva Dias
e03de3ddfc Exposed set/get_project_metadata in EditorSettings. 2018-05-16 12:44:15 -03:00
Max Hilbrunner
17e84568a4
Merge pull request #18855 from clayjohn/doc_procedural_sky
Added Documentation for Procedural Sky
2018-05-16 03:02:29 +02:00
Pieter-Jan Briers
0f303c9f43 Fix missing registration for new param of TextEdit::cursor_set_line.
This caused Mono glue gen to fail and other bugs to appear
(such as in Visual Script)
2018-05-15 21:53:42 +02:00
clayjohn
6711691d10 added documentation for procedural sky
Added documentation for procedural sky

added documentation for procedural sky

added documentation for procedural sky
2018-05-14 21:06:41 -07:00
Pieter-Jan Briers
622a754584 ImageTexture.load returns an error code. 2018-05-14 19:11:41 +02:00
Kelly Thomas
888eefa0fd [docs] fix links in class docs 2018-05-14 23:06:22 +08:00
Max Hilbrunner
af6513b7ff
Merge pull request #18821 from PJB3005/18-05-12-doc-enums
Makes doc methods display enums.
2018-05-13 23:46:27 +02:00
clayjohn
1bf7f8fcd1 filled in docs for panorama sky
filled in docs for panorama sky
2018-05-13 13:56:34 -07:00
Chris Bradfield
8bc4882dd3 [DOCS] Vector2/Vector3/TileMap wording fixes 2018-05-12 17:58:45 -07:00
Max Hilbrunner
ca10cb6eea
Merge pull request #18823 from Faless/multiplayer_raw
Allow sending raw bytes via the Multiplayer API
2018-05-12 23:50:26 +02:00
Fabio Alessandrelli
0ad07a823c Fix and improve docs, adds send_bytes 2018-05-12 23:22:09 +02:00
Pieter-Jan Briers
331b0e8526 Makes doc methods display enums. 2018-05-12 20:08:39 +02:00
tagcup
ed7aadcd87 Add SLERP to Vector{2,3}, optimize Quat's Vector3 rotation.
Also even out Basis and Quat APIs a little.
2018-05-12 13:05:04 -04:00
Daniel "Orangestar" O
40ec56801b
Fix Error in the ScrollContainer Tooltips 2018-05-12 03:45:56 -05:00
Rémi Verschelde
3d9deda8b3 Sync classref with current source 2018-05-12 09:38:00 +02:00
Noshyaar
41e9e5501b
Fix docs regarding Color.from_hsv hue range [0,360] -> [0,1]
Per changes in #17407
2018-05-11 18:57:11 +07:00
Guilherme Felipe
50a0220d2d Reset the cursor with Input.set_custom_mouse_cursor(null) 2018-05-10 20:02:12 -03:00
anakimluke
4fe2605ab3
fixed minor doc wording problem 2018-05-09 17:50:43 -03:00
Fabio Alessandrelli
dd546dc5b8 Document websocket module, further document enet 2018-05-08 21:15:50 +02:00
Fabio Alessandrelli
cbb744c4e0 Document MultiplayerAPI class 2018-05-08 21:15:50 +02:00
Rémi Verschelde
de9683b605
Merge pull request #17559 from simedis/joint_motors
Implemented interface for bullet linear motors
2018-05-08 10:23:41 +02:00
Juan Linietsky
7811156c4f
Merge pull request #17451 from Goutte/feat-base-button-mask
Allow configuration of which mouse buttons the BaseButton responds to
2018-05-07 18:24:17 -03:00
Juan Linietsky
7b065a59fa
Merge pull request #15911 from Zephilinox/ready_signal
Add ready signal to Node
2018-05-07 17:56:10 -03:00
Juan Linietsky
69a96ff4a6
Merge pull request #15943 from poke1024/geometry-line-line
Add Geometry::line_intersects_line_2d()
2018-05-07 17:54:33 -03:00
Max Hilbrunner
fb4e9526e8
Merge pull request #18122 from olivergs/wip/rtl-content-height
RichTextLabel, doc: Added new method to get total content height
2018-05-07 14:53:43 +02:00
Juan Linietsky
35322c0678
Merge pull request #18677 from BastiaanOlij/add_no_blend
Add no-blend canvas item render_mode
2018-05-07 09:44:17 -03:00
Bastiaan Olij
6103c8d7a3 Add no-blend canvas item render_mode 2018-05-07 22:41:12 +10:00
Juan Linietsky
38aaf78325
Merge pull request #18524 from BastiaanOlij/keep_3d_linear
Added option to viewport to keep linear color
2018-05-07 09:24:39 -03:00
Max Hilbrunner
e15305721d
Merge pull request #18454 from KidRigger/working_timer
Allows setting the Timer wait_time in start method.
2018-05-07 09:37:11 +02:00
Chris Bradfield
d7218c742c Rewrite Tween class reference. 2018-05-06 20:12:01 -07:00
Bastiaan Olij
6f7fefa489 Added option to viewport to keep linear color 2018-05-06 19:28:09 +10:00
Max Hilbrunner
fc9fad925b
Merge pull request #18146 from mjtorn/gh-mjtorn-rtl-shadow
Implement font shadows for RichTextLabel
2018-05-05 07:01:04 +02:00
Max Hilbrunner
27e349d161
Merge pull request #18612 from Nobelix/pitch-scale-desc
Added a description to the picth_scale property.
2018-05-05 06:34:28 +02:00
Kelly Thomas
28eb97c8ab correct documentation for version number data type 2018-05-04 22:27:58 +08:00
Nobelix
83c4fc2c88 Added a description to the picth_scale property in the AudioStreamPlayer classes. 2018-05-04 13:31:11 +02:00
Zumo
ef74954e66 Fully exposes data variable on AudioStreamSample/AudioStreamOGGVorbis...
...and also changes "_set_data" and "_get_data" to "set_data" and "get_data" respectively.
2018-05-01 12:19:15 +02:00
Max Hilbrunner
79f9c3c2ab
Merge pull request #18491 from Calinou/custom-lineedit-secret-character
Make the LineEdit "secret" character customizable
2018-04-30 18:04:22 +02:00
Hugo Locurcio
c118a0ee5e
Make the LineEdit "secret" character customizable 2018-04-30 02:25:17 +02:00
Mel Collins
b431264f77 [DOCS] Clarify look_at and looking_at 2018-04-29 15:44:07 +02:00
Anish
f714637e58 Allows setting the Timer wait_time in start method.
Allows shortening the two line method of Timer.set_wait_time
followed by Timer.start set wait_time as a parameter to
Timer.start. Also modifies the class documentation.

Fixes: #18107
2018-04-27 01:17:20 +05:30
HoratioZEDU
2dcd499707
Fixed (minor) typo in CapsuleShape2D doc page 2018-04-25 11:57:01 +01:00
George Marques
ca25f1e6ea
Merge pull request #18176 from nikibobi/string-trim
Add string trim_prefix, trim_suffix, lstrip and rstrip methods
2018-04-22 12:29:44 -03:00
GaryO
06c5a9ed5f Add detail to doc for add_surface_from_arrays (#17911)
Includes review comments from #17911 from @cbscribe and @Noshyaar
2018-04-22 15:23:33 +02:00
Max Hilbrunner
d0699b34d7
Merge pull request #18336 from PJB3005/18-04-21-command's
Fixes a typo in the VisualServer.canvas_item_add_set_transform docs.
2018-04-22 15:06:39 +02:00
krogank9
6b797574a2 [DOCS] Add note that Pool*Arrays are passed by value (#18340) 2018-04-22 01:23:50 +02:00
homer666
d4ce53b9b1 [DOCS] Popup.popup_exclusive description 2018-04-22 05:41:15 +10:00
Pieter-Jan Briers
09f79cde69 Fixes a typo in the VisualServer.canvas_item_add_set_transform docs. 2018-04-21 16:10:34 +02:00
Max Hilbrunner
7d6f210ccb
Merge pull request #18316 from Noshyaar/http
[DOCS] add HTTPRequest.request return values
2018-04-20 12:04:44 +02:00
Poommetee Ketson
f05e24ed18 [DOCS] add HTTPRequest.request return values 2018-04-20 16:34:30 +07:00
Craigory V Coppola
0dd526e062 Docs update for several classes
Namely: Dictionary, GraphEdit, Object, TileMap, Script, ScollBar,
ScrollContainer and SplitContainer
2018-04-19 21:09:53 +02:00
bosak
79ecdee496
add string trim_prefix trim_suffix lstrip and rstrip methods 2018-04-17 14:15:43 +03:00
bncastle
7eed3cc199 Add descriptions for GroupCall flags
Add descriptions for GroupCall flags
2018-04-16 10:44:46 -04:00
Poommetee Ketson
7b5703bc41
Merge pull request #18210 from willvincent/feature/exp_doc_fix
Fix/Remove potentially confusing references to Euler

[ci skip]
2018-04-16 00:17:37 +07:00
Will Vincent
b6b8c7b215 Remove incorrect & potentially confusing references to Euler
e is referred to as Euler’s number, so technically the MATH_EXP description in VisualScript doc was not incorrect, though could potentially lead to confusion.

e is different from Euler’s constant however, making the existing GDScript exp & VisualScriptMathConstant descriptions nvalid.
2018-04-15 11:40:31 -05:00
Michael Alexsander Silva Dias
9c3698dee2 Minor fixes for the AnimationPlayer doc. 2018-04-14 22:48:46 -03:00
Markus Törnqvist
1c6ea572ca Implement font shadows for RichTextLabel 2018-04-12 15:09:48 +03:00
Oliver Gutierrez
63a472aea4 RichTextLabel, doc: Added new method to get total content height 2018-04-11 14:53:13 +01:00
Poommetee Ketson
72aa87758a
Update classref and docs, fix missing parameters' name 2018-04-11 10:20:22 +07:00
Max Hilbrunner
66714a3d29 [DOCS] OS 2018-04-10 17:30:34 +02:00
Rémi Verschelde
cb7fe2c793 doc: Sync classref with current source 2018-04-10 10:12:42 +02:00
Rémi Verschelde
fd32a98145
Merge pull request #18071 from denisw/navigation2d-docs
[DOCS] Navigation & Navigation2D
2018-04-10 08:14:54 +02:00
Rémi Verschelde
a360a9b348
Merge pull request #18091 from RandomShaper/icon-radio-item
Add support for radio-looking items with icon
2018-04-10 08:09:18 +02:00
Rémi Verschelde
866cb2805f
Merge pull request #17080 from simedis/pretty_print_tree
Made Node.print_tree() print prettily
2018-04-10 07:50:10 +02:00
Denis Washington
89b9e8852e Add Navigation docs 2018-04-10 07:22:30 +02:00
Denis Washington
a7f3933a51 Add Navigation2D docs 2018-04-10 07:22:30 +02:00
Rémi Verschelde
ca1312dbe9
Merge pull request #18083 from Noshyaar/tutorial
Add new transform tutorial to the appropriate classes
2018-04-09 22:15:38 +02:00
Pedro J. Estébanez
b964a9e678 Add support for radio-looking items with icon
Letting users of `PopupMenu` use them. `OptionButton` was one of those interested and is updated in this commit.

Fixes #18063.
2018-04-09 19:55:54 +02:00
Rémi Verschelde
93ae37f118
Merge pull request #18069 from mhilbrunner/docs-scenetree
[DOCS] SceneTree
2018-04-09 19:49:44 +02:00
Geoffrey
8362ce4769 Made print_tree_pretty() function which displays scene tree graphically 2018-04-09 15:01:37 +02:00
Poommetee Ketson
e83af5dfc6 Add new transform tutorial to appropriate classes 2018-04-09 17:44:13 +07:00
Max Hilbrunner
bc66869d4c [DOCS] SceneTree 2018-04-08 23:34:17 +02:00
Juan Linietsky
b756172bdb
Merge pull request #16705 from Chaosus/generate_normals_flip
Add flip switch to SurfaceTool.generate_normals
2018-04-08 17:18:03 -03:00
Juan Linietsky
a6c9ccf007
Merge pull request #17150 from robfram/check-animation-playing-backwards
Added `get_playing_speed` method to AnimationPlayer, returning the actual playing speed of the animation being played
2018-04-08 11:36:15 -03:00
Juan Linietsky
6eb0c74e9d
Merge pull request #17443 from Noshyaar/tilesetcrash
Fix converting to tileset crashes Godot if existing file is not tileset
2018-04-08 09:31:54 -03:00
Juan Linietsky
cd7e9d9642
Merge pull request #17583 from RandomShaper/enhance-uri-utils
Enhance uri utils
2018-04-07 17:07:29 -03:00
Juan Linietsky
187b14ae24
Merge pull request #17730 from RandomShaper/radio-buttons-in-menus
Radio buttons in menus
2018-04-07 16:41:39 -03:00
Mel Collins
99110772c0 [DOCS] Tweaks and fixes for (Interpolated)Camera 2018-04-03 15:58:21 +02:00
Michael Alexsander Silva Dias
d912e10c65 Added missing end points for brief descriptions in the docs. 2018-03-30 20:11:14 -03:00
Mel Collins
c05d12384a [DOCS] Some content for InterpolatedCamera 2018-03-30 19:15:38 +02:00
mhilbrunner
41da122875 [DOCS] Typo fix for CollisionShape[2D] 2018-03-30 16:42:06 +02:00
Poommetee Ketson
4dbae5a738
Merge pull request #17839 from Noshyaar/1
[Docs] Control, VehicleWheel: fix typos

[ci skip]
2018-03-29 12:55:15 +07:00
Poommetee Ketson
a88ee7d920 [Docs] fix typos 2018-03-29 12:46:21 +07:00
Max Hilbrunner
13d5ee01f9
[DOCS] Node & PackedScene (#17833)
* [DOCS] Node: SceneSaver -> PackedScene

* [DOCS] PackedScene: Code example, resolve TODO
2018-03-28 23:07:03 +02:00
Max Hilbrunner
b59ae81538
[DOCS] Generic6DOFJoint fixes 2018-03-28 22:44:26 +02:00
Pedro J. Estébanez
ab3b1d9f3e Add radio-button-looking entries to PopupMenu
They work exactly the same as current checkbox-decorated items, but in order to preserve compatibility, separate methods are used, like `add_radio_check_item()`. The other option would have been to add a new parameter at the end of `add_check_item()` and the like, but that would have forced callers to provide the defaults manually.

`is_item_checkable()`, `is_item_checked()` and `set_item_checked()` are used regardless the item is set to look as check box or radio button.

Keeping check in the name adds an additional clue about these facts.

Closes #13055.
2018-03-27 19:19:45 +02:00
Pedro J. Estébanez
8d8e9d54c8 Enhance HTTPClient.query_string_from_dict() 2018-03-27 19:18:32 +02:00
Poommetee Ketson
ed3b080ca6 Fix converting to tileset crashes Godot if existing file is not tileset
also make TileSetEditorPlgn tile list updates the preview modulate
2018-03-23 21:27:30 +07:00
Poommetee Ketson
7d18334ad2
[DOCS] minor ParticlesMaterial docs fix Linear -> Radial 2018-03-21 23:44:09 +07:00
Pieter-Jan Briers
11aa330a6f Improve Input.is_action_just_* docs.
More clarification.
2018-03-18 13:41:25 +01:00
Michael Alexsander Silva Dias
712d6e724a Fixed small typo in the "InstancePlaceholder" doc. 2018-03-17 16:00:36 -03:00
Geoffrey
09c887f38e Implemented interface for bullet joint motors 2018-03-16 13:37:15 +01:00
Max Hilbrunner
7275fb6170
[DOCS] Node: Remove duplicate information 2018-03-16 11:48:45 +01:00
Hein-Pieter van Braam
9bc0503c91
Merge pull request #17376 from marcelofg55/file_get_path
Added File.get_path and File.get_path_absolute functions
2018-03-15 22:21:21 +01:00
Rémi Verschelde
9bb1b55486
Merge pull request #17514 from brylie/patch-1
Add brief description
2018-03-15 20:45:26 +01:00
mhilbrunner
5a3e841c60 [DOCS] Node: Networking updates, fix outdated and missing docs 2018-03-15 20:00:34 +01:00
Brylie Christopher Oxley
32fc6c9041
Add brief description 2018-03-14 23:23:38 +02:00
Rémi Verschelde
a8bbb708a8
Merge pull request #17489 from mhilbrunner/docs-input
[DOCS] Input
2018-03-14 12:29:47 +01:00
Goutte
ed69345a19 Add a binary mask to allow configuration of which mouse buttons the BaseButton will respond to. 2018-03-13 23:59:53 +01:00
Max Hilbrunner
c90f18e3f5
[DOCS] Environment: Whitespace fixes 2018-03-13 21:24:17 +01:00
Max Hilbrunner
22cb4a1cf9 [DOCS] Input 2018-03-13 20:12:10 +01:00
Marcelo Fernandez
a4e64c5454 Added File.get_path and File.get_path_absolute functions 2018-03-13 12:07:37 -03:00
Rémi Verschelde
c81356153e
Merge pull request #16971 from Noshyaar/tilemap
TileMap: add fix_invalid_tiles
2018-03-13 13:57:58 +01:00
Rémi Verschelde
96bda9c463
Merge pull request #17094 from Calinou/add-dynamicfont-hinting-options
Add an hinting mode setting to DynamicFonts
2018-03-13 13:38:35 +01:00
Rémi Verschelde
4287c7822b
Merge pull request #17440 from viktor-ferenczi/issue-5042
Properly closing all files in Python build code
2018-03-13 11:49:58 +01:00
Viktor Ferenczi
272ecddb28 Properly closing all files in Python code 2018-03-11 14:55:50 +01:00
Neil Moore
60f1f58158 Update Image format enumeration documentation
Provides more information about each image format.
2018-03-10 01:41:50 -05:00
Bernhard Liebl
9d7856620c Bring back Vector2.cross() 2018-03-07 21:10:31 +01:00
Max Hilbrunner
fdd0f18959
[DOCS] Small fix to Area: Fix copy/paste errors 2018-03-03 10:52:14 +01:00
robfram
5ef88cf577 Added get_playing_speed method to AnimationPlayer, returning the actual
playing speed of the animation being played.

As stated in #16550, there is no way to get the playing speed of an
animation. The `playback_speed` property is for the whole AnimationPlayer
node, and the argument passed to `play` method is another scale applied
in top of the AnimationPlayer properties.

Thus, the actual playing speed is AnimationPlayer.speed_scale *
AnimationPlayer.playback.current.speed_scale. If it is not playing, the
method returns 0.
2018-03-03 09:29:22 +01:00
Poommetee Ketson
b099a500eb
s/Camear/Camera in docs 2018-03-02 23:20:14 +07:00
Max Hilbrunner
0b65bac1a1
[DOCS] Small fix to PinJoint2D 2018-03-02 04:59:17 +01:00