Commit Graph

11017 Commits

Author SHA1 Message Date
Chris Bradfield
e4dc1f93d2 Merge pull request #11943 from Nallebeorn/documentation_2
[DOCS] Add documentation for Performance
2017-10-08 23:34:37 -07:00
Nathan Lovato
c022a32e63 Merge pull request #11820 from cbscribe/kcc_particles_doc
[DOCS] Update ParticlesMaterial, Particles, Particles2D class ref
2017-10-09 08:08:53 +02:00
authenticate
6d2abb4877 A minor documentation typo fix. 2017-10-08 22:59:07 -04:00
Chris Bradfield
c95ba4d7a7 Merge pull request #11938 from brunosxs/docs
[DOCS] File Class method description
2017-10-08 14:07:09 -07:00
brunosxs
22436f6bf1 [DOCS] File Class method description 2017-10-08 17:04:00 -03:00
Benjamin Larsson
fc839f9fe8 Fix a typo in KinematicBody and KinematicBody2D. 2017-10-08 18:39:24 +02:00
Benjamin Larsson
be8d343f2c Add documentation for Performance. 2017-10-08 18:31:56 +02:00
Chris Bradfield
0fb22b1d24 Merge pull request #11920 from mhilbrunner/docs-camera
[DOCS] Camera documentation
2017-10-07 16:38:13 -07:00
Poommetee Ketson
7d50c5de86 Merge pull request #11902 from GDquest/texture-button-progress
[DOCS] Write TextureButton, review and fill missing entries in TextureProgress

[ci skip]
2017-10-08 06:37:38 +07:00
Poommetee Ketson
a645c38084 Merge pull request #11918 from Nallebeorn/documentation
[DOCS] Write missing method and member descriptions of KinematicBody2D

[ci skip]
2017-10-08 06:36:33 +07:00
Chris Bradfield
da94eab3ea Merge pull request #11914 from diowonderland/docs-backbuffercopy
[DOCS] BackBufferCopy: Document members
2017-10-07 16:35:14 -07:00
Chris Bradfield
96a5aeeea6 Merge pull request #11917 from brunosxs/docs
[DOCS] Add descriptions to members of Camera2D
2017-10-07 16:34:03 -07:00
Benjamin Larsson
acf81338aa Minor fixes to KinematicBody and KinematicBody2D 2017-10-07 22:57:31 +02:00
brunosxs
a5e5c0855d [DOCS] Add descriptions to members of Camera2D 2017-10-07 17:54:25 -03:00
Benjamin Larsson
9b15bf26f6 Edit move_and_slide, it does a bit more than I first thought. 2017-10-07 22:40:18 +02:00
Benjamin Larsson
5e7b98171b Fixed an error in get_floor_velocity() docs 2017-10-07 22:10:28 +02:00
Dio
1aef04a397 [DOCS] BackBufferCopy: Document members 2017-10-07 21:03:40 +02:00
Benjamin Larsson
94150b8e8e Small changes to KinematicBody2D docs. 2017-10-07 20:31:04 +02:00
Benjamin Larsson
25300a324c Update KinematicBody2D docs. 2017-10-07 20:31:04 +02:00
mhilbrunner
255f30a9b7 [DOCS] Camera documentation 2017-10-07 20:04:42 +02:00
Grosskopf
a2f504c728 Added Documentation for Sprite3D, AnimatedSprite3D and SpriteBase3D etc. 2017-10-07 19:07:21 +02:00
Nathan
f50bac71df [DOCS] Write TextureButton, review and finish TextureProgress 2017-10-07 17:48:38 +02:00
mhilbrunner
b772f5adc9 doc_status.py: Error message for unknown CLI flag, switch shebang to python 2017-10-07 14:57:04 +02:00
Chris Bradfield
44292bf77f [DOCS] Update ParticlesMaterial, Particles class ref 2017-10-06 09:06:59 -07:00
BastiaanOlij
ce74efacbb Made a few tweaks to the interface 2017-10-06 20:35:55 +11:00
Poommetee Ketson
4c2b5491b5 Merge pull request #11828 from Jerome67000/regexmatch_doc
[DOCS] Adds RegExMatch doc and fix RegEx typo

[ci skip]
2017-10-05 11:05:22 +07:00
Jerome67000
5c6172c5cf [DOCS] Adds RegExMatch doc and RegEx fix typo 2017-10-04 20:09:52 +02:00
Hein-Pieter van Braam
7c2cda72b8 Merge pull request #11816 from terahxluna/video_player_set_stream_position
Add function set_stream_position to VideoPlayer. Closes #8727
2017-10-04 18:03:13 +02:00
Julian Murgia
f4ddbc024c Merge pull request #11802 from mhilbrunner/docstatus-todo-filter
doc_status.py: Add -t (--todo) option, show only non-empty items
2017-10-04 11:07:36 +02:00
Terah
43410ca363 Add function set_stream_position to VideoPlayer
Also add docucmentation for set_stream_position in VideoPlayer
2017-10-04 07:46:08 +02:00
mhilbrunner
328b78a0b9 doc_status.py: Add -e (--empty) option to hide items with nothing left to do 2017-10-03 21:58:38 +02:00
Nathan Lovato
d08f7ee7bf Merge pull request #11793 from NathanWarden/updated_os_doc
Updated some documentation for the OS class.
2017-10-03 18:52:43 +02:00
Nathan Warden
0b3a49ef18 Updated some documentation for the OS class. 2017-10-03 09:30:04 -05:00
Hein-Pieter van Braam
2bece6bbd3 Merge pull request #11782 from eska014/persistent-userfs-test
Add OS::is_userfs_persistent, allow starting HTML5 platform in private mode
2017-10-03 12:24:11 +02:00
Nathan Lovato
cc40784728 Merge pull request #11653 from bojidar-bg/doc-vscript-1
[DOCS] Document some of the VisualScript classes
2017-10-03 11:58:06 +02:00
Bojidar Marinov
10469c1962
Document some of the VisualScript classes. 2017-10-03 12:01:53 +03:00
Andreas Haas
a4cfec4e21 Merge pull request #11757 from mhilbrunner/doc_status_py27
doc_status.py Python 2.7 backwards compatibility & Windows support
2017-10-02 22:24:38 +02:00
Andreas Haas
ab65a0cda0 Merge pull request #11768 from cbscribe/kcc_polygon2d_doc
[DOCS] Update Polygon2D and CollisionPolygon2D
2017-10-02 22:21:13 +02:00
Leon Krause
7b23665e72 Add OS::is_userfs_persistent to check user:// persistence
Allows starting HTML5 export when IndexedDB is not available.
2017-10-02 21:07:05 +02:00
Poommetee Ketson
30c1449289 Merge pull request #11725 from GDquest/control-docs
[DOCS] Write member, signals and constants in the Control class

[ci skip]
2017-10-02 23:39:50 +07:00
Poommetee Ketson
ce88118a71 Merge pull request #11734 from Jerome67000/json_doc
[DOCS] Adds JSON and JSONParseResult doc

[ci skip]
2017-10-02 23:39:16 +07:00
Chris Bradfield
ee1afc8bca [DOCS] Update Polygon2D and CollisionPolygon2D 2017-10-02 09:36:09 -07:00
Poommetee Ketson
5005818798 Merge pull request #11654 from bojidar-bg/docstatus-fnmatch
Allow using wildcards to filter docstatus class names
2017-10-02 23:31:52 +07:00
Jerome67000
b8db909f48 [DOCS] Adds JSON and JSONParseResult doc 2017-10-02 12:01:38 +02:00
Nathan
55ac818d9a [DOCS] Write member, signals and constants in the Control class
I left the following properties and constants out:

- rect_clip_content, I think it should let me resize the node below the content's size, but even with the minimum size set to (0,0) Godot won't let me
- mouse_filter, grow_horizontal and grow_vertical, same issue, after testing I don't know when they're necessary, so can't document them.
- GROW_DIRECTION_BEGIN, GROW_DIRECTION_END, MOUSE_FILTER_STOP, MOUSE_FILTER_PASS, MOUSE_FILTER_IGNORE, constants that correspond to the member variables above

For the mouse_filter, I couldn't see what it does in 3.0 alpha 1. For the grow_direction, I can see they might change the size calculation when the node's size changes, but in practice, with containers, I couldn't see a difference. If you know when to use it, please tell me and I'll add them to the PR.
2017-10-02 08:34:11 +02:00
mhilbrunner
2d46ee36cc doc_status.py Python 2.7 backwards compatibility 2017-10-01 21:47:54 +02:00
Poommetee Ketson
42e2821d04 Merge pull request #11635 from Jerome67000/docs_AudioEffects
[DOCS] AudioEffects doc

[ci skip]
2017-10-01 00:06:47 +07:00
Indah Sylvia
392a94686c Fixed typo: 'texure' to 'texture' 2017-09-29 04:40:01 +07:00
Jerome67000
8c19cc7b3d [DOCS] Adds AudioEffects doc 2017-09-28 13:26:18 +02:00
Bojidar Marinov
1f60d0c23f
Allow using wildcards to filter docstatus class names
[ci skip]
2017-09-28 13:13:32 +03:00
Chris Bradfield
129a37421d [DOCS] Update AnimatedSprite class ref 2017-09-26 22:56:16 -07:00
Chris Bradfield
06ce436144 [DOCS] Update SpriteFrames class ref 2017-09-24 12:21:19 -07:00
Poommetee Ketson
f5201d44a8 Merge pull request #11530 from cbscribe/kcc_area_doc
[DOCS] Area/Area2D class ref update

[ci skip]
2017-09-24 17:44:27 +07:00
Chris Bradfield
0843d2379c [DOCS] Area/Area2D class ref update 2017-09-24 00:24:41 -07:00
Poommetee Ketson
9b3215b977 Merge pull request #11526 from cbscribe/kcc_collision_doc
[DOCS] Update CollisionObject/CollisionObject2D class ref

[ci skip]
2017-09-24 10:02:13 +07:00
Chris Bradfield
29f37120dd [DOCS] Update CollisionObject/CollisionObject2D class ref 2017-09-23 19:58:48 -07:00
FigyTuna
36bc8f4f72 Added documentation for Range 2017-09-23 16:28:17 -07:00
Poommetee Ketson
ea7646aabe Merge pull request #11515 from cbscribe/kcc_staticbody2d_doc
[DOCS] Update StaticBody2D class ref
2017-09-23 23:30:48 +07:00
Chris Bradfield
d82a7cdcf7 [DOCS] Update StaticBody2D class ref. 2017-09-23 09:28:16 -07:00
Poommetee Ketson
480b417c5b Merge pull request #11514 from cbscribe/kcc_sprite_doc
[DOCS] Update Sprite class ref

[ci skip]
2017-09-23 23:24:22 +07:00
Chris Bradfield
7c863d43b8 [DOCS] Update Sprite class ref 2017-09-23 09:11:51 -07:00
Rémi Verschelde
bac8f6332e Merge pull request #11509 from StraToN/docs-environment
Partial documentation for Environment resource.

[ci skip]
2017-09-23 16:57:26 +02:00
Marcelo Fernandez
46af050e93 Rename get_position => get_playback_position and seek_pos => seek on audio classes 2017-09-23 16:55:00 +02:00
Julian Murgia
75d95fca79 Partial documentation for Environment resource. 2017-09-23 16:18:35 +02:00
Linus
c3b79b1e07 RayShape, Shape, SphereShape 2017-09-23 14:35:39 +02:00
Rémi Verschelde
210ebb5cdb doc: Sync classref with current source
[ci skip]
2017-09-23 10:59:41 +02:00
Alexander Meerhoff
a11a9ddffc makerst.py: Support split classes XML and use folders and/or single files as input
The new syntax is (from `doc/`): `tools/makerst.py classes/ ../modules/`.
Also adapted `make rst` target accordingly.

[ci skip]
2017-09-23 10:34:35 +02:00
Marcelo Paez
5e50fde3d9 Changed get_audio_bus and set functions to get_audio_bus_name and set
and edited docs for Area2D due to renaming o get_audio_bus and set_audio_bus
2017-09-22 15:05:09 -03:00
Ross Hadden
1a97d6455d Fixed a bunch of typos, including an error code. 2017-09-21 23:58:29 -04:00
Rémi Verschelde
791f69419d Merge pull request #11304 from rminderhoud/editor_import_docs
Added EditorImportPlugin class ref docs

[ci skip]
2017-09-21 10:36:49 +02:00
letheed
5ad9be4c24 Rename pos to position in user facing methods and variables
Rename user facing methods and variables as well as the corresponding
C++ methods according to the folloming changes:

* pos -> position
* rot -> rotation
* loc -> location

C++ variables are left as is.
2017-09-20 13:11:10 +02:00
FigyTuna
ba568456c6 Modified/Added documentation for RigidBody and RigidBody2D 2017-09-18 10:18:05 -07:00
RaTi17
608c2eb3b5 Added code tags and corrected some lines 2017-09-18 10:26:28 +02:00
Rémi Verschelde
fba938e574 Merge pull request #11313 from deliciousfudge/boxcontainershape-docs
Refactor the docuementation of BoxContainer and BoxShape classes

[ci skip]
2017-09-17 22:50:27 +02:00
Rémi Verschelde
39e2af32ca Merge pull request #11352 from FigyTuna/physics_body_docs
[DOCS] Modified/Added documentation for PhysicsBody and PhysicsBody2D
2017-09-17 22:43:39 +02:00
Rémi Verschelde
cb20441ac9 Merge pull request #11351 from cbscribe/kcc_kinematiccollision_doc
[DOCS] Add KinematicCollision descriptions

[ci skip]
2017-09-17 22:42:34 +02:00
Rémi Verschelde
a829c77a58 Merge pull request #11349 from willt/getsetmove
[DOCS] added member descriptions to various shapes

[ci skip]
2017-09-17 22:42:10 +02:00
Rémi Verschelde
574a5714dc doc: Sync classref and escape comparators
[ci skip]
2017-09-17 18:57:17 +02:00
Grosskopf
10269b74c8 Added Documentation of AudioStream 2017-09-17 13:48:10 +02:00
Poommetee Ketson
27370a9d16 Merge pull request #11322 from Grosskopf/audio-stream-player-3D-docs
[DOCS] wrote documentation for audio stream player 3D

[ci skip]
2017-09-17 18:19:51 +07:00
Grosskopf
4ca06efd11 wrote documentation for audio stream player 3D 2017-09-17 13:08:08 +02:00
Rémi Verschelde
2115935f46 Merge pull request #11346 from cbscribe/kcc_light2d_doc
[DOCS] Add Light2D member descriptions.

[ci skip]
2017-09-17 12:39:09 +02:00
Rémi Verschelde
d67c9ef8a3 Merge pull request #11332 from Grosskopf/audio-stream-player-docs
[DOCS] Added Documentation of AudioStreamPlayer

[ci skip]
2017-09-17 12:38:14 +02:00
Rémi Verschelde
7d35a8c6fd Merge pull request #11331 from Grosskopf/audio-stream-player-2D-docs
[DOCS] Added Documentation of AudioStreamPlayer2D

[ci skip]
2017-09-17 12:38:07 +02:00
Rémi Verschelde
bc404c093a Merge pull request #11311 from FigyTuna/collision_polygon_docs
[DOCS] Modified the docs for CollisionPolygon and CollisionPolygon2D

[ci skip]
2017-09-17 12:37:01 +02:00
Rémi Verschelde
5d8d899385 Merge pull request #11227 from willt/@GDScript
In @GDScript added previous changes that went missing. added more des…

[ci skip]
2017-09-17 12:35:40 +02:00
Grosskopf
a2f9ffb0c7 Added Documentation of AudioStreamPlayer
Fixed according to Comments
autoplay issue fixed
2017-09-17 10:54:13 +02:00
Grosskopf
0babf9cd0c Added Documentation of AudioStreamPlayer2D
Fixxed according to comments
Somehow that fix was messed up again
Forgot some quotationmarks
updated autoplay, tried again
2017-09-17 10:52:41 +02:00
FigyTuna
4fc0910ed3 Modified/Added documentation for PhysicsBody and PhysicsBody2D 2017-09-16 23:47:20 -07:00
Chris Bradfield
ffe7708491 [DOCS] Add KinematicCollision descriptions 2017-09-16 21:56:03 -07:00
William Taylor
d2419c840e [DOCS] added member descriptions to various shapes 2017-09-16 21:55:23 -07:00
Chris Bradfield
9b4a0e2836 [DOCS] Add Light2D member descriptions. 2017-09-16 21:05:40 -07:00
Chris Bradfield
e1e9dde4f3 [DOCS] CanvasLayer member descriptions 2017-09-16 19:14:03 -07:00
Poommetee Ketson
7df94c69b2 Merge pull request #11279 from cbscribe/kcc_kinematiccollision_doc
Document new KinematicCollision2D class

[ci skip]
2017-09-17 08:43:48 +07:00
FigyTuna
60a929d18e Modified the descriptions for CollisionPolygon2D and created descriptions for CollisionPolygon 2017-09-16 18:42:47 -07:00
Chris Bradfield
33da7b4913 Document new KinematicCollision2D class 2017-09-16 18:42:07 -07:00
Poommetee Ketson
82aaaad30c Merge pull request #11330 from cbscribe/kcc_textureprogress_doc
[DOCS] Update TextureProgress class ref
2017-09-17 08:41:05 +07:00
Poommetee Ketson
b31123c670 Merge pull request #11329 from cbscribe/kcc_visibilitynotifier2d_doc
[DOCS] update VisibilityNotifier(2D) class ref
2017-09-17 08:40:28 +07:00
Poommetee Ketson
91b5a15ebc Merge pull request #11324 from GDquest/ui-nodes
[DOCS] Write and update TextureRect, Label and NinePatchRect
2017-09-17 08:38:52 +07:00
Poommetee Ketson
515869537e Merge pull request #11320 from bojidar-bg/x-doctool-markdownify
Make doc_status output a bit more markdown-friendly, hide some prints
2017-09-17 08:36:47 +07:00
Poommetee Ketson
d30682ad2e Merge pull request #11312 from deliciousfudge/acceptdialog-docs
Rewrite the documentation of AcceptDialog class
2017-09-17 08:33:04 +07:00
Chris Bradfield
b5838bc4de [DOCS] update VisibilityNotifier2D class ref. 2017-09-16 17:13:33 -07:00
Nathan
dfb3386184 Write TextureRect, Label and NinePatchRect 2017-09-16 21:09:43 +02:00
Rémi Verschelde
191ff0ecb5 Merge pull request #11255 from n-pigeon/spatial_doc_tweaks
Spatial, Transform and Transform2D documentation tweaks

[ci skip]
2017-09-16 20:10:18 +02:00
Chris Bradfield
bbed82de29 [DOCS] Update TextureProgress class ref 2017-09-16 09:45:41 -07:00
Ralph Minderhoud
ef0671763e Added EditorImportPlugin class ref docs 2017-09-16 07:51:38 -05:00
Bojidar Marinov
ca72a4806f
Make doc_status output a bit more markdown-friendly, hide some prints 2017-09-16 13:47:44 +03:00
Roger Smith
f818448199 Refactor the BoxContainer and BoxShape classes 2017-09-16 18:39:00 +12:00
Roger Smith
cbe7e9e309 Rewrite the AcceptDialog class 2017-09-16 14:56:04 +12:00
Rémi Verschelde
62cb43bb8d doc: Sync classref with current source
[ci skip]
2017-09-16 01:46:29 +02:00
Daniel J. Ramirez
e23454d5c3 Update doc status generator.
[ciskip]
2017-09-15 12:12:22 -05:00
Przemysław Gołąb (n-pigeon)
c32d857480 Spatial, Transform and Transform2D documentation tweaks 2017-09-15 09:16:30 +02:00
Jeroen
ca5abae1e7 Fix 2 typos 2017-09-14 10:31:43 +02:00
William Taylor
b1894e6016 Fix up examples/descriptions based on feedback. Added more content
In @GDScript added previous changes that went missing. added more descriptions and code examples
2017-09-13 23:07:19 -07:00
Rémi Verschelde
cc30e2a9a5 doc: Sync classref with current source
[ci skip]
2017-09-13 20:56:23 +02:00
Rémi Verschelde
375378b4e8 Merge pull request #11226 from StraToN/docssprint-atlastexture-2
Documentation for AtlasTexture.
2017-09-13 20:22:59 +02:00
Rémi Verschelde
e6a3ea1e26 Merge pull request #11209 from djrm/pr_docs
Added documentation for ClassDB and Marshalls

[ci skip]
2017-09-13 20:22:29 +02:00
Daniel J. Ramirez
2551647690 Added documentation for ClassDB and Marshalls 2017-09-13 12:43:12 -05:00
Julian Murgia
cb3bb26521 Documentation for AtlasTexture. 2017-09-13 13:37:33 +02:00
Rémi Verschelde
a4005221f5 doc: Sync classref with current source
[ci skip]
2017-09-13 08:53:01 +02:00
Juan Linietsky
4f929a0fdf Changed the doc class generation to individual files per class. It is also possible to save module files in module directories and the build system will
recognize them.
2017-09-12 17:45:41 -03:00
Julian Murgia
b7a0a77f4f Documentation for AtlasTexture. 2017-09-12 21:58:22 +02:00
Juan Linietsky
50bc1f2922 Merged docs and small correction to lowdpi feature (it supports windows now) 2017-09-12 11:40:18 -03:00
Juan Linietsky
512b9fbf4a Fixed conflict in len() function 2017-09-12 10:51:24 -03:00
Franco Falleti
69017974be Document AStar (#11056)
Add code examples
2017-09-12 15:02:57 +02:00
Rémi Verschelde
aebf4fb48c Merge pull request #11106 from hpvb/documentation-fix-poolarrays
Correct the Pool*Array documentation
2017-09-12 15:02:22 +02:00
aarroz
017e6e8a4c Added descriptions to AudioEffect, AudioEffectAmplify, and AudioEffecChorus 2017-09-12 15:01:55 +02:00
Rémi Verschelde
574fdf89be Merge pull request #11083 from BastiaanOlij/doc_arvr_server
Added documentation for the ARVR server classes
2017-09-12 15:01:24 +02:00
William Taylor
8632408dbd Changed/Added descriptions in @GDScript. Added examples. Fixed return types of two … (#11146)
Doc: Improved descriptions in GDScript docs

Added examples and fixed return types of two methods.
2017-09-12 15:00:29 +02:00
Rémi Verschelde
d6fa5e302c Merge pull request #11144 from deliciousfudge/thread-docs
Rewrite the methods section of the Thread class

[ci skip]
2017-09-12 14:59:14 +02:00
Nathan
ae78127ca5 rewrite the methods and member variables for the Node2D class 2017-09-12 14:21:23 +02:00
Bastiaan Olij
2bee3fba18 Added documentation for the ARVR server classes 2017-09-12 22:00:08 +10:00
Rémi Verschelde
4f51211dfb Merge pull request #11028 from mrawlingst/color-RGBA32
Change Color.to_32() to Color.to_rgba32() and lowercase other functions
2017-09-12 13:44:43 +02:00
Rémi Verschelde
c5e0e31f51 Merge pull request #11108 from oOo0oOo/docs-meshes
Added docs for Mesh and MeshInstance
2017-09-12 12:09:48 +02:00
Rémi Verschelde
d455b13fcf Merge pull request #11051 from mrawlingst/classref-colorrect
Update ColorRect class ref documentation
2017-09-12 11:20:10 +02:00
Rémi Verschelde
cbe7c23afe Merge pull request #11023 from mrawlingst/classref-color
Update Color class ref documentation

[ci skip]
2017-09-12 11:15:32 +02:00
Oliver Dressler
8aa778cee5 Added Mesh docs 2017-09-12 09:58:42 +02:00
Rémi Verschelde
9bacb67754 Merge pull request #11140 from deliciousfudge/boneattachment-docs
Document methods for the BoneAttachment and IP classes

[ci skip]
2017-09-12 08:59:19 +02:00
Rémi Verschelde
e8ad604865 Merge pull request #11181 from cbscribe/kcc_tilemap_doc
Update TileMap class ref.

[ci skip]
2017-09-12 08:21:33 +02:00
Rémi Verschelde
40f7b6b47b Merge pull request #11082 from cbscribe/kcc_raycast2d_doc
Update RayCast2D class ref

[ci skip]
2017-09-12 08:20:31 +02:00
Poommetee Ketson
fb9f41a071 Merge pull request #11135 from willnationsdev/area2d-docs
Area2D Documentation + constants in _bind_methods
2017-09-12 13:16:27 +07:00
Poommetee Ketson
db4b81d96f Merge pull request #11117 from cbscribe/kcc_timer_doc
Update Timer class ref.
2017-09-12 13:10:44 +07:00
Poommetee Ketson
a1007cceb0 Merge pull request #11113 from cbscribe/kcc_texturerect_doc
Update TextureRect class ref
2017-09-12 13:10:12 +07:00
Poommetee Ketson
73a8f621dd Merge pull request #11085 from cbscribe/kcc_raycast_doc
Update RayCast class ref
2017-09-12 13:09:23 +07:00
Chris Bradfield
11cbf8e2ec Update TileMap class ref. 2017-09-11 22:52:12 -07:00
Roger Smith
41cfa664a5 Rewrite the methods section of the IP class
Document methods for the BoneAttachment class

Fix indentation issues present in IP and BoneAttachment class doc commits

Further indentation corrections to the IP and BoneAttachment classes
2017-09-12 17:36:21 +12:00
Will Nations
d441cc9660 Updated Area2D docs and added enum constants to scripting 2017-09-11 22:39:28 -05:00
Roger Smith
05b3bec70d Rewrite the methods section of the Thread class 2017-09-12 15:33:55 +12:00
Chris Bradfield
e42176d549 Update RayCast class ref 2017-09-11 18:06:36 -07:00
Chris Bradfield
693510984f Update RayCast2D class ref. 2017-09-11 17:57:33 -07:00
Nathan Warden
767f9ce29a Documented 'resource_changed' for CollisionShape 2017-09-11 18:17:01 -05:00
Poommetee Ketson
b7ee8b2f32 Merge pull request #11097 from GDquest/control-docs
rewrite the Control node's class description, improve some others
2017-09-12 06:06:05 +07:00
Poommetee Ketson
3d50a9d958 Merge pull request #11098 from oOo0oOo/classref-edit
Added documentation for PrimitiveMeshes
2017-09-12 06:04:53 +07:00
Poommetee Ketson
7947b7c1d6 Merge pull request #11100 from NathanWarden/rigidbody_docs
Updated the 'members' documentation for Rigidbody.
2017-09-12 06:02:52 +07:00
Poommetee Ketson
bdf7ab1b05 Merge pull request #11101 from n-pigeon/spatial-doc
Documented Spatial node.
2017-09-12 06:01:58 +07:00
Poommetee Ketson
d891a91ef1 Merge pull request #11105 from NathanWarden/static_body_docs
Updated documentation for StaticBody.
2017-09-12 05:56:20 +07:00
Poommetee Ketson
adc8215e9c Merge pull request #11107 from hpvb/document-inputevent
Correct InputEvent documentation
2017-09-12 05:50:23 +07:00
Poommetee Ketson
5665bdea1b Merge pull request #11112 from LikeLakers2/master
Make Node.queue_free's documentation description a little more verbose
2017-09-12 05:47:07 +07:00
Poommetee Ketson
f45258ad8d Merge pull request #11115 from hpvb/document-line2d
Document Line2D
2017-09-12 05:45:32 +07:00
Poommetee Ketson
1aa5fe387f Merge pull request #11120 from cbscribe/kcc_lightoccluder2d_doc
Update LightOccluder2D class ref
2017-09-12 05:39:05 +07:00
Poommetee Ketson
b259fcfbd3 Merge pull request #11134 from notonfire/script-doc
Document the Script and GDScript classes
2017-09-12 05:33:22 +07:00
Poommetee Ketson
a447fdb199 Merge pull request #11139 from djrm/pr_docs
Added documentation for some clases (Variant, ToolButton, Button (partial), GradientTexture, BitMap, CollisionShape2D, CollisionShape)
2017-09-12 05:25:01 +07:00
Przemysław Gołąb (n-pigeon)
decd5052d8 Documented Transform and Transform2D. 2017-09-11 23:13:39 +02:00
Daniel J. Ramirez
ecb92bc6c3 Added documentation for some clases
Variant, ToolButton, Button, GradientTexture, BitMap

Added documentation for CollisionShape(2D)
2017-09-10 13:38:40 -05:00
Ryan Phillips
d12ff0d09e Document the Script and GDScript classes 2017-09-10 11:16:15 -07:00
Oliver Dressler
d73f09ef48 Added docs for PrimitiveMesh 2017-09-10 13:12:44 +02:00
Chris Bradfield
134e24408a Merge branch 'master' of git://github.com/godotengine/godot into kcc_lightoccluder2d_doc 2017-09-09 20:10:28 -07:00
Chris Bradfield
030528a285 Update Timer class ref. 2017-09-09 13:30:27 -07:00
Chris Bradfield
f66e9158a8 Update LightOccluder2D class ref 2017-09-09 13:15:01 -07:00
Hein-Pieter van Braam
b7c4b9b8cd Document Line2D 2017-09-09 21:53:58 +02:00
Chris Bradfield
c68a34d6bf Update TextureRect class ref 2017-09-09 11:17:37 -07:00
LikeLakers2
e4c274752a Use gdquest's suggestions 2017-09-09 13:12:06 -04:00
Przemysław Gołąb (n-pigeon)
9ee65942db Documented Spatial node. 2017-09-09 17:23:29 +02:00
Hein-Pieter van Braam
13fe1a344e Correct InputEvent documentation 2017-09-09 17:22:14 +02:00
Hein-Pieter van Braam
daa66cd5c2 Correct the Pool*Array documentation 2017-09-09 16:39:22 +02:00
Nathan Warden
236025dccf Updated documentation for StaticBody. 2017-09-09 09:30:38 -05:00
Nathan Warden
8f1cf87a82 Updated the 'members' documentation for Rigidbody. 2017-09-09 08:55:41 -05:00
Nathan
6cb6be4b89 improve some descriptions for the Control node 2017-09-09 15:31:42 +02:00
mrawlingst
06627fad20 Update ColorRect class ref documentation 2017-09-08 09:24:16 -04:00
mrawlingst
4f65c4d092 Update Color class ref documentation 2017-09-08 09:17:31 -04:00
Poommetee Ketson
11ccf22540 ClassRef: fill in the blanks 2017-09-08 15:15:04 +07:00
mrawlingst
6aa5bc2347 Change Color.to_32() to to_rgba32() and format as RGBA 2017-09-07 16:19:44 -04:00
Rémi Verschelde
7e2d03bd14 doc: Sync classref with current source
[ci skip]
2017-09-06 11:35:10 +02:00
Ignacio Etcheverry
a9f917c649 Escape special character in classes.xml 2017-09-05 22:02:52 +02:00
Rémi Verschelde
b295163d67 Merge pull request #10912 from toger5/doc_sbf
documented StyleBoxFlat

[ci skip]
2017-09-04 21:45:05 +02:00
toger5
0bf521f33b documented StyleBoxFlat 2017-09-04 19:39:38 +02:00
Jared A. Scheel
11947b4584 Add note to Array#sort_custom about the dangers of using random return values 2017-09-03 15:56:34 -05:00
Rémi Verschelde
0da386a9ea doc: Sync classref to fix default args and enum returns
Following #10903 and #10906.
2017-09-03 12:27:29 +02:00
Poommetee Ketson
459f526119 Fix typos 'a' and 'an' 2017-09-02 21:19:06 +07:00
Rémi Verschelde
4d580d76ca doc: Sync classref with current source
Lots of changes due to new MethodBind logic, a few issues here and there
that will need to be fixed later on (wrong default values, imprecise return types).
2017-09-02 11:47:54 +02:00
Poommetee Ketson
e5aec72bae Fix typo 'inetria' to 'inertia' 2017-09-01 01:32:29 +07:00
toger5
2aa735757a unified draw_center naming for (9patch,StyleBoxes)
- filled -> draw_center
 - is_draw_center -> is_draw_center_enabled
 - get_draw_center -> is_draw_center_enabled
2017-08-31 15:25:24 +02:00
Ferenc Arn
a0bbf5c9af Remove Basis::set_scale and Basis::set_rotation_* functions.
Those functions were added in #8277 but they did more harm than good. They're subtle, don't do what people think and requires users to understand the non-uniqueness of polar decomposition. They ended up confusing people.

Until we store additional information enough to make a unique polar decomposition, these functions shouldn't be a part of Basis.
2017-08-29 21:47:59 -04:00
Evgeny Zuev
1a2622d344 Add stretching to TextureProgress
Now `TextureProgress` has `nine_patch_stretch` flag. With this flag enabled,
it's being rendered as 9-path using `stretch_margin_*` properties as texture margins.

Stretching doesn't support `FILL_CLOCKWISE` and `FILL_COUNTER_CLOCKWISE` fill modes.
2017-08-22 13:46:59 +07:00
Rémi Verschelde
d37bd15cb9 Merge pull request #10443 from karroffel/propagate_call
add "propagate_call" method to Node
2017-08-21 23:21:47 +02:00
Rémi Verschelde
93f1fb1c2f Fixes for new two-dash long command line arguments
- Fixes some single-dash leftovers that were missed in the previous commit
- Reorder the help output for clarity, and document missing options
- Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit
- Improve error message on malformed arguments and do not display help on error
- Always use long form of arguments when starting a new Godot process from C++, for clarity and easy grepping
- Cleanup obsolete code here and there
2017-08-21 08:09:22 +02:00
Juan Linietsky
b9dcebb37c Revert "Second take at making command-line arguments more UNIX-like + main.cpp and help cleanup" 2017-08-19 17:47:27 -03:00
Rémi Verschelde
70b0857f6c Fixes for new two-dash long command line arguments
- Fixes some single-dash leftovers that were missed in the previous commit
- Reorder the help output for clarity, and document missing options
- Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit
- Improve error message on malformed arguments and do not display help on error
- Cleanup obsolete code here and there
2017-08-19 16:48:11 +02:00
Karroffel
390f7def39 add "propagate_call" method to Node
It is possible to propagate a notification down the Node tree by
using `propagate_notification`, but there was no such method for
doing the same but with method calls.

This commit adds the `propagate_call` method, which calls a method
on a node and all child nodes. An optional paramter `parent_first`
determines whether the parent node gets called before or after the
children have been visited. It defaults to false, so the parent
gets called last.
2017-08-19 15:22:37 +02:00
Rémi Verschelde
18a7315381 Rename localization method to tr again
Partial revert of #10380 based on contributor ~~bullying~~ feedback.
2017-08-18 22:38:38 +02:00
Rémi Verschelde
c72529baf0 Rename XL_MESSAGE aka tr to localize
Also renames `set_message_translation` to `set_message_localization`
for consistency.
2017-08-17 18:10:22 +02:00
Rémi Verschelde
5c6e41cc13 Merge pull request #10190 from tagcup/euler_yxz
Use YXZ convention for Euler angles.
2017-08-11 10:38:46 +02:00
Ferenc Arn
53c23b0222 Use YXZ convention for Euler angles.
As discussed in issues #1479 and #9782, choosing the up axis (which is Y in Godot) as the axis of the last (or first) rotation is helpful in practical use cases.
This also aligns Godot's convention with Unity, helping with a smoother transition for people who are used to working with Unity (issue #9905).

Internally, both XYZ and YXZ functions are kept, for potential future applications.
2017-08-09 09:05:37 -04:00
Naughty
ce543bc079 Added missing descriptions to Vector2 methods abs and clamped. 2017-08-07 19:55:59 -07:00
Indah Sylvia
5ae78fdf6a Makes all Godot API's methods Lower Case 2017-08-07 18:24:35 +07:00
Bojidar Marinov
7b7c7c8dc0
Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTER
Closes #7695
2017-08-06 16:26:07 +03:00
Poommetee Ketson
c6740ddc05 Docs: fix method/type renames, fill some blanks 2017-08-02 14:47:34 +07:00
Rémi Verschelde
7348fbbea2 Merge pull request #9909 from kubecz3k/docs-collobject-collshapes
firsts docs for CollisionObject -> collision shape api
2017-07-31 22:44:36 +02:00
Rémi Verschelde
2d162a60da Merge pull request #9863 from kubecz3k/move-docs
Documentation update for KinematicBody.move()
2017-07-28 11:06:23 +02:00
Jakub Grzesik
bb4b98defe Documentation update for KinematicBody.move() 2017-07-27 18:41:44 +02:00
Jakub Grzesik
fe7365dcde firsts docs for CollisionObject -> collision shape api 2017-07-27 11:30:19 +02:00
bruvzg
7de7ca8ae4 Remove duplicate keycode constant for Numpad Enter key. 2017-07-26 14:43:02 +03:00
Julian Murgia
61572a57e9 Corrects usage of 'is' instead of 'extends' for testing node inheritance. 2017-07-26 13:12:44 +02:00
ISylvox
cefc02a4f9 tagents --> tangents 2017-07-26 15:14:52 +07:00
Rémi Verschelde
b6665c6c93 Merge pull request #9690 from 648trindade/classref-edit
Improved math functions descriptions and added many AStar descriptions
2017-07-25 21:08:34 +02:00
Jakub Grzesik
d3d4ad193e documentation for EditorPlugin and ScriptEditor 2017-07-25 18:27:42 +02:00
Rémi Verschelde
374cffaa11 Merge pull request #9764 from Noshyaar/pr-fix2
Add object type hint for docs
2017-07-24 08:07:32 +02:00
Poommetee Ketson
2777f81d29 Add object type hint for docs 2017-07-23 18:57:03 +07:00
Rémi Verschelde
56724dc07b Merge pull request #9772 from Noshyaar/pr-classxml
Docs: fix broken ref tags
2017-07-23 13:13:29 +02:00
Poommetee Ketson
90c2c1e7f8 Docs: fix broken ref tags 2017-07-22 22:15:59 +07:00
Poommetee Ketson
5bbbecc315 Docs: ignore tags inside code,codeblock tag 2017-07-22 21:22:38 +07:00
Juan Linietsky
25678b1876 -Renamed GlobalConfig to ProjectSettings, makes more sense.
-Added system for feature overrides, it's pretty cool :)
2017-07-19 17:06:03 -03:00
Rafael Gauna Trindade
5dee7161b6 Improved math functions descriptions and added many AStar descriptions 2017-07-19 12:35:39 -03:00
Rémi Verschelde
1bed4c6783 Merge pull request #9629 from kubecz3k/tabs-addons
Tabs enhancements: get_tab_rect(), move_tab()
2017-07-18 18:12:26 +02:00
Jakub Grzesik
b5de36b29d Tabs enhancements: get_tab_rect(), move_tab_from_to()
exposed: get_tab_rect(tab_idx)
new and exposed: move_tab_from_to(idx_from, idx_to)
2017-07-18 17:57:02 +02:00
Rémi Verschelde
f36cd77feb Merge pull request #9639 from rminderhoud/primitives
Moved binds of PRIMITIVE_* contants from ArrayMesh to Mesh
2017-07-18 00:44:57 +02:00
Jakub Grzesik
fb33644652 missing object.get_incoming_connections() documentation 2017-07-17 20:22:38 +02:00
dumitru-stama
06831d5088 Added documentation for blit_rect_mask 2017-07-15 09:40:52 -07:00
dumitru-stama
03425fe088 sync doc template 2017-07-15 09:38:46 -07:00
Rémi Verschelde
e70d36071e doc: Sync classref with current source
Some descriptions were lost for refactored APIs, but they cannot be matched 1:1
with the new ones, so will need to be rewritten anyway.
2017-07-14 17:56:27 +02:00
Ralph Minderhoud
bf18c35dd7 Moved binds of PRIMITIVE_* contants from ArrayMesh to Mesh 2017-07-14 08:46:21 -05:00
Jakub Grzesik
90bcb345b4 EditorPlugin ability to open and reload scns from filepath 2017-07-11 10:22:44 +02:00
ducdetronquito
566655adc1 [#9292] Renamed Image.put_pixel() to set_pixel(). 2017-07-07 19:05:45 +02:00
ducdetronquito
76e6b2d33b Improved GDScript parse_json() doc about numerical values conversion. 2017-07-06 16:46:37 +02:00
mdraw
070384c9c9 docs: Correct xform descriptions in class_basis 2017-06-27 08:59:08 +02:00
Thomas Herzog
86407aebc5 Merge pull request #8407 from Jylhis/popup_item_select_hide
Update PopupMenu hiding
2017-06-20 00:20:21 +02:00
Thomas Herzog
9d67be447a Merge pull request #9274 from vnen/compress-functions
Expose compression functions to GDScript
2017-06-19 22:59:24 +02:00
George Marques
34b6922caa
Add documentation to compression functions 2017-06-19 16:52:01 -03:00
d
053a4fdcd9 Added two new methods to 3.0 'blend_rect_mask' and 'fill' 2017-06-18 11:29:37 -07:00
Rémi Verschelde
5fc3a9956e doc: Sync classref with current source 2017-06-17 11:29:55 +02:00
Rémi Verschelde
43a84429ff doc: Sync classref with current source
Tried to salvage what I could of the Image and InputEvent changes.
2017-06-15 20:52:51 +02:00
Julian Murgia
9c7b4c82a7 Add Signals descriptions when they exist. 2017-06-14 15:48:50 +02:00
Juan Linietsky
a8e845a474 Merge pull request #8548 from tagcup/etc2comp
Add ETC1/ETC2 compression support though etc2comp.
2017-06-13 19:17:13 -03:00
Ferenc Arn
f177c15347 Add zstd compression support.
zstd has much better compression speed and ratio, and better decompression speed than currently available methods.
Also set zstd as the default compression method for Compression as well as FileAccessCompressed functions.
2017-06-08 23:48:14 -05:00
Ferenc Arn
6a9c990da7 Add ETC1/ETC2 compression support though etc2comp.
Remove rg-etc1 code. Also updated travis to use ubuntu 14.04.

Fixes #8457.
2017-05-31 18:59:00 -05:00
Ferenc Arn
e4eb093c62 Avoid overestimating the cost in AStar heuristics.
This is a necessary condition for finding optimal solutions.
This is achieved by simply requiring/ensuring that no weights are smaller than 1.

Fixes #8584.
2017-05-21 15:13:09 -05:00
Juan Linietsky
5b3709d309 Removal of InputEvent as built-in Variant type..
this might cause bugs I haven't found yet..
2017-05-20 17:05:38 -03:00
Pedro J. Estébanez
b69d4ebff4 Add extended check option to GDFunctionState::is_valid() 2017-05-17 14:55:59 +02:00
Rémi Verschelde
1b5c579166 Merge pull request #8762 from honix/master
Docs: ERR_EOF -> ERR_FILE_EOF
2017-05-14 20:02:19 +02:00
Christian Winter
25776dbf76 fixed typo 'one short connection' to 'one shot' 2017-05-14 19:56:58 +02:00
honix
78c7847d1d docs: ERR_EOF -> ERR_FILE_EOF 2017-05-14 20:35:40 +03:00
Rémi Verschelde
32afcbc482 Put brave old bb10 platform to a well-deserved rest
Add some 🔥 to appease @reduz. Fixes #8692.
2017-05-08 22:22:20 +02:00
Rémi Verschelde
5d10b8fabd Doc: Drop unmainted converters for html, textile, dokuwiki 2017-05-06 23:43:02 +02:00
Rémi Verschelde
091b30d4cb Doc: Remove unused tool translation 2017-05-06 22:55:20 +02:00
Rémi Verschelde
7ce8342ac5 Rename project file to "project.godot"
Slimmed down variant from the reverted #8375.
The rationale behind the name change is to give Godot's project file a unique
extension (".godot") that can be registered on the OS to be associated with
the Godot binary (OS registration not implemented here).

This PR also adds the possibility to start the game or editor if launched
with the project.godot passed as argument, which paves the way for allowing
a similar behaviour on a double-click in the OS file manager (code originally
by @Hinsbart).

Closes #6915.
2017-05-01 17:50:19 +02:00
Juan Linietsky
6d2f985db4 Revert "Use .godot as file extension for project files." 2017-04-29 17:56:51 +02:00
clayjohn
478817abad added documentation for SurfaceTool 2017-04-25 21:35:25 -06:00
clayjohn
5fdc7ac88a added descriptions for WorldEnvironment node in documentation 2017-04-24 13:45:57 -06:00
Rémi Verschelde
5ae1e172da Merge pull request #8277 from tagcup/math_checks
Added various functions basic math classes. Also enabled math checks …
2017-04-24 11:16:20 +02:00
Chris Bradfield
d9149847ed Clarification of degrees/radians in angle methods 2017-04-20 01:59:36 +02:00
Andreas Haas
c06a2db63a
Use .godot as file extension for project files.
Now project files don't have to be named "godot.cfg" anymore, they can have any name so as long as it ends with *.godot.
Also godot will automatically start the editor now if launched with a project file as an argument.
This allows for double-clicking of projects to open them :)

Code-wise this should be complete, but there's still work to do:

- Make a nice icon for godot projects.
- Work on installers/packaging -> register the extension and icon with godot.
- Update the 2.1 to 3.0 exporter.

Tested on linux and windows so far.
2017-04-16 10:19:07 +02:00
Jylhis
8ccb9d13c3 Update PopupMenu hiding
Make PopupMenu hiding distinguish between checkable item and non checkable
item.
2017-04-14 15:00:38 +03:00
Sergey Pusnei
8589ca3903 Rename [gs]et_pos to [gs]et_position for Controls
Control set_pos -> set_position
Control set_global_pos -> set_global_position
[gs]et_mouse_pos -> [gs]et_mouse_position
[gs]et_global_mouse_pos -> [gs]et_global_mouse_position
fixes #8005
2017-04-10 08:27:34 +02:00
Rémi Verschelde
df61dc4b2b Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
Rémi Verschelde
3708d88719 classref: Sync with current source 2017-04-07 19:44:42 +02:00
Ferenc Arn
9a37ff1e34 Added various functions basic math classes. Also enabled math checks only for debug builds.
Added set_scale, set_rotation_euler, set_rotation_axis_angle. Addresses #2565 directly.
Added an euler angle constructor for Basis in GDScript and also exposed is_normalized for vectors and quaternions.
Various other changes mostly cosmetic in nature.
2017-04-06 13:03:56 -05:00
Rémi Verschelde
4989cc3617 Fix URLs to moved docs pages
Closes #8266.
2017-04-05 07:34:27 +02:00
Rémi Verschelde
02f9851d0d Merge pull request #8259 from bojidar-bg/move-slide-wall-fix
Fix is_move_and_slide_on_wall, make move_and_slide floor angle configurable
2017-04-05 01:24:19 +02:00
Bojidar Marinov
289abd3710
Fix is_move_and_slide_on_wall, make move_and_slide floor angle configurable
Fixes #7313
2017-04-04 18:32:27 +03:00
Ferenc Arn
1a620bd5fa Made slide and reflect active verbs acting on itself in Vector2 and Vector3.
This is in alignment with other functions in vector classes.
Also added checks for normalization, fixed the sign of reflect (which now corresponds to reflection along a plane mathematically), added bounce method and updated docs.

Fixes #8201.
2017-04-03 10:02:12 -05:00
Bojidar Marinov
669956849a
Update classes.xml to master version, add a small feature to doc_status 2017-03-29 22:27:59 +03:00
Rémi Verschelde
beba97c0c3 Merge pull request #8122 from tagcup/axis_check_normalization
Explicitly documented that Transform.basis is not necessarily an orth…
2017-03-24 22:51:27 +01:00
Rémi Verschelde
debeee56f7 Fix typos in source code using codespell
From https://github.com/lucasdemarchi/codespell
2017-03-24 21:45:31 +01:00
Ferenc Arn
6bb9b58b09 Explicitly documented that Transform.basis is not necessarily an orthogonal matrix.
Also added a check that in axis-angle rotations, axis is a normalized vector, and modified the docs accordingly.

Fixes #8113.
2017-03-23 12:27:00 -05:00
CrazyGuy108
9589936d6e
List Control::has_point as a virtual method
According to Issue #8018, a BIND_VMETHOD macro wasn't present in scene/gui/control.cpp, while it was declared to be a virtual method in scene/gui/control.h.

classes.xml was updated to also list this method in Control.
2017-03-14 19:08:13 -07:00
Rémi Verschelde
630158c992 Merge pull request #7916 from RebelliousX/tab_container
TabContainer's signal changes (v3)
2017-03-05 12:03:09 +01:00
Thaer Razeq
c9bda06dfd - tab_changed signal emits only by selecting a different tab.
- Added `tab_selected` signal. Which emits a signal by selecting any tab, if current tab is selected again.
- Added `get_previous_tab()`. Which returns the previous shown tab. **Note:** only `tab_changed` can modify previous tab index.
- Add documentation for the added function and signals. Fix a typo too.
2017-03-05 02:47:09 -06:00
Karol Walasek
29908d32ba Added a SceneTree.has_network_peer, closes #7922 2017-03-04 11:35:44 +01:00
Rémi Verschelde
70b9aa379d Merge pull request #7581 from Faless/v6_wild_bind
TCP/UDP listen bind to address and bugfixes
2017-02-12 23:31:40 +01:00
Juan Linietsky
102b5fce85 Renamed engine.cfg to godot.cfg, to forcefully break compatibility with 2.x 2017-02-04 20:53:55 -03:00
Chris Bradfield
10176228b2 grammar fixes, it's -> its 2017-01-29 23:01:34 -08:00
Fabio Alessandrelli
e5e4e7b6a9 Update docs reference for TCP_Server::listen and UDPPacketPeer::listen 2017-01-23 20:18:23 +01:00
Ferenc Arn
4c9004671a Replace the existing PRNG (Xorshift31) with (minimal) PCG (XSH-RR variant with 32-bit output, 64-bit state).
PCG is better than many alternatives by many metrics (see www.pcg-random.org) including statistical quality with good speed.
2017-01-15 19:15:16 -06:00
Rémi Verschelde
7b9f2d9929 Finish renaming *Frame GUI classes to *Rect
ReferenceFrame had been overlooked, and the cpp files still used the old
names. Also ripgrep'ed it all to find some forgotten references.
2017-01-14 10:52:54 +01:00
Rémi Verschelde
f392b340ff Tween: Rename times_in_sec (sic) param to duration 2017-01-13 19:40:18 +01:00
Juan Linietsky
da477b76a9 some class renames
TextureFrame -> TextureRect
Patch9Frame -> NinePatchRect
ColorFrame -> ColorRect
2017-01-12 18:28:12 -03:00
Juan Linietsky
710692278d Merge pull request #7426 from m4nu3lf/bugfix/physics
Fixed inertia tensor computation and center of mass
2017-01-10 22:27:32 -03:00
Juan Linietsky
0acd4fccd5 Merge pull request #7438 from tagcup/matrix3_rotate_fix
Fix the order in which additional transformations are applied
2017-01-10 22:22:56 -03:00
Emmanuel Leblond
0fbf3b990d Remove deprecated Vector2.floorf method 2017-01-10 09:11:36 +01:00
m4nu3lf
2e38b32e0f Fixed inertia tensor computation and center of mass 2017-01-09 00:13:54 +00:00
Ferenc Arn
6b1252cdfa Fix the order in which additional transformations are applied in Matrix3 and Transform.
This is a part of the breaking changes proposed in PR #6865, solving the issue regarding the order of affine transformations described in #2565. This PR also fixes the affected code within Godot codebase. Includes improvements to documentation too.

Another change is, Matrix3::get_scale() will now return negative scaling when the determinant of the matrix is negative. The rationale behind this is simple: when performing a polar decomposition on a basis matrix M = R.S, we have to ensure that the determinant of R is +1, such that it is a proper rotation matrix (with no reflections) which can be represented by Euler angles or a quaternion.

Also replaced the few instances of float with real_t in Matrix3 and Transform.

Furthermore, this PR fixes an issue introduced due to the API breakage in #6865. Namely Matrix3::get_euler() now only works with proper rotation matrices. As a result, the code that wants to get the rotation portion of a transform needs to use Matrix3::get_rotation() introduced in this commit, which complements Matrix3::get_scaled(), providing both parts of the polar decomposition.

Finally, it is now possible to construct a rotation matrix from Euler angles using the new constructor Matrix3::Matrix3(const Vector3 &p_euler).
2017-01-08 10:36:14 -06:00
Emmanuel Leblond
28d7486267 Fix codeblock tag in classes.xml for EditorSettings 2017-01-08 12:34:39 +01:00
Ferenc Arn
bd7ba0b664 Use right handed coordinate system for rotation matrices and quaternions. Also fixes Euler angles (XYZ convention, which is used as default by Blender).
Furthermore, functions which expect a rotation matrix will now give an error simply, rather than trying to orthonormalize such matrices. The documentation for such functions has be updated accordingly.

This commit breaks code using 3D rotations, and is a part of the breaking changes in 2.1 -> 3.0 transition. The code affected within Godot code base is fixed in this commit.
2017-01-03 17:41:04 -06:00
Rémi Verschelde
3f3f5a5359 Merge remote-tracking branch 'origin/gles3' into gles3-on-master
Various merge conflicts have been fixed manually and some mistakes
might have been made - time will tell :)
2017-01-02 21:52:26 +01:00
Rémi Verschelde
c9366f8b56 Merge pull request #7410 from nounoursheureux/master
Add the 'finished' signal to AnimatedSprite
2017-01-02 15:54:58 +01:00
Rémi Verschelde
0b2771bd65 Merge pull request #7271 from Faless/ipv6_cleanup
Fixes and improvementes for IPv6 implementation.
2017-01-02 15:51:45 +01:00
Bruno Ortiz
7e0d0d0bb9 Exposing edit_resource method of EditorNode in the EditorPlugin (#7355) 2017-01-02 13:37:22 +01:00
Wilhem Barbier
f6262fde11 Add the 'finished' signal to AnimatedSprite 2017-01-02 12:24:37 +01:00
Rémi Verschelde
c7bc44d5ad Welcome in 2017, dear changelog reader!
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer
with state-of-the-art rendering techniques tuned to work as low as middle
end handheld devices - without compromising with the possibilities given
for higher end desktop games of course. Great times ahead for the Godot
community and the gamers that will play our games!
2017-01-01 22:03:33 +01:00
Rémi Verschelde
f8e6cdd89d Merge pull request #7322 from Jerome67000/classref-edit
doc improvement for get_colliding_bodies() methods
2016-12-23 15:48:47 +01:00
Ivan P. Skodje
da950cd0f2 PopupMenu upgrade: Hide on item selection (#7306)
* Added the option to set hide on item selection. Usable in GDScript and from within the source code when you want to specify popup menus you don't want to close immediately when selecting an item

* Renamed getter from get_ to is_, fixed parent/child behavior, renamed bool variable to match most code and added ADD_PROPERTYNO to save some memory
2016-12-23 15:43:45 +01:00
Jerome67000
3cd5c86b1a doc improvement for get_colliding_bodies() methods 2016-12-17 17:18:33 +01:00
Fabio Alessandrelli
c18c5013f8 Migrate int.IP_TYPE_ constants to IP.TYPE_ 2016-12-09 18:24:59 +01:00
Rémi Verschelde
440c37fbd9 Revert "Do not emit NOTIFICATION_READY more than once (breaking change)"
This reverts commit b6eab006db.

This commit broke compatibility in an undesired way, as outlined in
https://github.com/godotengine/godot/issues/3290#issuecomment-263388003
2016-11-30 00:08:01 +01:00
Rémi Verschelde
35e754db59 Merge pull request #7138 from bojidar-bg/ready_guard
Do not enter _ready twice
2016-11-28 15:19:50 +01:00
George Marques
a692b7a1c1 Merge pull request #7149 from Kazuo256/array-last
Add Array.front() and Array.back()
2016-11-22 08:08:59 -02:00
romeojulietthotel
f8d523b68b Correct description for the return values from get_status. (#7137) 2016-11-21 11:55:57 +01:00
Kazuo256
bf4fda64fd Add Array.front() and Array.back() 2016-11-18 18:45:51 -02:00
Bojidar Marinov
b6eab006db
Do not emit NOTIFICATION_READY more than once (breaking change)
Currently, there is no notification with the old behaviour, so probably breaks all cpp code relying on that notification as well.
2016-11-17 18:46:45 +02:00
Rémi Verschelde
f0f04d5082 Merge pull request #6862 from Faless/fix_6388
Fix Keyboard Input Hangs when using modifiers
2016-11-11 10:47:10 +01:00
ISylvox
b5c383fd61 vsnc --> vsync 2016-11-08 21:06:57 +07:00
Rémi Verschelde
9f7b781657 Merge pull request #7050 from DTV96Calibre/master
Fixed minor typo
2016-11-06 12:09:40 +01:00
DTV96Calibre
37098419c5 Fixed minor typo 2016-11-06 01:38:41 -05:00
George Marques
411faaa6f4
Rename remaining WinRT references to UWP 2016-11-03 14:51:08 -02:00
Rémi Verschelde
f34151ff0f style: Various other PEP8 fixes in Python files
Done with `autopep8 --select=E7`, fixes:

- E701 - Put colon-separated compound statement on separate lines.
- E702 - Put semicolon-separated compound statement on separate lines.
- E703 - Put semicolon-separated compound statement on separate lines.
- E711 - Fix comparison with None.
- E712 - Fix (trivial case of) comparison with boolean.
- E713 - Fix (trivial case of) non-membership check.
- E721 - Fix various deprecated code (via lib2to3).
2016-11-01 00:35:16 +01:00
Rémi Verschelde
817dd7ccbb style: Fix PEP8 blank lines issues in Python files
Done with `autopep8 --select=E3,W3`, fixes:

- E301 - Add missing blank line.
- E302 - Add missing 2 blank lines.
- E303 - Remove extra blank lines.
- E304 - Remove blank line following function decorator.
- E309 - Add missing blank line.
- W391 - Remove trailing blank lines.
2016-11-01 00:35:16 +01:00
Rémi Verschelde
d4c17700aa style: Fix PEP8 whitespace issues in Python files
Done with `autopep8 --select=E2,W2`, fixes:

- E201 - Remove extraneous whitespace.
- E202 - Remove extraneous whitespace.
- E203 - Remove extraneous whitespace.
- E211 - Remove extraneous whitespace.
- E221 - Fix extraneous whitespace around keywords.
- E222 - Fix extraneous whitespace around keywords.
- E223 - Fix extraneous whitespace around keywords.
- E224 - Remove extraneous whitespace around operator.
- E225 - Fix missing whitespace around operator.
- E226 - Fix missing whitespace around operator.
- E227 - Fix missing whitespace around operator.
- E228 - Fix missing whitespace around operator.
- E231 - Add missing whitespace.
- E231 - Fix various deprecated code (via lib2to3).
- E241 - Fix extraneous whitespace around keywords.
- E242 - Remove extraneous whitespace around operator.
- E251 - Remove whitespace around parameter '=' sign.
- E261 - Fix spacing after comment hash.
- E262 - Fix spacing after comment hash.
- E265 - Format block comments.
- E271 - Fix extraneous whitespace around keywords.
- E272 - Fix extraneous whitespace around keywords.
- E273 - Fix extraneous whitespace around keywords.
- E274 - Fix extraneous whitespace around keywords.
- W291 - Remove trailing whitespace.
- W293 - Remove trailing whitespace.
2016-11-01 00:35:16 +01:00
Rémi Verschelde
97c8508f5e style: Start applying PEP8 to Python files, indentation issues
Done with `autopep8 --select=E1`, fixes:

- E101 - Reindent all lines.
- E112 - Fix under-indented comments.
- E113 - Fix over-indented comments.
- E115 - Fix under-indented comments.
- E116 - Fix over-indented comments.
- E121 - Fix a badly indented line.
- E122 - Fix a badly indented line.
- E123 - Fix a badly indented line.
- E124 - Fix a badly indented line.
- E125 - Fix indentation undistinguish from the next logical line.
- E126 - Fix a badly indented line.
- E127 - Fix a badly indented line.
- E128 - Fix a badly indented line.
- E129 - Fix a badly indented line.
2016-11-01 00:33:51 +01:00
Fabio Alessandrelli
7f42da0330 Update docs to IPv6 2016-10-30 17:46:05 +01:00
Rémi Verschelde
21828209ec Merge pull request #6950 from rdb/master
Add "Never" underline mode to LinkButton
2016-10-30 12:11:49 +01:00
rdb
d517bc908f Add "Never" underline mode to LinkButton 2016-10-28 10:52:57 +02:00
Juan Linietsky
53d8f2b1ec PBR more or less working, still working on bringing gizmos back 2016-10-27 11:50:26 -03:00
Zher Huei Lee
c3b4686082 Added global sub and bounds checking to RegEx 2016-10-27 10:27:40 +01:00
Zher Huei Lee
439d439321 RegEx re-implemented as a module
Re-wrote nrex as a module using godot-specific parts and new
features:

 * Added string substitutions.
 * Named groups are now supported.
 * Removed use of mutable variables in RegEx. RegExMatch is returned
   instead.
2016-10-27 10:27:40 +01:00
Rémi Verschelde
afd86ee240 Merge pull request #6090 from WalasPrime/raytrace_force
Added force_raycast_update GDScript method for RayCast[2D]
2016-10-22 12:40:14 +02:00
Fabio Alessandrelli
17d7e6a142 Fix Keyboard Input Hangs when using modifiers
Main input parsing loop only update actions for keyboard if the state has changed.
`InputMap::event_is_action` now ignores keyboard modifiers if the event is not pressed.
Clarify difference between `InputMap::action_has_event` and `InputMap::event_is_action` in docs.

Fixes #6388.
2016-10-19 17:52:49 +02:00
Rémi Verschelde
e96c49f849 Merge pull request #6850 from akien-mga/pr-scsub-shebang
SCsub: Add python shebang as a hint for syntax highlighting
2016-10-17 20:13:18 +02:00
Rémi Verschelde
fc8ccd5b8c SCsub: Add python shebang as a hint for syntax highlighting
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-17 20:10:46 +02:00
Rémi Verschelde
345f82d4ca Merge pull request #6779 from WalasPrime/rpc_docs
Documentation of RPC-related methods and classes
2016-10-17 09:58:34 +02:00
Rémi Verschelde
292132ef6b Merge pull request #6821 from akien-mga/pr-bye-speex
Remove speex support, it is obsoleted by opus
2016-10-14 18:14:33 +02:00
Rémi Verschelde
d3d0507c05 Remove speex support, it is obsoleted by opus
As mentioned by upstream, Xiph.Org [0]:
> The Speex codec has been obsoleted by Opus. It will continue to be
> available, but since Opus is better than Speex in all aspects,
> users are encouraged to switch.

[0] http://www.speex.org/
2016-10-13 18:58:56 +02:00
Karol Walasek
5687fa4709 Fixed Particle2D docs - radians to degrees for some params 2016-10-13 18:25:06 +02:00
Karol Walasek
61cca26ddf Documentation of RPC-related methods and classes 2016-10-13 18:00:24 +02:00
Rémi Verschelde
abfa42dd39 Merge pull request #6781 from volzhs/unnecessary-parentheses
Remove unnecessary parentheses

[ci skip]
2016-10-10 20:06:46 +02:00
volzhs
42c72eee66 Remove unnecessary parentheses 2016-10-11 02:59:29 +09:00
Rémi Verschelde
ddf2acad4e Merge pull request #6613 from pkowal1982/tween
Tween reset/stop/resume/remove for all object properties at once
2016-10-09 13:56:33 +02:00
Juan Linietsky
22d83bc9f6 Begining of GLES3 renderer:
-Most 2D drawing is implemented
-Missing shaders
-Missing all 3D
-Editor needs to be set on update always to be used, otherwise it does not refresh
-Large parts of editor not working
2016-10-03 21:35:16 +02:00
Karol Walasek
8d57640d37 Added general notes on RayCast[2D] updating behaviour and force_raycast_update() 2016-10-03 12:40:25 +02:00
Karol Walasek
db0a46d7f7 Filled blanks and normalized documentation on RayCast[2D] 2016-10-01 16:21:33 +02:00
Rémi Verschelde
3ecd8560fd Classref: Sync template with current source 2016-10-01 13:01:44 +02:00
Pawel Kowal
acc242fd6a Tween reset/stop/resume/remove for all object properties at once 2016-09-25 23:25:52 +02:00
George Marques
7cd64c3c8d
Add docs for XMLparser, VideoPlayer and most of Tree 2016-09-19 18:39:36 -03:00
George Marques
98e7c1edba
Add a function to plugin get the main screen parent
- Fix a bug where the main screen button did not disappear when the plugin
  was deactivated.
2016-09-16 15:02:01 -03:00
Andreas Haas
cef70a5f8b
Update documentation on joystick vibration.
Added a note that long vibration durations are not recommended because of hardware limitations.
For example, my ps4 controller can only vibrate for ~3s on linux.
2016-09-16 11:08:32 +02:00
Juan Linietsky
2a003d7b4e fix get_selected_nodes() 2016-09-10 17:50:20 -03:00
Juan Linietsky
65b93d177e -Added bindings to the resource filesystem for editor
-Added set_child_rect, which was unavailable for script
2016-09-10 17:34:27 -03:00
Juan Linietsky
2da3aaefc2 small clarification in doc 2016-09-10 16:46:00 -03:00
Juan Linietsky
491dde2eb4 Made it possible to properly draw over the 2D canvas for 2D objects. Arranged some functions to achieve this. 2016-09-10 16:44:03 -03:00
Juan Linietsky
67d3935eb1 -Added way to generate resource previews from script plugin.
-Updated documentation
2016-09-10 15:32:17 -03:00
Juan Linietsky
6abd1437cd Merge pull request #5879 from gau-veldt/subarray_patch
Subarray patch
2016-09-10 12:22:31 -03:00
Juan Linietsky
026c7913cf Merge pull request #5942 from pkowal1982/scroll
ScrollContainer expand children bug fix
2016-09-10 12:14:33 -03:00
Paulb23
7d455fca71 Added ItemList get_v_scroll to docs 2016-09-09 15:28:01 +01:00
Gastronok
cd82fafd58 Change the documentation to reflect that Directory.list_dir_begin()
returns true (not false) when a stream could not be initialized. (See, for
example,
https://github.com/godotengine/godot/blob/master/drivers/windows/dir_access_windows.cpp#L76
)
2016-09-07 16:32:59 -07:00
Rémi Verschelde
a40309b532 Merge pull request #6420 from Paulb23/itemlist_tooltip_disable_issue_6240
Itemlist tooltip disable issue 6240
2016-09-07 20:42:26 +02:00
Paulb23
607d602493 Document itemlist disable tooltip 2016-09-07 18:13:44 +01:00
Rémi Verschelde
b1ce9821e7 classref: Sync with current source 2016-09-07 08:54:42 +02:00
Rémi Verschelde
028171845f classref: Sync with recent changes 2016-08-31 08:57:39 +02:00
Rémi Verschelde
9a35ed5d54 Merge pull request #5670 from timoschwarzer/feature/camera2d_limit_smoothing
Add an option to smooth camera limits when camera smoothing is enabled.
2016-08-30 16:52:55 +02:00
Rémi Verschelde
41ee85b6a0 Merge pull request #5262 from vnen/button-signals
Add button_down and button_up signals
2016-08-30 16:49:12 +02:00
Rémi Verschelde
835ee75d57 Merge pull request #6159 from touilleMan/issue-6148
Add Node2d global rot/rotd/scale methods
2016-08-29 19:04:24 +02:00
Rémi Verschelde
c29c70275e Merge pull request #6187 from TheHX/pr-pinfo-function
Added add_property_info function to Globals and EditorSettings classes
2016-08-27 22:04:50 +02:00
George Marques
141360ed82
Better document the BaseButton signals 2016-08-26 22:01:11 -03:00
Gau o fthe Veldt
f9e931bf12 Documentation for most of ItemList control.
The icon stuff is incomplete since I haven't used icons.
2016-08-18 08:29:51 -07:00
Franklin Sobrinho
038e99e107 Update Globals and EditorSettings docs 2016-08-16 17:11:30 -03:00
Franklin Sobrinho
a27d2e4c29 Update EditorPlugin doc 2016-08-15 15:28:21 -03:00
Emmanuel Leblond
c402ac13df Add Node2D's set_global_rot get_global_rot set_global_rotd get_global_rotd set_global_scale get_global_scale methods. 2016-08-15 11:39:19 +02:00
Rémi Verschelde
df12333fab classref: Sync with current source 2016-08-10 20:14:48 +02:00
MSC
7b05b4c83c Some additions to the OS documentation (#6037) 2016-08-05 12:29:23 +02:00
Hubert Jarosz
1445553fea
[ci skip] update Raycast documentation
clarification that set_cast_to needs LOCAL point
and get_collision_point gives GLOBAL point
2016-08-03 22:46:50 +02:00
eska
b80c42ef4e Document FuncRef, GDFunctionState, InstancePlaceholder, RID, World2D 2016-07-30 21:27:58 +02:00
Pawel Kowal
853161a000 ScrollContainer expand children bug fix 2016-07-27 20:24:10 +02:00
Pawel Kowal
535a6f9faf Array has() documentation 2016-07-27 15:49:15 +02:00
Javier López Úbeda
2f8910185e Update Tween class documentation 2016-07-25 21:15:27 +02:00
MarianoGNU
23a20791d1 Update documentation. 2016-07-24 18:09:56 -03:00
Gau o fthe Veldt
82d4cb5114 Added slicing operation to DVector via DVector.subarray(int start,int end) method.
Negative indices index from the end of the array.
Indices are range checked before attempting and return appropriate error when out of range.
Binding for RawArray in gdscript to access DVector.subarray() provided.
Documentation of RawArray.subarray() in classes.xml provided.
2016-07-23 12:52:41 -07:00
Juan Linietsky
221cb58382 Add some doc to ImmediateGeometry 2016-07-23 08:58:57 -03:00
Rémi Verschelde
51519b5d6b Merge pull request #5851 from 29jm/typo-scroll
Fix typo in ScrollContainer documentation
2016-07-22 13:32:36 +02:00
Johan Manuel
908f585ef6 Fix typo in ScrollContainer documentation 2016-07-22 12:03:10 +02:00
Rémi Verschelde
c57b992774 Merge pull request #5847 from 29jm/patch-3
Expose virtual keyboard functions to GDScript
2016-07-22 08:39:07 +02:00
Johan Manuel
ec8c6e2c7c Expose virtual keyboard functions to GDScript 2016-07-21 23:58:58 +02:00
Zher Huei Lee
3dd5ffb48a Added examples to RegEx doc 2016-07-21 22:01:53 +01:00
Rémi Verschelde
d723e5a62f Merge pull request #5560 from vnen/os-request-attention
Add OS.request_attention() for Windows
2016-07-21 17:29:45 +02:00
Rémi Verschelde
5274f2a126 Merge pull request #5819 from hurikhan/android_getScreenDPI
Implement get_screen_dpi() on Android
2016-07-21 09:09:49 +02:00
Mario Schlack
0717893772 Implement get_screen_dpi() on Android 2016-07-20 14:54:48 +02:00
Rémi Verschelde
4bf1654272 classref: WIP improved docs for Node
Also clarified the purpose of Input.get_mouse_speed (see #1355)
2016-07-19 23:45:59 +02:00
Rémi Verschelde
b50b099f0d classref: Sync classes with source 2016-07-19 23:40:31 +02:00
Rémi Verschelde
f53e7efefe Merge pull request #5527 from djrm/color_picker_fixes
Color picker fixes
2016-07-18 16:43:41 +02:00
Juan Linietsky
254d79a560 Add a function to notify font users that the font changed. Closes #5774 2016-07-18 10:00:26 -03:00
Rémi Verschelde
62eae7cbe2 Merge pull request #5723 from Paulb23/toggle_breakpoint_gutter_issue_5712
Fixed toggle breakpoint gutter not updating when the game is running, issue 5712
2016-07-18 00:52:36 +02:00
Rémi Verschelde
8de5aedb9e Merge pull request #5718 from jay3d/master
Added gyroscope support to Godot and Android
2016-07-18 00:52:15 +02:00
Rémi Verschelde
3183834c5d Merge pull request #5657 from Paulb23/block_caret
Added block caret to TextEdit
2016-07-18 00:44:45 +02:00
Daniel J. Ramirez
b10b16ee49 Added documentation for color picker raw mode 2016-07-15 13:34:57 -05:00
Jamil Halabi
370ae3512d Added gyroscope support to Godot and Android 2016-07-16 01:43:32 +08:00
Paulb23
2c9468a46a Update docs with breakpoint_toggled signal 2016-07-15 15:05:57 +01:00
Rémi Verschelde
eaeee58b9e Merge pull request #5705 from StraToN/doc-update
Docs-update: AnimatedSprite, AnimatedSprite3D (unfinished)
2016-07-15 13:04:22 +02:00
Julian Murgia
952cb12364 Written AnimatedSprite, AnimatedSprite3D (unfinished) 2016-07-14 22:03:14 +02:00
George Marques
98eec177ae
Fix classes.xml structure
Fix the addition in #4854 which added elements in the wrong place.
2016-07-14 12:13:04 -03:00
Timo Schwarzer
d691cb4732 Add an option to smooth camera limits when camera smoothing is enabled. 2016-07-13 11:48:50 +02:00
Paulb23
20c7f2bded Added caret block mode to docs 2016-07-12 16:10:44 +01:00
Paulb23
a57c1da183 Update textedit docs with colors, show line number and highlight all occurences 2016-07-11 15:39:46 +01:00
Juan Linietsky
b41be2d1a9 Merge pull request #4854 from Razzlegames/screenToLocal
Conversion function for screen coords to local Canvas coords
2016-07-11 02:26:58 -03:00
Kyle Luce
605193b22f Conversion function for screen coords to local Canvas coords
- Useful if you need to Convert screen coords to the coordinate space of a
  CanvasItem, but don't have an associated InputEvent to use in
  #make_event_local.

For example, if you have a particular point on the screen you'd like to project
into World Space, for various reasons, you would use this function on the root
of the scene. This is analogous to ray casting from screen space in 3D.
2016-07-10 16:06:57 -07:00
punto-
bba89aef3b Merge pull request #5559 from Hinsbart/connected_joysticks
Input: add get_connected_joysticks() method.
2016-07-10 14:00:27 -03:00
Juan Linietsky
b06eca108a Merge pull request #5490 from timoschwarzer/master
Add new Camera2D alignment functions
2016-07-10 12:39:50 -03:00
Juan Linietsky
5bb552273b Merge pull request #5489 from jejung/richtextlabel-get_text
RichTextLabel-get_text
2016-07-10 12:38:28 -03:00
Rémi Verschelde
69c8b583e7 classref: Add docs for InputEvent* and InputMap 2016-07-08 23:41:07 +02:00
Rémi Verschelde
a15de80942 classref: Fix arg name for is_action_pressed/released
Also position TEXTURE_SPHERE constant properly.
2016-07-08 23:40:43 +02:00
Rémi Verschelde
288355afe9 classref: Fix descriptions indentation after #5588 2016-07-08 22:55:14 +02:00
J08nY
f5ce4e251d
Classref: update with new doctool indentation 2016-07-08 00:25:54 +02:00
Pawel Kowal
fe49b71804 Update String.capitalize() documentation 2016-07-06 10:33:27 +02:00
George Marques
eecf4ff273
Update classes.xml to fix sorting of constants 2016-07-05 17:09:16 -03:00
George Marques
5c355a63d3
Add OS.request_attention() for Windows 2016-07-05 12:29:08 -03:00
Andreas Haas
45cfd199a4
Input: add get_connected_joysticks() method.
fixes #5465
2016-07-05 14:08:02 +02:00
Timo Schwarzer
681471e3f0 Add documentation 2016-06-29 18:31:43 +02:00
Jean Jung
aeb5365e84 Adding support to get the raw text without formatting information from a RichTextLabel. 2016-06-29 12:43:51 -03:00
Jean Jung
673e3b70b6 Added ItemList.get_selected_items() doc 2016-06-28 16:22:36 -03:00
Jean Jung
5502499469 syncing the reference 2016-06-28 16:11:58 -03:00
George Marques
441640506f
Add *Array.invert() documentation 2016-06-25 14:47:32 -03:00
Rémi Verschelde
d52fa2e0eb Merge pull request #5380 from vnen/string-canvasitem-docs
Documentation for String and CanvasItem
2016-06-24 21:16:20 +02:00
Rémi Verschelde
118f54aeeb Merge pull request #5328 from Paulb23/line_edit_caret
Added caret blink to line edit
2016-06-24 21:13:26 +02:00
George Marques
6776fa63de
Add docs for String and CanvasItem 2016-06-23 18:08:41 -03:00
Paulb23
c85f27c973 Added caret blink documentation 2016-06-22 13:26:44 +01:00
J08nY
3284e7b9d4
Classref: added for new *Array bindings
- append(),append_array(),insert(),remove()
2016-06-22 12:21:32 +02:00
Rémi Verschelde
3b5b893a0e Merge pull request #5350 from vnen/fix-classesxml-sorting
Fix classes.xml sorting
2016-06-22 00:35:29 +02:00
Rémi Verschelde
5e082d583b classref: Fix UTF-8 parsing in makerst 2016-06-22 00:32:29 +02:00
George Marques
e53f186899
Sync classes.xml with the new sorting 2016-06-21 17:24:47 -03:00
George Marques
4d33eb01d7
Add classref for File class 2016-06-21 11:24:51 -03:00
George Marques
d3dff93e33
Add docs for String.bigrams() and String.similarity(text) 2016-06-19 11:43:47 -03:00
Mehmet Durgel
92fc3fa536 Clarification about enter keys confusion
Some Languages threat KEY_RETURN and KEY_ENTER keys having the same keycode (eg: Javascript).
Added additional explanation about this issue.
Related to #4595
2016-06-19 16:34:11 +03:00
J08nY
b587a13293 Classref: Mutex, Semaphore, Thread, *Array (#5278) 2016-06-18 21:21:29 +02:00
Rémi Verschelde
7723579237 Fix type hint for the seed argument
Closes #5260.
2016-06-18 01:18:06 +02:00
J08nY
541a1226cd
Classref: added PacketPeer* 2016-06-16 14:15:48 +02:00
J08nY
bb2cac4515
Sync classref 2016-06-16 14:15:34 +02:00
J08nY
cffdc52482 Classref: Added docs for StreamPeer* (#5216) 2016-06-15 13:32:12 +02:00
Rémi Verschelde
78b745bb0a Merge pull request #5192 from J08nY/issue-5190
Dictionary: rename param in .has() .has_all() .erase()
2016-06-15 11:13:59 +02:00
Rémi Verschelde
ee105744e0 Merge pull request #5210 from J08nY/issue-5189
String documentation: .ord_at() returns int not String
2016-06-15 11:08:10 +02:00
Wilhem Barbier
f665200df7 Add joystick vibration support on Linux (#5043) 2016-06-15 07:25:35 +02:00
J08nY
58a891265a
String documentation: .ord_at() returns int not String
fixes #5189
2016-06-14 14:52:32 +02:00
J08nY
7a19e3c6ae
Dictionary: rename param in .has() .has_all() .erase()
fixes #5190, param should be named key, not value
2016-06-13 19:08:04 +02:00
J08nY
d42117eeb6
Sync classref 2016-06-13 19:01:07 +02:00
Juan Linietsky
20b4567829 Merge pull request #5177 from vnen/string-subsequence
Add subsequence search to tools
2016-06-13 13:25:56 -03:00
Ovnuniarchos
471ab4e6ff Documented many Physics2D* classes 2016-06-12 20:24:19 +02:00
George Marques
feb95fa9ac
Add documentation to String.is_subsequence_of{,i} 2016-06-12 14:53:03 -03:00
George Marques
6ce5876c63
Add documentation for Array.find and Array.rfind 2016-06-10 18:07:59 -03:00
CowThing
50de99f050 Filling in documentation
Documentation for BoneAttachment, KinematicBody, ParallaxBackground,
ParallaxLayer, and TestCube
2016-06-08 15:29:46 -04:00
Juan Linietsky
4b893ffeeb Merge pull request #4861 from brakhane/negative-indexing
Add support for Python-like negative indexing
2016-06-07 10:17:00 -03:00
J08nY
ec96e36bc9
Classref for: ImageTexture, Image, LargeTexture 2016-06-07 12:17:18 +02:00
J08nY
db5ea849d8
Sync classref 2016-06-07 10:39:36 +02:00
Dennis Brakhane
1e068d34f4 Add support for Python-like negative indexing
Negative indexing is a useful feature in Python, especially when combined
with array slicing. Array slicing will hopefully be implemented later, but
negative indexing is useful in its own right.

A negative index is indexing from the end of an array,
"array[-1] == array[array.size()-1]", using a negative index
larger/smaller than the length of the array is still an error.

While primarily useful for arrays and strings, support is also added to
"array like" structures like Vector3 and Color. This is done just
to be consistent; vector3[2] is much clearer than vector3[-1], but disallowing
it while allowing it for an array with 3 elements seems confusing.
2016-06-05 20:00:54 +02:00
J08nY
dcce477f5e
Added Dictionary.values() 2016-06-05 14:50:06 +02:00
Bojidar Marinov
662e0cc411 Document Viewport and ViewportSprite classes 2016-06-05 14:51:44 +03:00
Bojidar Marinov
9e0921e038 Sync with -doctool 2016-06-05 14:47:12 +03:00
J08nY
1a80b2a04a
Added InputMap.get_actions()
get_actions() lists all actions in the InputMap.
2016-06-04 17:56:30 +02:00
Rémi Verschelde
4b0bae9799 Merge pull request #5027 from J08nY/gdscript
Add Array.find_last() and Array.count()
2016-06-04 16:07:48 +02:00
Rémi Verschelde
cbba9c4506 Merge pull request #4300 from leezh/control_focus_mode
Exposed Control::focus_mode to the scene editor
2016-06-04 14:41:36 +02:00
J08nY
5f5ca8cd9b Added Array.find_last() and Array.count() 2016-06-03 23:36:02 +02:00
J08nY
4c5439f8cd Added classref for HTTPClient and HTTPRequest 2016-06-03 18:13:15 +02:00
J08nY
45163b10be Sync classref 2016-06-03 18:03:12 +02:00
P-GLEZ
35cb75220d StaticBody documentation
Documented StaticBody. Also corrected an error in StaticBody2D
documentation
2016-06-01 12:35:25 +02:00
Rémi Verschelde
4e6f452c52 Merge pull request #4933 from J08nY/classref
Added RigidBody and finished Resource class-reference
2016-06-01 07:23:53 +02:00
P-GLEZ
0325944ee4 classref: Area documentation
One method was missing.
2016-05-31 21:17:35 +02:00
P-GLEZ
617530832b Area Documentation
Ported the Area2D documentation into its 3D counterpart. Also fixed some
typos
2016-05-31 19:24:27 +02:00
Rémi Verschelde
84ad8a11b6 Merge pull request #4931 from CowThing/classref-edit
Filling in documentation
2016-05-30 22:40:24 +02:00
J08nY
063d507a15 Added classref for RigidBody, and finished classref for Resource 2016-05-30 22:13:33 +02:00
J08nY
a4cbed8465 Sync class-ref with code base. 2016-05-30 22:13:33 +02:00
CowThing
3ba4e6b2ac Filling in documentation
VisibilityNotifier and VisibilityEnabler (2D and 3D).
2016-05-30 15:05:27 -04:00
Rémi Verschelde
96bdab6edf Merge pull request #4845 from vnen/pr-magnetometer
Add magnetometer sensor support for Android
2016-05-29 18:37:33 +02:00
Julian Murgia - StraToN
9ac4b29322 Documented Light2D and LightOccluder2D 2016-05-29 01:41:22 +02:00
Julian Murgia - StraToN
defe7f18c2 Documented BackBufferCopy. Need validation for the different copy modes (constants) 2016-05-28 22:02:21 +02:00
George Marques
8d69e1b620
Add documentation for Input.get_magnetometer() 2016-05-27 14:55:24 -03:00
Zher Huei Lee
0ccf153a15 GUI Focus mode improvements
Exposed `get_focus_mode()` to the script
Added `focus_mode` to the property panels for line-edit and sliders
Added `enabled_focus_mode` to the property panels for buttons

enabled_focus_mode is used when button is enabled/disabled
2016-05-23 15:08:50 +01:00
Rémi Verschelde
da24bc8f3f VehicleBody: Cosmetic fixes to previous commit 2016-05-21 11:52:21 +02:00
Agustin Benavidez
97da9f14ab Add get_linear_velocity() method to VehicleBody class
Doc added also.
2016-05-21 11:35:55 +02:00
Geequlim
a92652d578 Document the FileDialog and partial OS methods 2016-05-20 21:39:31 +08:00
Bojidar Marinov
d208572906 Fix a XML error with the documentation 2016-05-20 14:54:33 +03:00
CowThing
0749db2cf8 Filling in documentation.
AABB, Color, Rect2, Transform, Vector2, and Vector3.
2016-05-15 19:01:21 -04:00
Rémi Verschelde
7913e792ac Merge pull request #4563 from djrm/classref-edit
Documented @GlobalScope singletons and some keys
2016-05-13 21:09:08 +02:00
Daniel J. Ramirez
70ec87ecd2 Fix some errors in some rotation functions, also clarify that certain parameters are expressed in radians 2016-05-12 18:44:32 -05:00
MattUV
91c85ff1f5 classref: Fixed return types in Area and Area2D (#4635) 2016-05-12 17:03:15 +02:00
Rémi Verschelde
22d1385caf classref: Directory and ConfigFile 2016-05-12 08:41:43 +02:00
Rémi Verschelde
2fbf4f563b classref: Sync with current source 2016-05-12 08:31:53 +02:00
Paulb23
997476777a Updated caret blink method documentation 2016-05-11 17:55:59 +01:00
Rémi Verschelde
bc31be9812 Sync classes.xml with current sources
Also fix a typo in the binding of Control::set_drag_forwarding.
2016-05-09 22:20:35 +02:00
Daniel J. Ramirez
cb0be4adaa Documented @GlobalScope singletons and some keys 2016-05-05 14:04:42 -05:00
Daniel J. Ramirez
ed7c0a6caf Partial documentation for OS methods 2016-05-05 12:46:31 -05:00
Daniel J. Ramirez
f558b4003b Documented LinkButton 2016-05-05 11:23:25 -05:00
CowThing
f6ae5e41de Input Documentation
Input Documentation
2016-05-03 14:44:58 -04:00
Rémi Verschelde
5b039245b9 Sync class reference 2016-05-03 19:35:01 +02:00
Daniel J. Ramirez
3ca1d0f1d5 Documented bool methods 2016-05-02 13:32:29 -05:00
Rémi Verschelde
1d9c4c559b Merge pull request #4529 from djrm/classref-float
Documented float
2016-05-02 20:14:28 +02:00
Daniel J. Ramirez
520e6f5b09 Documented float 2016-05-02 13:11:14 -05:00
Daniel J. Ramirez
4453284388 Documented int methods 2016-05-02 12:44:30 -05:00
CowThing
abf5f8c586 Finished AnimationPlayer Documentation
Finished AnimationPlayer Documentation
2016-05-02 12:16:59 -04:00
CowThing
bf13410626 Finished Timer Documentation
Finished Timer Documentation
2016-05-02 11:10:31 -04:00
CowThing
957c265f11 Documented YSort (#4515)
Documented YSort
2016-05-01 23:55:24 +02:00
Daniel J. Ramirez
c2bdb3727b Documented ColorRamp 2016-05-01 13:34:25 -05:00
Daniel J. Ramirez
3cd58fe0ba Partial documentation for Particles2D 2016-05-01 12:36:45 -05:00
Bojidar Marinov
5cdf4a6379 Document Popup, PopupDialog, PopupMenu, and PopupPanel 2016-05-01 17:52:42 +03:00
Rémi Verschelde
18c09acf9f classref: Run doctool and merge BitmapFont
BitmapFont was split from the Font class, so the relevant method
descriptions were readded manually.
2016-04-29 18:28:07 +02:00
Geequlim
a518792d89 Add more documentations for this classes:
* BoxContainer
* CenterContainer
* ScrollContainer
* SplitContainer
* Vector2
* StringArray
* FileDiloags
2016-04-29 22:27:16 +08:00
Rémi Verschelde
a0dce1e66f Merge pull request #4482 from Geequlim/master
Add more documentations and fix AcceptDialog::add_cancel
2016-04-29 10:43:50 +02:00
Geequlim
5c61e17c10 Add more documentations and fix AcceptDialog::add_cancel 2016-04-29 16:34:07 +08:00
Rémi Verschelde
c97cc362e3 Merge pull request #4387 from JoshuaGrams/rigidbody2d-torque
Hooked up RigidBody2D torque methods
2016-04-29 10:29:12 +02:00
Geequlim
4de3f8944e Fill in the blank in the Array, CenterContainer and Dictionary class reference (#4476) 2016-04-29 07:32:13 +02:00
Daniel J. Ramirez
faf21b81e8 Documentation for Canvas Modulate, ColorPicker, ColorPickerButton 2016-04-29 07:27:18 +02:00
Rémi Verschelde
0485c9eaba Merge pull request #4451 from JoshuaGrams/anim-tree-filter
Anim tree: add filters on Animation nodes
2016-04-28 20:48:38 +02:00
Daniel Ramirez
9f29b4b26a Partial documentation for Polygon2D and Raycast2D (#4467) 2016-04-28 10:14:55 +02:00
Rémi Verschelde
3a4ec88b37 Classref: Document Button and ButtonArray
Also bind relevant constants and define some object types and better
argument names for the docs.
2016-04-28 00:10:17 +02:00
Rémi Verschelde
e9a5471ee1 Merge pull request #4461 from djrm/classref-edit
Added GridContainer documentation
2016-04-27 23:49:52 +02:00
Daniel J. Ramirez
a5b4c1d64f GridContainer, CheckBox documentation, descriptions for Vector2 and CenterContainer.set_use_top_left 2016-04-27 16:09:48 -05:00
Jan Heemstra
e301ca3544 fixed some mistakes in WeakRef documentation 2016-04-27 17:27:01 +02:00
Jan Heemstra
edff81c214 Documented WeakRef and member functions 2016-04-27 16:10:10 +02:00
Jan Heemstra
f2a73816c2 Sync classes reference template with current code base 2016-04-27 15:19:12 +02:00
Julian Murgia - StraToN
87aa128228 Documented Node2D 2016-04-26 23:19:45 +02:00
Rémi Verschelde
034d6e811f Various improvements to doc_status.py
- Make comments opt-in (smaller table in width)
- Reduce length of Brief Description and Description (also smaller table as output)
- Make names cyan (blue is too dark on black terminal)
- Drop some redundant synonyms for the flags
2016-04-26 21:35:06 +02:00
Josh Grams
a7b4127481 RigidBody2D (add_force, set_inertia): new methods. 2016-04-26 08:15:15 -04:00
Josh Grams
bd95e18ae4 AnimationTree: add filters to Animation nodes. 2016-04-26 06:49:06 -04:00
Julian Murgia
81e405545b Edited classes.xml : GraphEdit finished (#4450) 2016-04-26 12:48:47 +02:00
Bojidar Marinov
c9340cdcc6 Add a python script to check the current doc status 2016-04-22 18:32:15 +03:00
Josh Grams
f7d31cec38 RigidBody2D: add and bind get_inertia() method.
You can't set this value very well, since it's automatically computed
from the mass and the collision shapes. But since the values are higher
than many people might suspect, so being able to read it helps estimate
the amount of torque you might need to apply.
2016-04-20 20:49:37 -04:00
Josh Grams
dbabe4c07c RigidBody2D: add and bind get/set_applied_torque. 2016-04-20 19:49:35 -04:00
Alexander Holland
a379ed56ea string ends_with 2016-04-17 23:49:21 +02:00
Rémi Verschelde
d454e64f42 Sync docs with source 2016-04-07 21:27:29 +02:00
Rémi Verschelde
0a5472e697 Remove trailing spaces 2016-04-02 20:26:12 +02:00
Josh Grams
ef08fed277 doc/base/classes.xml: String.match, Node.find_node
Clarify wildcard behavior.
2016-03-27 08:21:14 -04:00
Kyle Luce
674c6f2f2d Add function to convert Date time from a dictionary to Epoch
- Also changed get_time_from_unix_time to get_date_time_from_unix_time to be
  consistent.

Ticket:
https://github.com/godotengine/godot/issues/4038
2016-03-16 23:13:39 -07:00
Kyle Luce
feef563f3f Fixes the month consistency issue in enums and get_date etc
- Also updated the docs to reflect this.
- Added some vim temp files to gitignore
- Changed NaCL to be consistent with the other OS_Unix::get_date implementation
   (added 1 to month to map to 1-12)

Ticket:
https://github.com/godotengine/godot/issues/4025
2016-03-13 15:27:39 -07:00
Bojidar Marinov
0e8a8d2cb1 Add option to keep margins when changing anchors, closes #3979
Amend: Fixed an issue for non-tool builds
Amend2: Same, just fixed doing nothing at some times
2016-03-09 21:14:17 +02:00
Rémi Verschelde
32bb7a04a2 Merge pull request #3833 from AlexHolly/feature-file-md5
expose md5 for file(s) to gdscript
2016-03-08 19:32:33 +01:00
hondres
1b806ef54e doc: fix joystick left/right trigger axis description (index 6/7 instead of 4/5) 2016-03-06 13:40:37 +01:00
Martin Chuckeles
ff7c89ebaf Add more verbose build-in functions descriptions
Add descriptions for some global constants
2016-03-06 10:34:07 +01:00
Martin Chuckeles
cd1184d56c Write GDScript documentation 2016-03-05 15:06:31 +01:00
Stabington
6b7ec5de69 set_time_scale docs
This is correct?
2016-03-03 10:07:10 +01:00
Rémi Verschelde
002ff3cc9a Revert "Merge pull request #3814 from est31/iterators_for_for"
This reverts commit adf5056889, reversing
changes made to ee2bc87c0e.
2016-03-01 18:09:48 +01:00
Rémi Verschelde
a12c63ef9e Quick fixes to tween documentation formatting
Maybe the reST parser should be improved instead though ;)
2016-03-01 08:37:35 +01:00
Juan Linietsky
640443be6a Merge pull request #3864 from leezh/editorplugin_extras
Adds EditorPlugin::remove_control_from_bottom_panel()
2016-02-28 23:11:37 -03:00
est31
f81153eb69 Add xrange builtin function
Also update classes.xml in order to document xrange
2016-02-28 22:47:48 +01:00
Zher Huei Lee
3546403af2 Updated the docs for EditorPlugin
One thing to note is that visibilty of the bottom panel items are automatically
managed by the buttons along the bottom.
2016-02-28 20:09:15 +00:00
Bojidar Marinov
49e1cc6fa9 Document Tween class 2016-02-28 22:04:01 +02:00
Juan Linietsky
6fc1c3a4d1 Completed the support for plugins! It is not possible to add plugins.
Not all APIs are provided yet, please request whathever you are missing.
Some example plugins are provided in demos/plugins. Just copy them to a folder in your project named addons/ and then enable them from the project settings.
Have fun!
2016-02-27 23:12:27 -03:00
Alexander Holland
d093f558ab expose md5 for file(s) to gdscript 2016-02-25 19:25:29 +01:00
David
00d3c657de applied some typo fixes. see godotengine/godot-docs#18 2016-02-24 01:53:44 -06:00
Josh Grams
d2ac38679d doc (NodePath): Rewrite description and all methods. 2016-02-22 17:59:18 -05:00
Josh Grams
47a2213580 docs: RigidBody2D._integrate_forces: Explain in more detail. 2016-02-20 21:18:24 -05:00
Alexander Holland
d809987827 update doc on HTTPClient headers case-sensitivity 2016-02-20 00:37:43 +01:00
Rémi Verschelde
0dce4f7eb2 Remove broken [image] usage in classref 2016-02-19 18:39:16 +01:00
Rémi Verschelde
16b0cf8bcb Merge pull request #3754 from akien-mga/pr-subtract
Rename KEY_KP_SUBSTRACT to KEY_KP_SUBTRACT
2016-02-17 23:33:13 +01:00
Rémi Verschelde
130f8fa193 Rename KEY_KP_SUBSTRACT to KEY_KP_SUBTRACT
The former name was incorrect in English, though for us latin lovers it's an understandable mistake.
Second part of and closes #3626.
2016-02-17 23:01:27 +01:00
Rémi Verschelde
e5389288dd Add a warning header to each rst file
To tell potential contributors that they should direct their work to the XML template and not the auto-generated reST
2016-02-17 22:02:55 +01:00
Rémi Verschelde
9e4532d689 Implement support for [codeblock] tag in help
It allows to define a multiline space-indented code block that will be properly parsed by the reST converter for the online docs.
The in-editor help understand the [codeblock] tag as it supposedly understand [code] already (i.e. it just seems to discard it, though the code was supposed to switch it to a monospace font, but that's likely another issue.
2016-02-17 21:17:08 +01:00
Rémi Verschelde
281236280e Fix NavigationPolygon references in _bind_method
Also sync the doc accordingly
2016-02-17 18:46:31 +01:00
Josh Grams
a0cffd625b doc: explain DampedSpringJoint2D parameters. 2016-02-17 10:25:55 -05:00
Rémi Verschelde
747c1709aa Merge pull request #3710 from AlexHolly/doc-directory
some doc for directory
2016-02-16 07:47:44 +01:00
Rémi Verschelde
5439937899 Bind method is_cell_transposed 2016-02-15 23:30:52 +01:00
Rémi Verschelde
76ff31b3ff Fix some broken method references
+ sync template with source
2016-02-15 23:22:55 +01:00
Alexander Holland
e65838f2d0 some doc for directory 2016-02-14 20:31:55 +01:00
Rémi Verschelde
391a882218 Merge pull request #3699 from Hinsbart/doc_os_getname
Doc: add list of possible return values to OS.get_name() description
2016-02-13 14:32:50 +01:00
hondres
080b5e4f63 doc: add list of possible return values to OS.get_name() description 2016-02-13 15:24:01 +01:00
hondres
a415996f79 "Sync classes reference template with current code base" 2016-02-13 03:16:24 +01:00
Alexander Holland
260380be45 Doc HTTPClient.get_response_headers_as_dictionary() 2016-02-12 22:39:23 +01:00
Rémi Verschelde
f5433dc60d Merge pull request #3627 from lordadamson/master
renamed function get_video_texutre to get_video_texture
2016-02-08 11:21:58 +01:00
Adham Zahran
6be6d02daf renamed function get_video_texutre to get_video_texture 2016-02-08 12:11:26 +02:00
Rémi Verschelde
9998927cfd Merge pull request #3625 from lordadamson/master
'radian' to 'radians' :D
2016-02-07 20:21:54 +01:00
Adham Zahran
485e772d37 just a small type 2016-02-07 21:17:13 +02:00
Rémi Verschelde
938772ac9f Merge pull request #3624 from lordadamson/master
fixing typos all over the place
2016-02-07 20:15:26 +01:00
Adham Zahran
8161392eb6 fixing typos all over the place 2016-02-07 21:10:52 +02:00
Rémi Verschelde
6faa1b9288 Merge pull request #3619 from lordadamson/master
description for Input.is_mouse_button_pressed()
2016-02-07 19:22:18 +01:00
Adham Zahran
9d8b798d44 description for Input.is_mouse_button_pressed() 2016-02-07 19:48:23 +02:00
Rémi Verschelde
0f11b322b3 Improve parsing of [method ...] tags
Also improve some code display.
2016-02-07 18:30:18 +01:00
Rémi Verschelde
1af65aff44 Fix badly formatted tags in XML
Also add parsing of [code] tags in RST converter
2016-02-07 17:19:12 +01:00
Juan Linietsky
b766e9c79b Display better inheritance info in doc 2016-02-07 13:05:16 -03:00
Rémi Verschelde
2fabb3e892 Small makerst improvements 2016-02-07 14:43:09 +01:00
Rémi Verschelde
47e5a5fd74 Enhance xml to rst converter
Fixes a number of issues:
- Headings underliners now have the correct length
- Newline+Tabs in descriptions are replaced by two newlines to make a proper paragraph
- [br] are replaced by two newlines, making a proper paragraph
- Properly parse internal hyperlinks in constants description
- Fix broken internal links due to missing newlines
- Show method header even when it has no description, to have something to reference in hyperlinks
2016-02-07 12:13:19 +01:00
Rémi Verschelde
c512dbfe5a Sync classes ref with code 2016-02-07 11:18:38 +01:00
Rémi Verschelde
4a39202c8d Merge pull request #3607 from 29jm/patch-1
Added get_cellv() method to TileMap
2016-02-07 00:33:43 +01:00
Juan Linietsky
3ee4f4f19a -Added RST generator for class reference 2016-02-06 20:23:39 -03:00
Johan Manuel
a634fc7a4a Added get_cellv() method to TileMap 2016-02-06 13:48:41 +01:00
Ovnuniarchos
51dfd4a4b5 Variables SpatialSoundServer and SS pointed to SpatialSound2DServer. 2016-01-30 10:36:58 +01:00
Rémi Verschelde
ac3aa29c24 Sync API reference with current code 2016-01-26 00:19:47 +01:00
hondres
de809f3ed9 replace InputEvent references with GlobalScope in joystick doc 2016-01-23 15:34:27 +01:00
Ovnuniarchos
8ed13c4df4 set_signed_data now works correctly on pcm8 samples. 2016-01-21 14:40:58 +01:00
Ovnuniarchos
37ee43fd5a Documented AudioServserSW, EventPlayer and EventStream*. Corrections on AudioServer and Sample. 2016-01-21 01:17:17 +01:00
volzhs
4563a5909a add documentation for OS::set_keep_screen_on 2016-01-16 20:59:44 +09:00
hondres
c632c13c66 Add some joystick functions to input. Enables manipulation of mappings at runtime 2016-01-08 00:40:41 +01:00
George Marques
5be9ff7b67 Update copyright to 2016 in headers 2016-01-01 11:50:53 -02:00
Ovnuniarchos
57ffdbc24c PhysicsBody2D and descendants documented. 2015-12-28 21:53:05 +01:00
Rémi Verschelde
d4993b74fc Add missing argument names in GDScript bindings
All classes were reviewed apart from VisualServer for which no argument name is documented at all.
While doing this review, I found quite a few bugs that were fixed either in earlier commits or this one (mostly documentation bugs though, i.e. some arguments were listed at the wrong place).
2015-12-28 02:13:05 +01:00
Rémi Verschelde
d1caf2f037 Remove bogus argument in body_get_node 2015-12-28 01:32:12 +01:00
Rémi Verschelde
46eebac3ae Remove bogus argument in sample_get_description
Copy-paste mistake from the setter most likely.
2015-12-28 01:18:37 +01:00
Rémi Verschelde
e66f4a4021 Sync doc with current source 2015-12-27 23:06:13 +01:00
Ovnuniarchos
69a65e5a69 New area space override modes documented. Also, PhysicsBody2D, Area2D, and CollisionObject2D. 2015-12-22 15:48:41 +01:00
Rémi Verschelde
410e418aea Add a Makefile to generate classes doc in various formats
All the generated documentation is put in doc/_build.
2015-12-13 00:01:04 +01:00
Rémi Verschelde
aeb5ea5934 Move documentation python tools to doc/tools folder 2015-12-12 23:30:45 +01:00
Rémi Verschelde
29f30b7deb Move doxygen config to doc folder
Also removed logo_small.png and used logo.png instead
2015-12-12 21:18:33 +01:00
Rémi Verschelde
61eb037d5d Remove outdated documentation 2015-12-12 21:18:33 +01:00
Juan Linietsky
ff936c6b2e Merge pull request #2868 from akien-mga/pr-fix-can-move-to
Fix can_move_to and rename it for more clarity
2015-12-08 17:09:47 -03:00
Juan Linietsky
afb895f197 Merge pull request #2993 from leezh/nrex-v0.1
updated the RegEx library nrex to v0.1
2015-12-08 17:00:27 -03:00
Franklin Sobrinho
3c4b0236cb Add constructor for Image built-in type 2015-12-06 09:12:14 -03:00
Zher Huei Lee
d957749179 updated nrex documentation 2015-12-04 22:19:53 +00:00
Bojidar Marinov
12f2c1378a Edit documentation for AABB and Rect2.
Docs for AABB were already present, but had a few mistakes.
2015-11-29 15:56:40 +02:00
Bojidar Marinov
c81c671131 Run -doctool on existing documentation
Also, s/vecor/vector/
2015-11-29 15:38:47 +02:00
est31
323938cc28 Document byte conversion methods for Strings 2015-11-24 05:46:00 +01:00
Rémi Verschelde
a961347d8c Fix return type of Matrix32 member vars
Thanks to @bojidar-bg for localising the issue.
2015-11-23 19:08:54 +01:00
Bojidar Marinov
4359a90cca Document Vector3 and Vector3Array. Fix documentation of Vector2 and Vector2Array. 2015-11-23 14:18:13 +02:00
Bojidar Marinov
ca750fb7bc Update doc with -doctool. 2015-11-23 13:57:57 +02:00
zvodd
18dfb16e26 fix poorly formed documentation xml, text outside of tags 2015-11-23 12:52:43 +11:00
Rémi Verschelde
2674565cf6 Merge pull request #1931 from Faless/audio_free_rid
Expose AudioServer::free(RID rid) as AudioServer.free_rid(RID rid)
2015-11-23 00:22:15 +01:00
Rémi Verschelde
e57dfe2663 Update doc for can_teleport_to 2015-11-22 14:21:04 +01:00
Rémi Verschelde
0c8dda80ff Update Vector2.angle() description 2015-11-20 18:47:18 +01:00
Rémi Verschelde
497efa720c Sync doc template with code 2015-11-20 18:39:23 +01:00
Ovnuniarchos
8c0c46c2ae Inserted explanation about the behaviour of CollsionPolygon2D.set_polygon. 2015-11-20 18:24:28 +01:00
Ovnuniarchos
68a0f713b8 Differences between ConvexPolygon2D and ConcavePolygon2D? 2015-11-20 18:09:31 +01:00
Ovnuniarchos
1155ac884c ConvexPolygonShape2D.set_point_cloud documented to do nothing. 2015-11-20 18:09:31 +01:00
Ovnuniarchos
73a80e5509 Added definition of bias solver. 2015-11-20 18:09:31 +01:00
Juan Linietsky
232b1a3fef Merge pull request #2822 from kurikaesu/master
HTTPClient docs & request functionality + fixes
2015-11-19 09:18:09 -03:00
Aren Villanueva
5c7e9e7e63 Fixes the make_doc.sh, <, > and & signs in descriptions that cause the parser to break.
Documentation for HTTPClient.
Added a query_string_from_dict method to HTTPClient to create a x-www-form-urlencoded valid query string for GET and POST messages.
String now has http_escape() and http_unescape() methods to help facilitate the above query_string_from_dict method.
2015-11-19 22:01:42 +11:00
Ovnuniarchos
07110c3a14 Changed capabilities list. 2015-11-19 11:18:22 +01:00
Rémi Verschelde
3fcfdfec0a Merge pull request #2645 from Ovnuniarchos/DocCurvePathPFollow
Documented classes Curve*, Path*, and PathFollow*
2015-11-07 13:15:47 +01:00
Ovnuniarchos
8abdb43aab Documented classes Curve*, Path*, and PathFollow* 2015-11-07 13:09:00 +01:00
Ovnuniarchos
3b2899bc42 Regex class documented. For some reason, parameter descriptors don\'t appear. 2015-11-03 04:39:42 +01:00
Fabio Alessandrelli
203f069329 Expose AudioServer::free(RID rid) as AudioServer::free_rid(RID rid)
to avoid script error due to collision with Object method free
2015-11-02 17:54:33 +01:00
Rémi Verschelde
b2f9acb8c9 Merge pull request #2680 from Brickcaster/onceagain
Added a few notes to classes.xml
2015-11-02 07:38:06 +01:00
Brickcaster
e0e4bcc6a6 Added description to classes/ScrollContainer
Added description to help understand how to utilize the ScrollContainer
node.
2015-11-01 20:58:07 -05:00
Brickcaster
18964798b7 classes/color - Documenting a trick with set_modulate
I wanted to document a trick using class color to highlight a sprite.
2015-11-01 20:58:06 -05:00
Brickcaster
44057ed4ae Updated classes/matrix32
The 3 members of a matrix 32 are Vector2, not float.  Updated
documentation to reflect this.
2015-10-25 19:29:44 -04:00
George Marques
baa59c0670 Add missing reference documentation for Array class 2015-10-20 14:31:30 -02:00
George Marques
eefc2bf5f7 Syncing classes.xml with current binary 2015-10-20 14:26:37 -02:00
Julian Murgia - StraToN
2975064c4d GraphEdit and GraphNode documentation 2015-10-16 17:56:03 +02:00
George Marques
6e87314d83
Add support for Opus audio format 2015-10-02 14:25:38 -03:00
Rémi Verschelde
7c1a79089a Update documentation for all Sample* classes 2015-09-26 23:58:12 +02:00
Juan Linietsky
6f0df4e80c Merge pull request #2534 from eska014/unpress-hidden-buttons
Fix BaseButtons remaining pressed when hiding while pressed down
2015-09-26 00:53:38 -03:00
eska
6ee2a84e8a Clarify BaseButton::is_pressed() documentation 2015-09-26 05:48:51 +02:00
Rémi Verschelde
4abc7f5740 Update documentation for TileSet and Timer 2015-09-25 20:45:00 +02:00
Rémi Verschelde
c69ea708fa Sync classes reference template with current code base 2015-09-25 17:54:24 +02:00
Juan Linietsky
52eebdc001 Merge pull request #2449 from leezh/label-valign-fix
reworked Label class
2015-09-25 11:29:49 -03:00
Rémi Verschelde
d55274b5b0 Document TileMap class 2015-09-23 23:05:47 +02:00
Bojidar Marinov
f41ed99df2 Update descriptions for Vector2 and Vector2Array 2015-09-23 17:41:02 +03:00
Bojidar Marinov
6adb5ed440 Regenerate docs 2015-09-23 17:34:07 +03:00
Zher Huei Lee
b33c288525 updated Label documentation 2015-09-08 10:41:58 +01:00
Ovnuniarchos
d1a260c966 A bunch of spell checks, and rewordings. Also, some simple documentation. 2015-07-26 20:09:47 +02:00
Ovnuniarchos
43053e3a71 Added a proper name and an explanation to arg4 on CanvasItem.draw_texture_rect*. 2015-07-20 20:07:25 +02:00
ShadowKyogre
631cb10e86 Add some documentation for RayCast2D about is_colliding and get_collider quirks 2015-06-24 13:24:42 -07:00
krzycho
d65455185a - added GDscript bidings for UndoRedo class mechanizm
- registered UndoRedo
2015-06-21 22:23:09 +02:00
Juan Linietsky
e323cc0505 -Rename unexisting by nonexistant, closes #1940
-Added function to retrieve list of actions fron InputMap
2015-05-18 10:20:54 -03:00
Juan Linietsky
af06843982 -new collision layer & mask system for 2D, for more flexible collision masking 2015-05-03 16:47:21 -03:00
Simon Wenner
8156db1623 updated outdated or missing Plane class documentation 2015-04-20 23:31:53 +02:00
Simon Wenner
03fd8a80c1 fixed incorrect constructor descriptions in Matrix3 2015-04-20 22:38:26 +02:00
Simon Wenner
87da209f14 fixed typos in the documentation 2015-04-20 22:36:28 +02:00
Juan Linietsky
da7698073f Merge pull request #1407 from NateWardawg/documentation
Updated the internal documention for the GDScript class.
2015-03-22 15:02:00 -03:00
Juan Linietsky
4d2198110b merges from okam repo 2015-03-03 14:39:13 -03:00
Nathan Warden
bfad392387 Updated the variable in the lerp function to be weight instead of percent. 2015-02-20 16:28:48 -05:00
Nathan Warden
071b2ea4f2 Updated the internal documention for the GDScript class. 2015-02-20 13:05:21 -05:00
Juan Linietsky
c79be979d4 Batch of Bugfixes
-=-=-=-=-=-=-=-=-

-Fixed Export UV XForm (should work now). #923
-Fixed enforcement of limits in property editor. #919
-Fixed long-standing bug of export editings in script inheritance. #914, #859, #756
-Fixed horrible error reporting in shader language. #912
-Added kinematic collision with plane (please test well). #911
-Fixed double animation track insert when using 2D rigs. #904
-VKey updates offset parameter in sprite edition. #901
-Do not allow anymore a script to preload itself. (does not fix #899, but narrows it down)
-Avoid connection editor from overriding selected text. #897
-Fixed timer autostart. #876
-Fixed collision layers in 3D physics. #872
-Improved operators in shader #857
-Fixed ambient lighting bug #834
-Avoid editor from processing gamepad input #813
-Added not keyword #752

Please test!
2014-12-07 02:04:20 -03:00
Brandon DeRosier
6628c0035b Fixed documentation typo 2014-11-11 13:57:25 -05:00
Brandon DeRosier
4b76b2caf5 Fix AnimationTreePlayer.node_get_input_source typo
- Changed node_get_input_sourcre to node_get_input_source
2014-11-11 13:15:19 -05:00
Juan Linietsky
d85b67be53 Bug Fixes
-=-=-=-=-

-Fixed problem with scaling shapes (#827), related to not taking scale in consideration for calculating the moment of inertia
-Added support for multiline strings (or comments) using """
-Save subscene bug, properties not being saved in root node (#806)
-Fix Crash in CollisionPolygon2DEditor (#814)
-Restored Ability to compile without 3D (#795)
-Fix InterpolatedCamera (#803)
-Fix UV Import for OBJ Meshes (#771)
-Fixed issue with modifier gizmos (#794)
-Fixed CapsuleShape gizmo handle (#50)
-Fixed Import Button (not properly working in 3D) (#733)
-Many misc fixes (though no new features)
2014-11-02 11:31:01 -03:00
Drachenfels
894b82a05f - fix for typo and clarification to documentation
Previous example were slightly ambiguous, by adding 'fixed' NodePath tree
to compare and one more example it will be easier to understand for
future generation of developers.
2014-08-21 00:06:59 +01:00
Juan Linietsky
1cad087969 Making Godot Easier to Use..
-=-=-=-=-=-=-=-=-=-=-=-=-=-=

-Auto indenter in code editor, this makes it much easier to paste external code.
-Zoom in 2D viewport now uses the mouse pointer as reference.
-Obscure hack to see where code/line of GDScript in C++ backtrace.
-Fixed a bug where keys would get stuck on X11 if pressed simultaneously
-Added Api on IP singleton to request local IPs.
-Premultiplied alpha support when importing texture, editing PNGs and as a blend mode.
2014-05-24 01:35:47 -03:00
Juan Linietsky
ec4ef2d2e7 -Added google play services (needed for some stuff)
-Added new screen resizing options, stretch_2d is removed, new much more flexible ones.
-Fixed bug in viewport (can create more instances in 3d-in-2d demo now)
-Can set android permissions and screen sizes manually in the export settings
-Changed export templates extension to .tpz (too many people unzipped the manually..)
-File dialog now ensures that the proper extension is used (will not allow to save without it)
-Fixed bug that made collision exceptions not work in 2D
2014-04-14 22:43:44 -03:00
marynate
4676aac335 Fix #240 TouchScreenButton release signal is not valid 2014-04-02 15:48:02 +08:00
bibby
141b313595 Closes bb-code tags, allowing make_doc.sh to finish 2014-03-05 07:53:33 -08:00
Olafur Haukur Flygenring
c78a06536e Merge remote-tracking branch 'upstream/master' 2014-02-19 20:52:07 +00:00
Juan Linietsky
d7d65fa2f2 -improved physics ccd
-html5 exporter works again
-disable repeat on image loader by default
-can change shape offset en tileset, texture offset was broken
2014-02-19 11:57:14 -03:00
Olafur Haukur Flygenring
ec448845e2 Added function "get_tiles_ids" to TreeSet. 2014-02-18 09:49:34 +00:00
Juan Linietsky
9afdb3e0ad -fixed bug in Button now exporting font property
-made GUI Theme editor usable
-editor does not allow to export or create .pck in the same path as a project
-changed .pck format (lacked support for versioning so couldn't change it), previous was causing crashes and is now incompatible, just re-export.
-will not look for .pck files recursively, was causing unexpected behaviors
-fixed execution of Godot in paths with non unicode characters in Windows, OSX and Linux.
2014-02-15 02:02:41 -03:00
Juan Linietsky
abb985e755 Reverted to older version of WebP, newer one crashed on Android. 2014-02-10 22:37:07 -03:00
Juan Linietsky
0b806ee0fc GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00