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