summaryrefslogtreecommitdiff
path: root/scene/2d
AgeCommit message (Collapse)Author
2021-02-01Merge pull request #37547 from aaronfranke/tauRémi Verschelde
Use Math_TAU and deg2rad/etc in more places and optimize code
2021-01-29Use real_t in physics nodesAaron Franke
2021-01-15Merge pull request #42713 from madmiraal/fix-42614Rémi Verschelde
Update area-body_shape_entered-exited signal documentation.
2021-01-13Merge pull request #45102 from nekomatata/fix-update-shape-dataRémi Verschelde
Fix collision shape update when changing shape properties
2021-01-12Update PolyPartition / Triangulator libraryAaron Franke
2021-01-12Fix collision shape update when changing shape propertiesPouleyKetchoupp
This change does two things: 1. Properly update the internal shape data using _update_in_shape_owner when updating a shape (in 2D it was resetting one way collision) 2. Avoid unnecessary updates when calling set_shape with the same shape, which happens each time a shape property is modified (e.g shape.extents.x = ...) Fixes #45090
2021-01-09Rename the final parameter of area_shape_entered-exited local_shape.Marcel Admiraal
2021-01-09Use Math_TAU and deg2rad/rad2deg in more places and optimize codeAaron Franke
2021-01-03Remove memory leak in Canvas GroupRafał Mikrut
2021-01-01Merge pull request #44839 from qarmin/fix_crash_tile_mapRémi Verschelde
Do not iterate over map when removing its values
2021-01-01Update copyright statements to 2021Rémi Verschelde
Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
2020-12-31Add signal to inform joint that body has exited treeMarcel Admiraal
2020-12-31Do not iterate over map when removing its valuesRafał Mikrut
2020-12-28Merge pull request #44183 from madmiraal/box_shape-sizeRémi Verschelde
Use a size Vector for adjusting the size of Rectangles and Boxes
2020-12-28Merge pull request #44149 from madmiraal/rename-tangent-orthogonalRémi Verschelde
Rename Vector2.tangent() to Vector2.orthogonal()
2020-12-28Merge pull request #44232 from madmiraal/rename-camera2d-drag-offsetRémi Verschelde
Rename Camera2D offset_h and offset_v properties
2020-12-28Rename Camera2D offset_h and offset_v propertiesMarcel Admiraal
2020-12-28Rename empty() to is_empty()Marcel Admiraal
2020-12-25Merge pull request #44640 from nekomatata/joint2d_update_body_transformsRémi Verschelde
Update body transforms on joint2D setup
2020-12-23Update body transforms on joint2D setupPouleyKetchoupp
Body transforms from physics are used to setup the joint and they are only updated before the physics step by default. Without forcing the transform update, joints could use a previous position if the body's position was set after it was added to the scene. 3D physics is not affected by this issue.
2020-12-23Rename Control margin to offsetMarcel Admiraal
2020-12-21Merge pull request #44300 from KoBeWi/🧹🧹Rémi Verschelde
Move initialization of some classes to headers
2020-12-16Fix camera2d zoom when set to zero (causing ERROR: affine_invert: Condition ↵Dominik 'dreamsComeTrue' Jasiński
' det == 0 ' is true.) Fixes: #41873
2020-12-11Move initialization of some classes to headersTomasz Chabora
2020-12-09Cleanup unused engine codeTomasz Chabora
2020-12-08Use rectangle size instead of extents for Shape dimensionsMarcel Admiraal
2020-12-06Rename Vector2.tangent() to Vector2.orthogonal()Marcel Admiraal
2020-12-04Rename Particles/ParticlesMaterial "Flags" enum to "ParticleFlags"Aaron Franke
"Flags" was a bit too ambiguous, and in 3D it hid GeometryInstance.Flags
2020-12-04Rename LightOccluder2D light_mask to occluder_light_maskAaron Franke
2020-12-04Rename PathFollow2D rotate boolAaron Franke
2020-11-27Remove RigidBody weight propertyMarcel Admiraal
2020-11-26Implement signed distance fields for 2D shadersreduz
2020-11-25Check joint nodes and generate configuration warning messages.Marcel Admiraal
2020-11-22fixed Camera2D rotation with non-square zoomgreenfox
2020-11-16Remove empty lines around braces with the formatting scriptAaron Franke
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
2020-11-04doc: Sync classref with current source + fixup some bindingsRémi Verschelde
Includes various changes triggered by the refactoring of method bindings.
2020-11-04Implement DirectionalLight2Dreduz
Also separated Light2D in PointLight2D and DirectionalLight2D. Used PointLight2D because its more of a point, and it does not work the same as OmniLight (as shape depends on texture). Added a few utility methods to Rect2D I needed.
2020-10-30Refactor pixel snapping.reduz
-Rename pixel_snap to snap_2d_to_vertices -Added snap_2d_to_transforms which is more useful Fixes #41814 Solves proposal https://github.com/godotengine/godot-proposals/issues/1666 Supersedes #35606, supersedes #41535, supersedes #41534
2020-10-28Implement CanvasGroup and CanvasItem clippingreduz
-Allows merging several 2D objects into a single draw operation -Use current node to clip children nodes -Further fixes to Vulkan barriers -Changed font texture generation to white, fixes dark eges when blurred -Other small misc fixes to backbuffer code.
2020-10-27fix(sprite2d): Rect is not handling pixel snapEric Tuvesson
related https://github.com/godotengine/godot/issues/42985
2020-10-26Merge pull request #43075 from Xrayez/color-ramp-to-gradientRémi Verschelde
Fixup `ColorRamp` to `Gradient` renames
2020-10-25Fixup `ColorRamp` to `Gradient` renamesAndrii Doroshenko (Xrayez)
2020-10-24Refactored 2D shader and lighting systemreduz
-Removed normal/specular properties from nodes -Create CanvasTexture, which can contain normal/specular channels -Refactored, optimized and simplified 2D shaders -Use atlas for light textures. -Use a shadow atlas for shadow textures. -Use both items aboves to make light rendering stateless (faster). -Reorganized uniform sets for more efficiency.
2020-10-18Refactor MethodBind to use variadic templatesreduz
Removed make_binders and the old style generated binders.
2020-10-13Remove old RigidBody layers property and methods.Marcel Admiraal
2020-10-02Remove area or body from map before emitting signals.Marcel Admiraal
2020-10-02Better validate CollisionShape3D config. warning after #38743Rémi Verschelde
Relates to #42479, though I don't think it would crash in the master version.
2020-10-01Merge pull request #38743 from arrowinaknee/node-config-warningsRémi Verschelde
Update all get_configuration_warning() to retrieve warnings from the parent
2020-09-24Merge pull request #41934 from timothyqiu/parallax-ignore-zoomRémi Verschelde
Fixes ParallaxLayer offset when camera zoom is ignored