Commit Graph

517 Commits

Author SHA1 Message Date
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
Hugo Locurcio a0ddd6122c
Add documentation for the DynamicFont hinting property 2018-03-01 22:23:18 +01:00
Rémi Verschelde 47676cfa98 doc: Sync classref with current source 2018-02-27 13:41:27 +01:00
Rémi Verschelde 3fa77b3172 doc: Remove status from hardcoded version string
It has no practical use case and just generates noise for each alpha, beta, etc.
2018-02-27 13:40:49 +01:00
indicainkwell 7154a96d3f added docs on Control's drag and drop api 2018-02-26 15:54:08 -08:00
Rémi Verschelde 2df206e6a8
Merge pull request #17003 from Noshyaar/docs
[DOCS] Sync classref with current source
2018-02-25 10:06:16 +01:00
Poommetee Ketson eb63f7b071 [DOCS] Sync classref with current source 2018-02-25 15:14:25 +07:00
Rémi Verschelde d356bd605b
Merge pull request #16952 from Noshyaar/datadir
[DOCS] clarify that OS.get_user_data_dir needs project name
2018-02-24 18:33:27 +01:00
Poommetee Ketson 7effe46461 TileMap: add fix_invalid_tiles 2018-02-24 19:34:41 +07:00
Poommetee Ketson 2c22c9dcfb [DOCS] clarify that OS.get_user_data_dir needs project name
[ci skip]
2018-02-24 17:15:06 +07:00
Pieter-Jan Briers b51a86a57a StyleBoxTexture: Texture instead of RES for texture and normal_map. 2018-02-22 19:27:35 +01:00
BastiaanOlij 234b86e6b2 Added documentation for VehicleBody 2018-02-22 17:39:25 +11:00
luz.paz 612ab4bbc6 Fix typos with codespell
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt`
Whitelist consists of:
```
ang
doubleclick
lod
nd
que
te
unselect
```
2018-02-21 19:46:06 +01:00
Rémi Verschelde 5109f2ca67
Merge pull request #16874 from volzhs/button-group-desc
Mention about BaseButton.toggle_mode in ButtonGroup description
2018-02-21 08:48:39 +01:00
volzhs 0d0b266143 Mention about BaseButton.toggle_mode in ButtonGroup description 2018-02-21 15:53:30 +09:00
Michael Alexsander Silva Dias 1260ed90bd Clarified what the Tree's signals "item_activated" and "item_double_clicked" do. 2018-02-20 13:11:06 -03:00
Rémi Verschelde 37a6ce5a42
Merge pull request #15563 from poke1024/gdscript-shuffle
Add shuffle() method to Array
2018-02-19 21:53:08 +01:00
Rémi Verschelde a41c45c335
Merge pull request #16060 from sdfgeoff/apply_torque
Exposed apply_torque_impulse to gdscript
2018-02-19 21:38:33 +01:00
Chaosus 399e553829 Added flip switch to generate_normals 2018-02-19 22:40:34 +03:00
Rémi Verschelde 48850d4077
Merge pull request #16738 from YeldhamDev/rigidbodies_descriptions
Made modifications to the RigidBody(2D) descriptions
2018-02-19 20:29:53 +01:00
Michael Alexsander Silva Dias 50e6b3c005 Made modifications to the RigidBody(2D) descriptions. 2018-02-19 14:40:00 -03:00
Rémi Verschelde fee29570d0 doc: Sync classref with current source 2018-02-19 10:47:16 +01:00
Rémi Verschelde 3c7a39b40c doc: Update version string in header 2018-02-19 10:46:33 +01:00
Benjamin Stammen 6af7dafd6c
Direct to InputEventJoypadButton for using buttons 2018-02-16 17:59:44 -08:00
sdfgeoff cdd8334585 Exposed apply_torque_impulse to gdscript and added documentation for added apply_torque_impulse method 2018-02-15 16:42:24 +01:00
Rémi Verschelde 7d7f8d9e54
Merge pull request #15864 from GodotExplorer/pr-get_unique_id-desktop-impl
Implement more methods for OS on Desktop platforms
2018-02-14 16:11:53 +01:00
Rémi Verschelde 8812cb4bfc
Merge pull request #16677 from YeldhamDev/itemlist_reselect
Added "allow_reselect" property to ItemList and enabled it for the method/help lists
2018-02-14 10:45:40 +01:00
Michael Alexsander Silva Dias 4dbf6ac1b8 Added "allow_reselect" property to ItemList and enabled it for the method/help lists. 2018-02-14 03:38:07 -02:00
Fabio Alessandrelli 67b600d957 Add mbedtls module 2018-02-14 01:26:23 +01:00
Rémi Verschelde c2d8960c9c
Merge pull request #16659 from vnen/plugin_order
Expose priority and order for custom import plugins
2018-02-14 00:28:40 +01:00
George Marques da69a06253
Add a function to remove controls from containers
Closes #5968
2018-02-13 19:35:10 -02:00
George Marques c68948fdfa
Expose priority and order for custom import plugins 2018-02-13 11:59:56 -02:00
Rémi Verschelde d0a3bd82c1
Merge pull request #16401 from YeldhamDev/json_example_fix
Fixed wrong example in JSONParseResult
2018-02-13 12:00:09 +01:00
Rémi Verschelde 889b9b6dce
Merge pull request #16306 from mhilbrunner/mhilbrunner-docs-json-keyorder
[DOCS] parse_json: Objects do not keep key order
2018-02-12 08:03:53 +01:00
Andrew Silver da81d9f843 Fixed KinematicBody move_and_slide documentation naming 2018-02-05 21:44:53 +01:00
Michael Alexsander Silva Dias 24e87f97c6 Fixed wrong example in JSONParseResult. 2018-02-04 21:00:16 -02:00
Timur Celik c16f61190c Fix broken variant call of Vector3.snapped 2018-02-03 19:57:12 +01:00
Max Hilbrunner 82b8f1729d [DOCS] parse_json: Objects do not keep key order
Document JSON not guaranteeing key order.
2018-02-02 17:28:36 +01:00
Michael Alexsander Silva Dias 5e0821e867 Small fixes for the Control description in the docs. 2018-02-01 19:43:44 -02:00
geequlim 5980bef672 OSX: implement OS.get_unique_id
Update the documentations for OS.get_unique_id()
2018-02-01 23:29:39 +08:00
Profesor Tartelett 9d735ffacb
Errata fix on Image get_format() description
The description of this function seems to be duplicated from the preceding description.
2018-01-31 19:35:46 +01:00
Rémi Verschelde e7cf2b2e77
Merge pull request #16188 from Schweigert/master
Display set_nodelay to GDScript
2018-01-31 17:26:12 +01:00
Rémi Verschelde 7b69133929
Merge pull request #16197 from Chaosus/viewportdoc
Viewport doc improvements
2018-01-31 17:25:41 +01:00
Rémi Verschelde 8b5be97d1d
Merge pull request #16215 from vnen/graphedit-expose
Expose a few GraphEdit methods to script languages
2018-01-31 17:22:55 +01:00
George Marques b80bc73a17
Expose a few GraphEdit methods to script languages 2018-01-30 22:09:41 -02:00
George Marques 87be0bc110
Add interface for plugins to enable/disable other plugins 2018-01-30 20:25:20 -02:00
Marlon Henry Schweigert 87adf9cfba Display set_nodelay to GDScript
Pass enabled arg

Rename set_nodelay to set_no_delay

Add description to the method

Change description
2018-01-30 13:22:15 -02:00
Chaosus ffcbb0c358 Viewport doc improvements 2018-01-30 17:50:25 +03:00
Poommetee Ketson ebe2337515 Fix wrong return type of xform functions 2018-01-30 18:45:54 +07:00
volzhs a62d8de062 Update ProjectSettings description to correct usage
Fix #16078
2018-01-26 17:17:53 +09:00
Rémi Verschelde f2e3825616 doc: Fix references to online tutorials after godotengine/godot-docs#1015 2018-01-25 09:03:59 +01:00
Rémi Verschelde d516aab8fa doc: Sync with current source
Also enhance RigidBody docs as per https://github.com/godotengine/godot-docs/pull/1018
and fix the version tag in all files (not really stable yet, but it makes no sense
to hardcode rc3 at this stage).
2018-01-25 08:50:56 +01:00
Rémi Verschelde 4808dfb06b doc: Sync with current source 2018-01-24 21:58:39 +01:00
Chaosus 70bba4e62d Fix bug in color doc 2018-01-24 23:39:36 +03:00
PetePete1984 f4d67433e7 More precise description for is_visible_in_tree 2018-01-22 16:22:17 +01:00
Todd Ross b57dcf446e clarify OS.execute usage, add examples 2018-01-20 18:36:00 -06:00
Anutrix 6d4c6449f4 Added description to dedent in String.xml 2018-01-19 15:57:38 +05:30
Poommetee Ketson d7e07fb25a
Merge pull request #15857 from YeldhamDev/find_last_doc
[DOCS] Fixed incorrect information inside String's "find_last" method

[ci skip]
2018-01-19 10:22:21 +07:00
Michael Alexsander Silva Dias d8f6acee4b [DOCS] Fixed incorrect information inside String's "find_last" method. 2018-01-19 00:10:33 -02:00
Rémi Verschelde 9f479f096c Fix typos in code and docs with codespell
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18 22:01:42 +01:00
Rémi Verschelde f2a26fba96
Merge pull request #15845 from Anutrix/master
Added description to get_collision_mask_bit and set_collision_mask_bit in RayCast2D.xml
2018-01-18 19:13:23 +01:00
Abhas Kumar Sinha 1a1303a948 Update MultiMeshInstance and WorldEnvironment documentation
With some edits by @akien-mga.
2018-01-18 19:11:33 +01:00
Anutrix 0ec8f4c06b Added description to get_collision_mask_bit and set_collision_mask_bit in RayCast2D.xml 2018-01-18 23:14:31 +05:30
Chaosus fc5cc57d82 few doc fixes 2018-01-17 13:28:59 +03:00
Rémi Verschelde 6c46787749 doc: Replace some more "val" with "value" + sync 2018-01-17 10:43:23 +01:00
Chaosus 0c9312c6b8 Fixes for parameter names of builtin functions in visual scripts/core 2018-01-16 19:49:45 +03:00
Michael Alexsander Silva Dias 0dce89c862 [DOCS] Description for the JavaScript singleton in @GlobalScope. 2018-01-15 21:15:04 -02:00
Juan Linietsky 03475ba197 Filled tutorial field in most relevent classes.
Added tutorial display in doc.
2018-01-15 18:41:13 -03:00
Bojidar Marinov f2355949c4
Fix an issue with the animation editor not seeking to the target time properly.
Fixes #15646.
2018-01-14 12:28:57 +02:00
Rémi Verschelde c01575b312 doc: Sync with current source 2018-01-13 11:43:49 +01:00
Rémi Verschelde e28cdc4654 doc: Update version string in XML 2018-01-13 11:43:42 +01:00
letheed 524ee14054 Small fix for Control bindings 2018-01-13 09:40:42 +01:00
Grosskopf a9b18041fc Added some explanations that should make it easier to use the AnimationTreePlayer 2018-01-12 19:26:03 +01:00
Juan Linietsky a26e6c8215 Renamed tree_exited to tree_exiting. tree_exited is now used for actual out of tree notification.
Updated doc accordingly.
2018-01-12 08:29:24 -03:00
Rémi Verschelde baef1e71c7 Fix malformed doc after #15611 2018-01-12 09:03:11 +01:00
Bojidar Marinov ad79c70300
Update docs
[ci skip]
2018-01-12 00:58:22 +02:00
Juan Linietsky e633a04c42 Update documentation to clarify that list of overlaps is not updated immediately. 2018-01-11 11:19:12 -03:00
poke1024 75d69fb4ec Add shuffle() method to Array 2018-01-10 19:36:53 +01:00
Rémi Verschelde 415d128249
Merge pull request #15530 from akien-mga/signal-args
Fix signal arguments shadowing member variables
2018-01-10 10:38:28 +01:00
Rémi Verschelde 7251c5b582 Improve Control and Label documentation about mouse filtering
Fixes #9657.
2018-01-09 17:40:19 +01:00
Rémi Verschelde 52165fa12d Fix bindings of EditorSettings.set_initial_value
Also ran doctool.
2018-01-09 16:52:46 +01:00
Rémi Verschelde 4b6bef6524 Fix signal arguments shadowing member variables
Fixes #10212.
2018-01-09 16:51:19 +01:00
Todd Ross 6e932c3108 obsolete UndoRedo max_steps; no users identified 2018-01-08 10:57:07 -06:00
Rémi Verschelde efe27c6ed2
Merge pull request #15491 from volzhs/doc-kinematicbody
Fix KinematicBody documentation about move_and_slide
2018-01-08 17:09:06 +01:00
volzhs e04a9cdf6e Fix KinematicBody documentation about move_and_slide 2018-01-09 01:05:28 +09:00
Jerome67000 feef8615d2 Add standardised color names to doc 2018-01-08 11:55:49 +01:00
Rémi Verschelde b5b2ca8143
Merge pull request #15423 from agmcleod/master
Documentation interpolation functions - Indicate what "t" means in interpolation docs
2018-01-07 14:27:28 +01:00
Rémi Verschelde 29e68aa40e doc: Sync classref with current source 2018-01-07 01:37:45 +01:00
Aaron McLeod b04610b5e7 Indicate what "t" means in interpolation docs 2018-01-06 18:28:21 -05:00
Jerome67000 b5885c43eb Fix crash when using Image.resize() without calling Image.create() first 2018-01-06 13:20:45 +01:00
Rémi Verschelde 1f382ba434
Merge pull request #15333 from PJB3005/18-01-04-control-mouse-filter-docs
Document Control.mouse_filter and its constants.
2018-01-04 19:51:41 +01:00
PJB3005 305ab94431 Document Control.mouse_filter and its constants. 2018-01-04 18:20:19 +01:00
Rémi Verschelde 914f51031c doc: Sync classref with current source 2018-01-04 01:48:24 +01:00
Rémi Verschelde f9f6f250e6
Merge pull request #15191 from Jerome67000/z_renaming
renames "z" Node2D property to "z_index"
2018-01-04 00:41:45 +01:00
Rémi Verschelde 8d03cafd7c doc: Sync classref with current source 2018-01-03 13:45:03 +01:00
Jerome67000 42ae3525a3 #15078 renamed "z" -> "z_index" property in Node2D 2018-01-03 13:02:26 +01:00
Rémi Verschelde 4be31e37b0
Merge pull request #15157 from Noshyaar/prdocs
[DOCS] Minor docs fix
2018-01-03 12:17:06 +01:00