summaryrefslogtreecommitdiff
path: root/scene/2d/area_2d.cpp
AgeCommit message (Collapse)Author
2019-08-09Remove ERR_EXPLAIN from scene/* codeTomasz Chabora
2019-07-31Tweak Area and PhysicsBody damping setting hints for consistencyHugo Locurcio
This partially addresses #19182.
2019-06-24Area2D: Fix argument type of body_* signalsRémi Verschelde
Those signals receive either a PhysicsBody2D or a TileMap object, and what the emitting method checks internally is only that the object is a Node. In theory any Node could go through these signals if they talk directly to the PhysicsServer2D. Also updated docs. Fixes #27076. Might need further (compat breaking) improvement as this API is a bit confusing, cf. #24739.
2019-04-15Removed unnecessary error from _area_inoutCatThingy
The error was previously removed from _body_inout for the same reason. Fixes #28022.
2019-03-02Make query checks less agressive, fixes #24694Juan Linietsky
2019-02-22Check that area is inside tree besides checking that queries are flushed, ↵Juan Linietsky
fixes #26148
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-11-28Removed error that should not be an error, fixes #21088Juan Linietsky
2018-11-16-Make sure monitorable cant be flipped while flushing queries, fixes #17330Juan Linietsky
-Also added set_deferred, this was missing.
2018-11-08-Moved EditorDefaultValue to ClassDB, made it coreJuan Linietsky
-Removed one and zero hints for properties, replaced by default value
2018-05-16Allow editing of some unbound properties when hinted (or no range hinted)Juan Linietsky
2018-02-07Update an outdated method name in error messageronroniv
set_enable_monitoring -> set_monitoring
2018-01-12Renamed tree_exited to tree_exiting. tree_exited is now used for actual out ↵Juan Linietsky
of tree notification. Updated doc accordingly.
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-07Style: Apply new clang-format 5.0 style to all filesRémi Verschelde
2017-09-22Changed get_audio_bus and set functions to get_audio_bus_name and setMarcelo Paez
and edited docs for Area2D due to renaming o get_audio_bus and set_audio_bus
2017-09-11Updated Area2D docs and added enum constants to scriptingWill Nations
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-24Convert Object::cast_to() to the static versionHein-Pieter van Braam
Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-07Makes all Godot API's methods Lower CaseIndah Sylvia
2017-07-10Remove warnings about benign situationsPedro J. Estébanez
2017-06-18-Added AudioStreamPlayer2D, for 2D positional soundJuan Linietsky
-Added ability for Area2D to redirect positional sound to a specific audio bus
2017-06-14Refactor layer_mask to collision_layerPoommetee Ketson
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
2017-03-04Merge pull request #7508 from lonesurvivor/area2d-fixRémi Verschelde
Fix two problems with Area2D and remove_child()
2017-02-13Rename the _MD macro to D_METHODHein-Pieter van Braam
This new name also makes its purpose a little clearer This is a step towards fixing #56
2017-02-13Remove use of _SCS from ADD_METHODHein-Pieter van Braam
This saves typing and is a step towards fixing #56
2017-01-25When overlappinng Area2Ds are removed with remove_child(), _enter_tree and ↵lonesurvivor
_exit_tree signals are now properly disconnected upon removal
2017-01-16Style: Fix statements ending with ';;'Rémi Verschelde
2017-01-13rename monitoring functionsJuan Linietsky
2017-01-12Renamed most signals so they refer to:Juan Linietsky
-An action being requested to the user in present tense: (ie, draw, gui_input, etc) -A notification that an action happened, in past tense (ie, area_entered, modal_closed, etc).
2017-01-10It is now possible to name layers of different kinds!Juan Linietsky
2017-01-04-Conversion of most properties to a simpler syntax, easier to use by scriptJuan Linietsky
-Modified help to display properties GDScript can still not make use of them, though.
2017-01-02ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky
Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
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!
2016-09-29Fix #6480, area duplicated paramPawel Kowal
2016-05-23Modified damp rangesDaniel J. Ramirez
2016-05-12classref: Fixed return types in Area and Area2D (#4635)MattUV
2016-01-12-Properly lock and and warn about switching off contact monitoring, fixes #3041Juan Linietsky
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-12-31remove error print in area collision, should be a valid situation, closes #2463Juan Linietsky
2015-12-14New and corrected are override modes.Ovnuniarchos
2015-06-29Several performance improvements, mainly in loading and instancing scenes ↵Juan Linietsky
and resources. A general speedup should be apparent, with even more peformance increase when compiling optimized. WARNING: Tested and it seems to work, but if something breaks, please report.
2015-06-07Merge pull request #1932 from Faless/gravity_distance_fullJuan Linietsky
Calculate gravity based on distance from body to gravity point
2015-06-06new file dialog!Juan Linietsky
-ItemList control for easier lists/thumbnails -New file dialog, with support for thumbnails, favorites, recent places, etc -Moved .fscache out of the project, no more bugs due to committed/pulled .fscache! -Dir dialog now sorts directories
2015-05-18Calculate gravity based on distance from body to gravity point (2D)Fabio Alessandrelli
2015-05-03-new collision layer & mask system for 2D, for more flexible collision maskingJuan Linietsky
2015-04-18Updated copyright year in all headersJuan Linietsky