summaryrefslogtreecommitdiff
path: root/scene/2d
AgeCommit message (Collapse)Author
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
2023-01-29Improve stroke drawing on 2D collision shapesDanil Alexeev
2023-01-29Fix AnimatedSprite play() don't redraw immediatelySilc Renew
2023-01-28Merge pull request #72228 from DarkKilauea/nav-agent-callableRémi Verschelde
Use Callable for Navigation Agent callbacks
2023-01-28Merge pull request #72233 from TokageItLab/audio-blendingRémi Verschelde
Implement blending audio feature to AnimationTree
2023-01-28Merge pull request #72157 from Kabiirk/GPUParticles2D-collision-UI-FixRémi Verschelde
Fixing Inspector Property UI for GPUParticle2D collision_base_size [w.r.t Issue#71942]
2023-01-28Implement blending audio feature to AnimationTreeSilc Renew
2023-01-27Use Callable for Navigation Agent callbacksJosh Jones
2023-01-27Merge pull request #72129 from groud/unclamp_texture_originRémi Verschelde
Rename texture_offset and unclamp it
2023-01-27Rename texture_offset and unclamp itGilles Roudière
2023-01-27Merge pull request #71907 from TokageItLab/change-animated-sprite-apiRémi Verschelde
Make `AnimatedSprite`'s playback API consistent with `AnimationPlayer`
2023-01-27Fixing Inspector Property UI for GPUParticle2D collision_base_size[Issue#71942]Kabiir
2023-01-26Merge pull request #69689 from smix8/navagent_rename_location_4.xRémi Verschelde
Rename Navigation uses of 'location' to 'position'
2023-01-26Rename Navigation uses of 'location' to 'position'smix8
Contrary to the entire rest of the engine NavigationAgent's and NavigationLinks decided to deal with locations instead of positions.
2023-01-26Make AnimatedSprite's playback API consistent with AnimationPlayerSilc Renew
2023-01-24PropertyUsage: Rename "DO_NOT_SHARE_ON_DUPLICATE" to "ALWAYS_DUPLICATE"Aaron Franke
2023-01-23Merge pull request #71801 from akien-mga/codespell-en-GB-to-en-USRémi Verschelde
Convert en_GB spelling to en_US with codespell
2023-01-23Convert en_GB spelling to en_US with codespellRémi Verschelde
2023-01-23Simplify AudioStreamPolyphonicJuan Linietsky
* Make AudioStreamPolyphonic not requre a polling thread (simpler, faster) * Improve error reporting in AudioStreamPlayer*::get_stream_playback() error reporting to improve usability.
2023-01-21Use range iterators in LocalVector loopskobewi
2023-01-21Merge pull request #65726 from KoBeWi/celllessRémi Verschelde
Don't print error in `get_cell_tile_data()`
2023-01-21Merge pull request #71021 from reduz/prevent-physics-callback-removalRémi Verschelde
Error when removing a physics node during a physics callback
2023-01-18Merge pull request #71630 from groud/fix_tilemap_layer_delete_undoRémi Verschelde
Fixes TileMap undo not restoring tiles
2023-01-18Fixes TileMap undo not restoring tilesGilles Roudière
2023-01-18Merge pull request #71615 from groud/bring_back_get_cells_by_idRémi Verschelde
Bring back TileMap::get_cells_by_id