Commit Graph

382 Commits

Author SHA1 Message Date
Kinrany dd1cbd8472 Updated descriptions for Vector2.reflect and Vector2.slide
Edited by @akien-mga to add examples for clarity.
2018-02-18 17:28:22 +01:00
Rémi Verschelde 92f95dc55f doc: Sync classref with current source 2018-02-18 17:09:55 +01:00
Rhody Lugo 7b25a33762 add Colemak layout 2018-01-23 03:15:45 -04:00
Rémi Verschelde 3102dc17ee
Merge pull request #13437 from xsellier/bugfix/mouse-cursor-lag
Implement hardware cursor acceleration for Godot Engine 2.1
2018-01-03 08:36:44 +01:00
James 010a3433df resolve_hostname_addresses: retrieve every addresses associated with a hostname 2018-01-02 11:28:48 +01:00
Xavier Sellier 377fdc1e33 Hardware cursor implementation for Godot Engine 2.1
- Remove all references to the variable 'custom_mouse_cursor_hotspot' and 'custom_mouse_cursor' from the project settings.
- Indeed, to implement a custom cursor we need to define a sprite for each 'state' of the cursor. Using those variables in the projects settings would define only the _main_ cursor.
- Cleanup the VirtualServer (Remove references to cursor_set_visible, cursor_set_texture and cursor_set_pos)
- Cleanup the Input (set_mouse_in_window should not be used anymore)
- Update the documentation
- Implement it for windows, X11, Javascript, BB 10, OSx, iOS, server, android
- NOT IMPLEMENTED FOR WINRT (As of today, I'm not able to implement this one, this post might help)
- NOT IMPLEMENTED FOR HAIKU (Support of this platform seems perfunctory)
- Build it for Windows, Android and OSX
2017-12-15 11:37:36 -05:00
Indah Sylvia f50a0cecd9 Fixed typo: 'texure' to 'texture' 2017-09-29 04:30:06 +07:00
Rémi Verschelde cba8052259 doc: Clarify doc of StreamPlayer.get_stream_name()
Closes #6196.
[ci skip]
2017-09-24 13:51:38 +02:00
Rémi Verschelde f3e302c07c classref: Sync with current source 2017-08-27 13:59:44 +02:00
Rémi Verschelde 4e2ae2720f doc: Sync with current source 2017-08-25 19:26:30 +02:00
Naughty d6869d6260 Added missing descriptions to Vector2 methods abs and clamped.
(cherry picked from commit ce543bc079)
2017-08-13 20:29:46 +02:00
Rémi Verschelde 6d3fea6864 doc: Sync classref with current source 2017-07-30 21:47:34 +02:00
Poommetee Ketson 432d30bfd1 Docs: fix broken ref tags
(cherry picked from commit 90c2c1e7f8)
2017-07-30 21:29:21 +02:00
Poommetee Ketson 9e8a8619a1 Docs: ignore tags inside code,codeblock tag
(cherry picked from commit 5bbbecc315)
2017-07-30 21:25:11 +02:00
Rémi Verschelde 0b9b386069 doc: Sync classref with current source 2017-07-14 22:20:17 +02:00
ducdetronquito 9060a18639 Improved GDScript parse_json() doc about numerical values conversion.
(cherry picked from commit 76e6b2d33b)
2017-07-14 22:05:51 +02:00
Henrique Campos 9bebc22dd9 Fix MarginContainer description 2017-07-11 16:38:57 +02:00
Rémi Verschelde 5e7fb570e8 Merge pull request #8714 from RandomShaper/fix-owc-2.1
Fix one-way collision detection (2.1)
2017-06-25 11:14:31 +02:00
dumitru-stama e9e39dd6dc Added 'blit_rect_mask' method 2017-06-24 08:16:35 -07:00
d 48f8931d48 Added two new methods 'blend_rect_mask' and 'fill' 2017-06-18 10:27:50 -07:00
Rémi Verschelde e17966ca01 Merge pull request #9167 from dumitru-stama/blitalpha
Added new "blend_rect" method as an alpha-aware blit_rect
2017-06-17 12:54:15 +02:00
Julian Murgia e15162ccc3 Add Signals descriptions when they exist 2017-06-14 15:55:27 +02:00
dumitru.stama 95dcd22b46 Added a new 'blend_rect' method acting as 'blit_rect' with alpha-blending 2017-06-14 00:55:52 -07:00
Rémi Verschelde dc420b3b0a Doc: Sync classref with current source 2017-06-14 09:26:43 +02:00
Ferenc Arn 89703435a1 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.

(cherry picked from commit e4eb093c62)
2017-05-27 00:42:59 +02:00
Christian Winter bd32b67ab6 fixed typo 'one short connection' to 'one shot'
(cherry picked from commit 25776dbf76)
2017-05-27 00:42:58 +02:00
honix 43b0aa612f docs: ERR_EOF -> ERR_FILE_EOF
(cherry picked from commit 78c7847d1d)
2017-05-27 00:42:58 +02:00
clayjohn 831c8cb325 added documentation for SurfaceTool
(cherry picked from commit 478817abad)
2017-05-26 18:56:14 +02:00
clayjohn c5db548d2a added descriptions for WorldEnvironment node in documentation
(cherry picked from commit 5fdc7ac88a)
2017-05-26 18:54:22 +02:00
Rémi Verschelde 9391641356 Fix URLs to moved docs pages
Closes #8266.

(cherry picked from commit 4989cc3617)
2017-05-26 17:36:43 +02:00
Pedro J. Estébanez 7b192313b3 Add extended check option to GDFunctionState::is_valid() 2017-05-17 14:47:17 +02:00
Pedro J. Estébanez 5e4216fd49 Fix one-way-collision detection
Also, change the explanation of the one-way collision direction in the docs to reflect how it is actually used by the engine and clear up the usage of the "max depth" property.
2017-05-11 02:45:48 +02:00
Rémi Verschelde 52f91cf139 Doc: Drop unmaintained converters for html, textile, dokuwiki
(cherry picked from commit 5d10b8fabd)
2017-05-07 12:13:10 +02:00
Rémi Verschelde 54b0c2363d Doc: Remove unused tool translation
(cherry picked from commit 091b30d4cb)
2017-05-06 22:55:44 +02:00
Rémi Verschelde e9b045d9e5 Add "Godot Engine contributors" copyright line 2017-04-08 00:45:24 +02:00
Rémi Verschelde 6f489fbb2e classref: Sync with current source 2017-04-07 22:08:11 +02:00
Pedro J. Estébanez 9f8f8efa67 Add priority to samples in a library 2017-04-06 23:59:49 +02:00
Fabio Alessandrelli cab9ad7657 Update docs reference for TCP_Server::listen and UDPPacketPeer::listen
(cherry picked from commit e5e4e7b6a9)
2017-03-22 21:05:02 +01:00
CrazyGuy108 10119f7b04 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.

(cherry picked from commit 9589936d6e)
2017-03-19 00:42:34 +01:00
Chris Bradfield c01c5fce59 grammar fixes, it's -> its
(cherry picked from commit 10176228b2)
2017-03-18 19:55:34 +01:00
Thaer Razeq 886f150b4a - Added `tab_selected` signal which has same behavior as `tab_changed`
lest breaking current API, though, it is noted in the documentation of TabContainer
class, of the upcoming Godot (v3.0+) changes in behavior, that is, `tab_selected` will be
emitted for selecting any tab, while `tab_changed` only if a tab changes.
- Added `get_previous_tab()`. Which returns the previous shown tab. **Note:** In Godot v3.0+, only `tab_changed` can modify previous tab index.
- Add documentation for the added function and signals. Fix a typo too.
2017-03-05 03:26:53 -06:00
Rémi Verschelde b65e553440 classref: Sync with current source 2017-01-21 14:06:17 +01:00
Bruno Ortiz 4f35fdd1e3 Exposing edit_resource method of EditorNode in the EditorPlugin (#7355)
(cherry picked from commit 7e0d0d0bb9)
2017-01-12 19:15:30 +01:00
Wilhem Barbier 0b6d4e92b5 Add the 'finished' signal to AnimatedSprite
(cherry picked from commit f6262fde11)
2017-01-12 19:15:30 +01:00
Rémi Verschelde d8223ffa75 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!

(cherry picked from commit c7bc44d5ad)
2017-01-12 19:15:30 +01:00
Ivan P. Skodje 0701e7c2d8 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

(cherry picked from commit da950cd0f2)
2017-01-12 19:15:28 +01:00
Jerome67000 a8bc2f64ad doc improvement for get_colliding_bodies() methods
(cherry picked from commit 3cd5c86b1a)
2017-01-12 19:15:27 +01:00
romeojulietthotel 1a41d3351a Correct description for the return values from get_status. (#7137)
(cherry picked from commit f8d523b68b)
2017-01-12 19:15:26 +01:00
Kazuo256 b56c00cc56 Add Array.front() and Array.back()
(cherry picked from commit bf4fda64fd)
2017-01-12 19:15:26 +01:00
Emmanuel Leblond 39ce4a49fa Add Node2D's set_global_rot get_global_rot set_global_rotd get_global_rotd set_global_scale get_global_scale methods. 2017-01-10 17:15:28 +01:00