summaryrefslogtreecommitdiff
path: root/scene/2d
AgeCommit message (Collapse)Author
2022-07-25Code quality: Fix header guards consistencyRémi Verschelde
Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
2022-07-23Merge pull request #63265 from reduz/stream-bpm-supportRémi Verschelde
Implement BPM support in AudioStream files.
2022-07-23Implement BPM supportreduz
Based on #62896, only implements the BPM support part. * Implements BPM support in the AudioStreamOGG/MP3 importers. * Can select BPM/Bar Size and total beats in a song file, as well as edit looping points. * Looping is now BPM aware * Added a special importer UI for configuring this. * Added a special preview showing the audio waveform as well as the playback position in the resource picker. * Renamed `AudioStream::instance` to `instantiate` for correctness.
2022-07-21Fix various typos not caught by codespellluz paz
Revert upstream `core/input/gamecontrollerdb.txt`. Upstream fix: https://github.com/gabomdq/SDL_GameControllerDB/pull/600
2022-07-18Merge pull request #61590 from Haydoggo/path-follow-fixRémi Verschelde
2022-07-17Update camera position when updating camera limitMarcel Admiraal
2022-07-14prevent crash on NaN offset in path_follower 2d and 3dHayden Leete
2022-07-08Account for relative z-indexes when y-sortingXentripetal
2022-07-03Merge pull request #62677 from akien-mga/particles-fix-warnings-updateRémi Verschelde
2022-07-03Particles: Fix missing configuration warning updatesRémi Verschelde
Fixes #33488.
2022-07-03Fix no `hint_string` for `frame` property in `AnimatedSprite`skleonc
2022-06-30Merge pull request #62527 from smix8/navigation_agent_property_groupsRémi Verschelde
Group NavigationAgent properties
2022-06-29Merge pull request #62084 from smix8/path_debug_options_4.xRémi Verschelde
Add Path2D/3D debug options
2022-06-29Group NavigationAgent propertiessmix8
Groups the ill-defined NavigationAgent properties between pathfinding and avoidance to make it more clear which property affects what.
2022-06-24Rename export_range's noslider option to no_sliderMarcus Elg
2022-06-23Fix editor-only visibility for lightsreduz
* Update visibility again for editor-only lights if owner changes. Fixes #26399, supersedes #52327
2022-06-21Allow using CanvasItemMaterial in the TileSet editorHugo Locurcio
Previously, only ShaderMaterial overrides could be added.
2022-06-20Add Path2D/3D debug optionssmix8
Add Path2D/3D debug options.
2022-06-20Merge pull request #62214 from smix8/navigation_layer_bitmask_helpers_4.xRémi Verschelde
2022-06-20Merge pull request #62181 from smix8/navigation_navagent_pathpoint_dist_4.xRémi Verschelde
2022-06-19Add navigation layer bitmask helper functionssmix8
Adds helper functions to work with the navigation layer bitmask.
2022-06-18Add NavigationAgent desired path distancesmix8
Add NavigationAgent desired path distance
2022-06-18Fix `CPUParticles2D.emission_shape` enum hintkleonc
2022-06-17Audio: Expose 2D/3D panning strength parametersEllen Poe
2022-06-15Streamline Navigation layer function names.smix8
Streamline Navigation layer function names.
2022-06-14Add NavigationAgent set_navigation_map() functionsmix8
Add NavigationAgent set_navigation_map() and get_navigation_map() function.
2022-06-14Add Vector2/3 linking to more propertiesFireForge
- Camera2D.zoom - CanvasLayer.scale - ParallaxBackground.scroll_base_scale - ParallaxLayer.motion_scale - Polygon2D.texture_scale - BaseMaterial3D.uv1_scale - BaseMaterial3D.uv2_scale
2022-06-14Add vector value linkingkobewi
Co-authored-by: redlamp <244062+redlamp@users.noreply.github.com>
2022-06-13Fixes terrains for isometric tilemapsGilles Roudière
2022-06-13Merge pull request #61809 from groud/terrain_center_bitRémi Verschelde
2022-06-11Add suffixes to all nodes and resourcesFireForge
2022-06-10Add terrain center bitGilles Roudière
2022-06-10Merge pull request #52415 from deakcor/dev-node2dRémi Verschelde
Fix global properties setters and add global skew for node2d
2022-06-06Add NavigationRegion costs for pathfindingsmix8
Add NavigationRegion costs for pathfinding.
2022-06-02Expose get_mesh() for NavigationPolygon Resourcessmix8
Expose get_mesh() for NavigationPolygon Resources.
2022-06-01Fix NavigationAgent reparent issuessmix8
Fix NavigationAgent reparent issues
2022-05-29Update VisibleOnScreenNotifier2D when rect changedkobewi
2022-05-24Fix global properties and add global skew for node2dVincent D
Renamed parent item variable in node2d global setters and optimize Aligned variable renaming in global setters Optimize node2d global setters Add global skew description in doc Co-Authored-By: Aaron Franke <arnfranke@yahoo.com>
2022-05-23Fix Joint3D and Joint2D warning causing a crashtrollodel
2022-05-22Merge pull request #61235 from smix8/navigation_agent_avoidance_processing_4.xRémi Verschelde
2022-05-20Process NavigationAgent2D/3D avoidance on demand onlysmix8
Changes NavigationAgent avoidance callback to a toggle that is disabled by default. Also fixes a few missing descriptions / wrong warnings.
2022-05-20Add a new HashSet templatereduz
* Intended to replace RBSet in most cases. * Optimized for iteration speed
2022-05-19Use suffixes for units in nodes and resourcesAaron Franke
2022-05-19Merge pull request #61128 from smix8/navigation_agent_process_mode_4.xRémi Verschelde
2022-05-19Use range iterators for RBSet in most casesAaron Record
2022-05-19Add dedicated macros for property name extractionHaoyu Qiu
* Replace case-by-case extraction with PNAME & GNAME * Fix group handling when group hint begins with property name * Exclude properties that are PROPERTY_USAGE_NO_EDITOR * Extract missing ADD_ARRAY*, ADD_SUBGROUP* macros
2022-05-18Add motion parameter to toggle whether recovery is reported as a collisionRicardo Buring
This makes the intent explicit in each use case.
2022-05-18Update NavigationRegion2D when polygons of NavigationPolygon changesmix8
Updates NavigationRegion2D when the NavigationPolygon emits its 'changed' signal due to e.g. polygons altered by script.
2022-05-17Make Navigation Agents and Obstacles respect parent process modesmix8
Temporarily removes agent from navigation map when parent node cannot process due to SceneTree pause and process_mode property. Normal process_mode does not work as other agents would still avoid the paused agents because they were still active on the navigation map and the rvo world. Also fixes potential crash when region_get_map or agent_get_map is called while no map is set.
2022-05-16Fix AnimatedSprite doesn't emit animation_finished when changing playback ↵Haoyu Qiu
direction