summaryrefslogtreecommitdiff
path: root/scene/2d
AgeCommit message (Collapse)Author
2023-05-18Make `TouchScreenButton` connections reference countedNinni Pipping
Prevents errors when assigning the same texture to both slots (cherry picked from commit 0648cc65b2c9bd8a48f3da74ea2c17898cd2b425)
2023-05-12Light3D show scaling warning immediatelyVolTer
(cherry picked from commit 818d57b5b4f01ffc05968a3a1a2d210683c56d0a)
2023-04-26Fix TouchScreenButton not redrawn when texture changesHaoyu Qiu
(cherry picked from commit a15126915d028a4487e6e9fb4b901b73f5cec3f1)
2023-04-26TileMap Fix rendering odd-sized tileskleonc
(cherry picked from commit c49a7feae3418d0732369b203d0bc9e28723b9db)
2023-04-24Use angle_rand to calculate base_angle in particles process materialclayjohn
(cherry picked from commit 821917ba9f30b036ef7f43664db3f09d33f59109)
2023-04-07Fix NavigationObstacles not being added to avoidance simulationsmix8
Fixes NavigationObstacles not being added to avoidance simulation. (cherry picked from commit aadf33efd8a79a038b842dc91c63784302efd753)
2023-04-07Fix AudioStreamPlayer2D crash when PhysicsServer2D runs on threadsmix8
Fixes AudioStreamPlayer2D crash when PhysicsServer2D runs on thread due to empty PhysicsSpace (cherry picked from commit a5351086b0eafa659c4f4c88471d183cd991b45e)
2023-04-07Fix RemoteTransform2D could fail to update AnimatableBody2D's position or ↵Rindbee
rotation Configure the transform per condition, and then only set it once to prevent multiple `NOTIFICATION_LOCAL_TRANSFORM_CHANGED` notifications from being sent. (cherry picked from commit 100b4b1f287600bde9c4f2704c2addbb3d65448e)
2023-04-07Expose NavigationAgent path postprocessing and pathfinding algorithm optionssmix8
Exposes the path postprocessing and pathfinding algorithm options of the NavigationAgent internal NavigationPathQueryParameters object. (cherry picked from commit 6e324bb341c795905085e25e7f7c153d89949fa9)
2023-03-30Update GPUParticles2D/3D speed scale on ENTER_TREEBrian Long
Fix for https://github.com/godotengine/godot/issues/75218 Pause notifications are not sent when a node is added as a child. So GPUParticles2D should also obey its can_process status on ENTER_TREE, not just PAUSED/UNPAUSED. (cherry picked from commit 4652fbd09e81741a146c7dd1dcc89bf4235bdb75)
2023-03-30Exposes the apply_floor_snap function to allow a snap to be made regardless ↵fabriceci
of velocity. (cherry picked from commit 1381e6da4f695323853b24cf8d3632604b629133)
2023-03-27Port robust signal (dis)connection to ShapeCast2DRicardo Buring
Ported from ShapeCast3D. (cherry picked from commit 5bed055cdd5180b4c5d07f07a2a58644a3d1ffc2)
2023-03-27Fix `AnimatedSprite2D` autoplay warningNinni Pipping
Changing of autoplay when changing `SpriteFrames` is not done by the user and warning is unhelpful (cherry picked from commit 4d4342e018367499c6b6709e6dc3ca60c4f3dd7a)
2023-03-16Allow negative NavigationAgent2D path debug line_width for thin linessmix8
Allows the line_width for NavigationAgent2D path debug to go negativ for thin line rendering. (cherry picked from commit f6a10c0565e32e0170bcce71635d8bad16077d1d)
2023-03-13Notify child controls when BackBufferCopy's rect changedHaoyu Qiu
(cherry picked from commit 602a0d2fbc84d598cffc79eccd5110f650b6e3c9)
2023-03-13Fix Camera2D position smoothing properties not being groupedMarcus Elg
(cherry picked from commit a835dfd96d2a758fb194237954f0d4824ff08e05)
2023-02-26Add warnings for unsupported features in mobile and gl_compatibility backendsclayjohn
2023-02-24Fix custom viewports in Camera2Dkobewi
2023-02-19Remove visual limit for damping in CPUParticlesAlbin
Issue #56324 notes that you may can't set the damping property of CPUParticles2D to anything more that 100 in the editor inspector while you may set it to anything in code, this is considered a bug and changed in this commit
2023-02-17Remove deprecated methods from Bone2DYuri Sizov
- also add them to the project convertor
2023-02-17Merge pull request #70515 from stmSi/fix-hanging-audio-pitch-scaleRémi Verschelde
Fix hanging if audiostream's pitch_scale is NaN
2023-02-17Merge pull request #73470 from Sauermann/fix-touch-screen-button-emulatedYuri Sizov
Remove device-id restriction from `TouchScreenButton` input events
2023-02-17Remove device-id restriction from `TouchScreenButton` input eventsMarkus Sauermann
Remove the restriction that only devices with id 0 are used for `TouchScreenButton`-Input events. This allows emulated events to be used for TouchScreenButton.
2023-02-16Tweak NavigationAgent3D defaultssmix8
Tweaks default values for NavigationAgent3D to work better out of the box within a new 3D project.
2023-02-16Merge pull request #73229 from smix8/navlink_global_positions_4.xRémi Verschelde
Add NavigationLink helper functions for global positions
2023-02-14Add NavigationLink helper functions for global positionssmix8
Adds helper functions to set the links start and end position with global positions or get them as global positions. Adds global start and end position for the navigation link to the 'link_reached' signal of NavigationAgent. That signal gets emitted when a navigation link waypoint is reached. Requires that 'owner' meta data is enabled on the NavigationAgent.
2023-02-14Fix TileMap NavigationServer 'Invalid ID' errorsmix8
Fixes NavigationServer 'Invalid ID' error of the TileMap. The issue was not caused directly by the TileMap but with the late call to get_world_2d()->get_navigation_map() while everything is shut down abruptly e.g. game window closed or Editor "Reload Saved Scene" function.
2023-02-13Merge pull request #73018 from smix8/fix_multilayered_tilemap_navigation_4.xRémi Verschelde
Fix navigation support for multilayered TileMaps
2023-02-13Fix 2D navigation debug visuals ignoring half the ProjectSettingssmix8
Fixes that NavigationRegion2D and TileMap debug visuals ignored more or less half the ProjectSetting. E.g. random color could not be disabled, edges did not display.
2023-02-11Merge pull request #73069 from brianwinterpixel/bugfix/linebuilder_box_uvsRémi Verschelde
Fix Line2D UVs when using BOX end cap mode
2023-02-11Merge pull request #73063 from ↵Rémi Verschelde
KoBeWi/it_exited_the_tree_but_changed_its_mind_and_broke_instead Fix camera reparenting
2023-02-11Strip name prefix of navigation agent debug properties in the inspectorHaoyu Qiu
2023-02-10Fix Line2D UVs when using BOX end cap modeBrian Semrau
2023-02-10Fix camera reparentingkobewi
2023-02-10Fix navigation support for multilayered TileMapssmix8
Fixes support for multilayered TileMaps by creating dedicated navigation maps for each layer.
2023-02-09Merge pull request #72947 from DarkKilauea/nav-fix-avoidance-callbackRémi Verschelde
Fix missing avoidance updates when using same velocity
2023-02-08Fix missing avoidance updates when using same velocityJosh Jones
When using avoidance, if you set the same velocity for the agent, you won't get an update from the avoidance system. This changes both the `set_target_position` and `set_velocity` setters to always accept user provided values, even if they are the same. This ensures that repathing and avoidance logic is always run when the user expects.
2023-02-08Fix NavigationAgent debug functions bindings in release buildssmix8
Fixes that certain NavigationAgent debug functions bindings were not available in release builds.
2023-02-02Improve consistency of NavigationAgent settersJosh Jones
2023-02-01Fix Camera2D crasheskobewi
2023-02-01More codespell fixes, do more changes from previous ignore listRémi Verschelde
2023-02-01Merge pull request #71543 from smix8/navigation_agent_debug_4.xRémi Verschelde
Add NavigationAgent Path Debug Visualization
2023-01-31Merge pull request #65698 from KoBeWi/cameramanRémi Verschelde
Rework how current Camera2D is determined
2023-01-31Add NavigationAgent Path Debug Visualizationsmix8
Adds path debug visuals for NavigationAgent2D, NavigationAgent3D and NavigationServer.
2023-01-31Merge pull request #72357 from aaronfranke/area-gravity-unit-distRémi Verschelde
Replace Area gravity point distance scale with unit distance
2023-01-30Merge pull request #72365 from groud/warn_ysort_tilemapRémi Verschelde
Warn when a TileMap layer is Y-sorted but not the TileMap node itself.
2023-01-30Warn when a TileMap layer is Y-sorted but not the TileMap node itself.Gilles Roudière
2023-01-30Merge pull request #72115 from AThousandShips/clip_children_fixRémi Verschelde
Hide `clip_children` for some non-drawn CanvasItems
2023-01-30Hide clip_children for non-drawn CanvasItemsNinni Pipping
2023-01-29Replace Area gravity point distance scale with unit distanceAaron Franke