summaryrefslogtreecommitdiff
path: root/scene/2d
AgeCommit message (Collapse)Author
2017-08-25added finished signals to audio stream players, fixes #9928Juan Linietsky
2017-08-25Removed old fp_adjust code that conflicts with clipped rects, fixes #9925Juan Linietsky
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-22Change order of Null check for ParallaxLayerHein-Pieter van Braam
The change in #10524 subtly changes the behavior of set_motion_scale() and set_motion_offset() if the ParallaxLayer does not have a parent node. Previously it would still set the corresponding property, but after this change the property change would be discarded. I'm not entirely sure if this actually matters as there doesn't appear to be any code that picks up this change if the ParallaxLayer gets re-parented later, but it's better to not change behavior regardless.
2017-08-22Add null check to ParallaxLayer get_parent() callsHein-Pieter van Braam
This fixes #10515
2017-08-22Merge pull request #10340 from Rubonnek/remove-unnecessary-assignmentsRémi Verschelde
Removed unnecessary assignments
2017-08-21Merge pull request #10351 from neikeq/enums-are-for-the-weakJuan Linietsky
ClassDB: Provide the enum name of integer constants
2017-08-21Removed unnecessary assignmentsWilson E. Alvarez
2017-08-20ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry
2017-08-20Merge pull request #10319 from neikeq/pr-engine-editor-hintJuan Linietsky
Adds Engine::is_editor_hint() method
2017-08-19Added polygon antialiasing, but it does not work on nvidia. Will have to try ↵Juan Linietsky
something else..
2017-08-19Removes editor_hint from SceneTreeIgnacio Etcheverry
2017-08-16Synchronize parameter names in definition and declarationTwistedTwigleg
Fixes #10244.
2017-08-16Fix double point in Navigation2DPedro J. Estébanez
Fixes #10324.
2017-08-14Merge pull request #10339 from bojidar-bg/x-fix-scale-conflictIgnacio Etcheverry
Rename Light2D::scale to texture_scale, so it doesn't conflict
2017-08-14Rename Light2D::scale to texture_scale, so it doesn't conflictBojidar Marinov
2017-08-13Merge pull request #10298 from nhold/kinematic-body-2d-_move-fixes-#10107Rémi Verschelde
Fix missing and incorrect values in return value of _move method
2017-08-12Disabling Particles::one_shot restarts emissionZher Huei Lee
Fixes #10181
2017-08-12Fix missing and incorrect values in return value of _move methodNathan Hold
2017-08-11Merge pull request #9987 from Rubonnek/move-members-to-initilization-listRémi Verschelde
Moved member variables from constructor to initialization list
2017-08-10Fixes method definitions with extra number of argumentsIgnacio Etcheverry
2017-08-10Removes type information from method bindsIgnacio Etcheverry
2017-08-08Moved member variables from constructor to initialization listWilson E. Alvarez
2017-08-07Ability to pause particles, closes #3675Juan Linietsky
2017-08-07Merge pull request #10141 from ISylvox/lower_case_godot_apiRémi Verschelde
Makes all Godot API's Methods lower_case
2017-08-07Merge pull request #10109 from eska014/init-particles2d-draw-orderRémi Verschelde
Initialize Particles2D draw order property
2017-08-07Makes all Godot API's methods Lower CaseIndah Sylvia
2017-08-05few bugs fixed thanks to explicit bool constructor and clang.Juan Linietsky
explicit bool constructor has thus now been removed, as it served it's mission!
2017-08-05Merge pull request #10116 from neikeq/prop_method_ambiguitiesJuan Linietsky
Renames properties and methods to avoid ambiguities
2017-08-05Renames properties and methods to avoid ambiguitiesIgnacio Etcheverry
- Method Node2D.scale(Vector2) renamed to Node2D.apply_scale(Vector2) - Property BaseButton.is_pressed renamed to BaseButton.pressed
2017-08-05emit signal properly when frame has changed in autoplay, fixes #7730Juan Linietsky
2017-08-05Properly update frame range after modifying the vframe/hframes, closes #7624Juan Linietsky
2017-08-05Warn about resizing a rigidbody (2D or 3D), covers the most common cases, ↵Juan Linietsky
closes #7615
2017-08-05Initialize Particles2D draw order propertyL. Krause
2017-08-03Merge pull request #10040 from Hassan-A/getCells3.0Rémi Verschelde
Added get_used_cells_by_id method 3.0
2017-08-02Added get_used_cells_by_id method 3.0Hassan A
2017-08-01Merge pull request #8209 from robertdhernandez/Texture-Region-Editor-SyncRémi Verschelde
Texture region now updates when changing an Atlas region rect
2017-07-24Merge pull request #9791 from bojidar-bg/6087-add-global-local-convRémi Verschelde
Add .to_local/.to_global methods on Node2D and Spatial
2017-07-24expose missing CollisionShape API for CollisionObjectJakub Grzesik
2017-07-24Merge pull request #9764 from Noshyaar/pr-fix2Rémi Verschelde
Add object type hint for docs
2017-07-23Add object type hint for docsPoommetee Ketson
2017-07-23Add .to_local/.to_global methods on Node2D and SpatialBojidar Marinov
Those are just helpers around get_global_transform().affine_inverse().xform() and get_global_transform().xform(). Closes #6087
2017-07-23Sprite: fix disconnect nonexistent signalPoommetee Ketson
2017-07-19Add object type hint for docsPoommetee Ketson
2017-07-11Merge pull request #9355 from TwistedTwigleg/Remote_node_enhancementRémi Verschelde
RemoteTransform and RemoteTransform2D enhancements
2017-07-10Merge pull request #9592 from RandomShaper/remove-warnsThomas Herzog
Remove warnings about benign situations
2017-07-10Remove warnings about benign situationsPedro J. Estébanez
2017-07-05Added the following features to RemoteTransform and RemoteTransform2D:TwistedTwigleg
- Added the ability to toggle changes in position, rotation, and scale - Added the ability to toggle changes in either local or global coordinates
2017-07-05Use the gravity constant to calculate weightsJohan Manuel
2017-07-03Fixed set_global_scale in Node2D.TwistedTwigleg