Commit graph

1688 commits

Author SHA1 Message Date
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
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
Tomasz Chabora
0e93714ff7 Better documentation for some move_and_slide parameters 2019-03-23 15:06:50 +01:00
Chaosus
61b22beeae Added method to clear all points in Line2D 2019-03-19 20:32:10 +03:00
Bastiaan Olij
8627f1515b Added height map shape that implement heightmap collision shape 2019-03-17 20:55:40 +11:00
Michael Alexsander Silva Dias
4a2c433028 Make AnimatedSprite able to play backwards 2019-03-17 04:03:23 -03:00
Chaosus
5f137925dc Added normally distributed generation function to RNG 2019-03-17 08:09:46 +03:00
Rémi Verschelde
d8a6b4ee67
Merge pull request #27109 from homer666/docs-particles2d-tutorial
[DOCS] Add tutorial link to Particles2D
2019-03-16 10:45:28 -07:00
Rémi Verschelde
92d317a0b0
Merge pull request #27031 from cbscribe/kcc_classref_minor_updates
[DOCS] minor classref updates
2019-03-16 10:40:17 -07:00
homer666
bc8aa32593 [DOCS] Add tutorial link to Particles2D 2019-03-16 12:02:21 +11:00
Chris Bradfield
454b701e76 [DOCS] minor classref updates 2019-03-14 11:36:12 -07:00
Rémi Verschelde
775e74e0d4
Merge pull request #26484 from Andrettin/Configurable-Tooltip-Offset
Make the Tooltip Position Offset Configurable
2019-03-13 20:12:22 +01:00
Rémi Verschelde
e065bb5c3b
Merge pull request #27000 from clayjohn/multimesh_doc
[DOC] Linked various tutorials in the classref
2019-03-13 20:08:49 +01:00
clayjohn
67446ff733 linked tutorials in the classref 2019-03-12 22:48:18 -07:00
Rémi Verschelde
51f6138cb3 doc: Sync classref with current source 2019-03-12 17:03:35 +01:00
merumelu
db8f26c8e5 AudioStreamSample: Don't crash when writing to file fails 2019-03-12 15:51:07 +01:00
Rémi Verschelde
61771ad39b doc: Fix style for vararg in makerst 2019-03-10 11:31:27 +01:00
DESKTOP-3H3MR3A\eloisa
b22cf46fdb Request Android record permission when needed 2019-03-08 12:38:36 -03:00
Rémi Verschelde
c74bf2e6b1 Define android/modules globally so it appears in Project Settings
Until now people had to add it manually to project.godot to load custom modules.
2019-03-07 11:25:58 +01:00
Rémi Verschelde
8f5d9b6391 doc: Sync classref with current source 2019-03-07 10:54:42 +01:00
Rémi Verschelde
b4d5c1ab5b
Merge pull request #26633 from akien-mga/driver-fallback-etc
Disable driver fallback to GLES2 by default
2019-03-06 00:57:49 +01:00
merumelu
4d9b7b9803 makerst: make vararg methods look the same as in editor help 2019-03-05 20:42:09 +01:00
Rémi Verschelde
b0f782a0e3 Disable driver fallback to GLES2 by default
GLES2 is not designed to be a drop-in replacement for the GLES3 backend,
so the fallback mode has to be used knowingly. It *can* make sense for
simple projects which make sure to handle the differences between both
rendering backends, but most users should stick to one supported backend.

By making it opt-in, we can now use this parameter to define whether to
export ETC textures to Android and iOS when using GLES3 + Fallback.

When using GLES3 without Fallback on Android, set the proper min GLES
version in the AndroidManifest.

Also made the option boolean and renamed it for clarity and to avoid
conflict with the previous String option (which would always evaluate as
"true" otherwise).

Fixes #26569.
2019-03-05 16:36:46 +01:00
Michael Alexsander Silva Dias
1b4228cb48 Remove "TODO" instances in the docs 2019-03-05 11:02:44 -03:00
Juan Linietsky
5cfedd46ce Further clarify docs for #26545 2019-03-04 09:53:02 -03:00
psuhas77
52125af7a0 mentioned possible use of property:component syntax
Referencing #26466  , added possible use of property:component syntax for functions like interpolate_property, follow_property,etc.. in the class description.
2019-03-03 01:26:54 +05:30
Andrettin
30c07c1ae1 Made the tooltip position offset configurable 2019-03-02 12:11:42 +01:00
Rémi Verschelde
df2491c253
Merge pull request #26354 from Pobega/elaborate-manual-animation-quirks
docs: Elaborate AnimationPlayer manual advancing
2019-02-27 21:42:08 +01:00
Michael Pobega
ffa22c9273 Elaborate AnimationPlayer manual advancing
Elaborate the difference between AnimationPlayer::advance and
AnimationPlayer::seek, specifically how intermediary events are handled for
each.

From the docs it is unclear that AnimationPlayer::advance is more of a
'fast-forward', playing each event (including function calls) between the two
points.
2019-02-27 15:34:23 -05:00
nuke
cab790a49d
Update ScrollContainer description to be less ambiguous. 2019-02-27 12:24:56 -05:00
Ryan Roden-Corrent
b1c221d5ab
Clarify how to use MultiMesh.set_instance_color.
Just calling set_instance_color will do nothing unless you have set
color_format and vertex_color_use_as_albedo. This is really confusing,
and I only discovered my error by finding godotengine/godot#10217 from
another confused user.

The docs should call out these requirements.
2019-02-26 21:41:22 -05:00
Rémi Verschelde
88a36e20cb doc: Sync classref with current source 2019-02-25 11:22:41 +01:00
Rémi Verschelde
51bd516a07 doc: Fix wrong tag 2019-02-25 11:17:56 +01:00
Chris Bradfield
08c3a2241d [DOCS] Minor classref updates. 2019-02-24 20:30:26 -08:00
Hein-Pieter van Braam
9bfc491384
Merge pull request #25683 from wombatstampede/patch-1
Update CPUParticles.xml
2019-02-23 00:36:04 +01:00
Rémi Verschelde
8b9ec8bc88 Document that ViewportTexture is flipped on Y
Fixes #26141.
2019-02-22 15:11:32 +01:00
Michael Alexsander Silva Dias
5dc4893f2e Add descriptions for the 'MergeMode's in 'UndoRedo' docs 2019-02-21 11:07:41 -03:00
Rémi Verschelde
b39e1df704 Fix VariantWriter overflow on 64-bit int
Integers in Godot are signed 64-bit ints (int64_t), but var2str used
int behind the scenes and would thus overflow after 2^31.

Also properly documented the actual bounds of int and the behaviour
when overflowing them.
2019-02-21 11:24:00 +01:00
Rémi Verschelde
5d815a5526
Merge pull request #26087 from akien-mga/settings-per-pixel-transparency
ProjectSettings: fix category for per pixel transparency settings
2019-02-20 16:28:24 +01:00
Pieter-Jan Briers
d7ae3b8b61 Improve documentation for StyleBox.
I want to just say that the terms used by style boxes are all over the place and quite confusing.
It's even worse internally.
2019-02-20 15:51:07 +01:00
Rémi Verschelde
e7018e4017 ProjectSettings: fix category for per pixel transparency settings 2019-02-20 14:45:02 +01:00
Rémi Verschelde
d1f68e2eaf Add tooltip for in-editor FPS display in 3D viewport
Also enhance Control/Label documentation about tooltips and mouse filter,
as it took me a while to understand why Labels didn't show tooltips.

Closes #26082.
2019-02-20 12:16:22 +01:00
Joseph Catrambone
ec94370053 Add warnings to docs for methods that return copies, not refs. 2019-02-19 20:03:40 -08:00
Rémi Verschelde
7c8fbd892c
Merge pull request #25971 from akien-mga/version-hex
Add hex-encoded version number to Engine singleton for easy comparisons
2019-02-18 13:51:38 +01:00
Rémi Verschelde
4e0eb752c2 doc: Fix style issues 2019-02-18 09:45:10 +01:00
Rémi Verschelde
1ffd1bc8f3 doc: Sync classref with current source 2019-02-18 09:35:29 +01:00
Michael Alexsander Silva Dias
8cc3ae11da Small improvements to the Resource doc 2019-02-17 10:37:23 -03:00
Rémi Verschelde
2e6501d879 Add hex-encoded version number to Engine singleton for easy comparisons 2019-02-17 13:38:52 +01:00
Juan Linietsky
1aa7e22b67 Clear up eof_reached function, fixes #16919 2019-02-17 09:05:32 -03:00
Rémi Verschelde
44d24e8b78
Merge pull request #25952 from pbrunet/fix/rand
Fix typo for randd and randf
2019-02-16 22:05:23 +01:00
Pierrick Brunet
3b6d05db3e Fix typo for randd and randf
* And improve documentation according to issue #25938
2019-02-16 21:05:18 +01:00
Rémi Verschelde
7a79eee523 Expose OS::get_current_video_driver to scripting languages 2019-02-16 14:41:07 +01:00
Rémi Verschelde
325efb60b7
Merge pull request #25776 from luizcarlos1405/master
Fixes some AnimationPlayer bugs
2019-02-13 20:34:35 +01:00
Rémi Verschelde
b340b7e804
Merge pull request #25422 from azagaya/optionbutton
Fix docs about item_selected and item_focused . Fixes #25273
2019-02-13 20:31:53 +01:00
Luiz
06a0a29711 Fix some AnimationPlayer bugs and update documentation 2019-02-13 14:40:22 -03:00
Rémi Verschelde
5fc86026ca Fix typos with codespell
Using codespell 1.14.0.

Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
doubleclick
lod
nd
numer
que
te
unselect
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2019-02-13 09:23:29 +01:00
MidZik
ee77cba83e Clarified TileMap get_cell method behavior. 2019-02-12 22:44:39 -06:00
azagaya
7051685a77 Fixes differences between docs and item_selected and item_focused signals in optionbutton
Description in docs about item_selected and item_focused signals in optionbutton is fixed to match the real behaviour. Also, get_item_index function is added.
2019-02-11 08:52:09 -03:00
Rémi Verschelde
6607c3c1c7
Merge pull request #25428 from GlaDos28/master
[DOCS] Added warnings about Dictionary element erasure while iterating over it
2019-02-10 21:40:29 +01:00
Evgeny Savelyev
5594b08e90 added warnings about Dictionary element erasure while iterating over it 2019-02-10 23:28:22 +03:00
Rémi Verschelde
f614f15506 doc: Misc formatting fixes 2019-02-10 13:30:48 +01:00
Rémi Verschelde
74932b905e doc: Sync classref with current source 2019-02-10 13:01:03 +01:00
Rémi Verschelde
2975f6e3c4
Merge pull request #25412 from toger5/Doc_impulse_fore
[DOCS] rephrased impulse
2019-02-10 12:56:12 +01:00
Rémi Verschelde
3b3bb8c578
Merge pull request #25728 from clayjohn/doc_multimesh
[DOC] Filled in MultiMesh doc
2019-02-10 11:36:21 +01:00
clayjohn
975c3fd157 filled in multimesh doc 2019-02-09 11:47:25 -08:00
Rémi Verschelde
b462fdf1cb
Merge pull request #25685 from Calinou/doc-improve-resourcepreloader
Improve the ResourcePreloader documentation
2019-02-09 12:45:27 +01:00
Rémi Verschelde
0e377f348c
Merge pull request #25517 from Zylann/doc_expression
Explain how to use Expression inputs
2019-02-08 11:55:06 +01:00