summaryrefslogtreecommitdiff
path: root/scene/2d
AgeCommit message (Collapse)Author
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
2023-01-18Bring back TileMap::get_cells_by_idGilles Roudière
2023-01-18Avoid recreating TileMap internals when selecting itGilles Roudière
2023-01-15Update PathFollow2D when curve is changedTomasz Chabora
2023-01-12Remove normal_map from MeshInstance2D and MultiMeshInstance2Dclayjohn
2023-01-11Tweak NavigationAgent2D defaultssmix8
Tweaks default values for NavigationAgent2D to work better out of the box within a new 2D project using default resolution.
2023-01-10Merge pull request #70716 from ↵Rémi Verschelde
Calinou/particles-tweak-animation-offset-property-hint Tweak particles animation offset property hint to allow more precise values
2023-01-08Merge pull request #70463 from DarkKilauea/nav-server-constRémi Verschelde
[4.x] Rework const on NavigationServer methods
2023-01-08Merge pull request #69809 from KoBeWi/runtime_enabler_2dRémi Verschelde
Fix VisibleOnScreenEnabler disabling in editor
2023-01-07Rework const on NavigationServer methodsJosh Jones
`const` is used on all methods, even when they cause modification of the server. This reworks the methods of the server to only use `const` on method that don't change the state of the server.
2023-01-07Merge pull request #36301 from KoBeWi/daddy_nodeRémi Verschelde
Add reparent methods to Node
2023-01-07Error when removing a phycics node during a physics callbackJuan Linietsky
* This behavior is not allowed, the error text suggests using call_deferred(). * Added a check in Node::remove_child to prevent future crashes of this type. * Fixed a performance regression introduced by #36244. Fixes #63718, probably other crashes too.
2023-01-05Merge pull request #65609 from dalexeev/animated-spriteRémi Verschelde
`AnimatedSprite{2D,3D}` improvements
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05`AnimatedSprite{2D,3D}` improvementsDanil Alexeev
* Add support for individual frame duration to `SpriteFrames`. * Various minor improvements.
2023-01-03Merge pull request #70840 from MewPurPur/get-point-count-instead-of-pointsRémi Verschelde
Rename `get_points_count()` to `get_point_count()` in Gradient
2023-01-02Rename get_points_count() to get_point_count() internallyVolTer
2022-12-29Add safety-checks before some servers `free()`Adam Scott
2022-12-29Tweak particles animation offset property hint to allow more precise valuesHugo Locurcio
Values above 1.0 (or below 0.0) are no longer allowed, as these make no visual difference whatsoever (and may cause particles not to appear at all if looping is disabled).
2022-12-22Use TileSet navigation layer layers when TileMap generates navigation polygonsreejk
2022-12-21Merge pull request #69688 from smix8/navagent_stop_origin_automove_4.xRémi Verschelde
Stop NavigationAgents without a target from moving to world origin
2022-12-21Merge pull request #67111 from DarkKilauea/nav-queries-linkRémi Verschelde
Added signal to NavigationAgent when entering a link
2022-12-20Fix double get_singleton()Quentin Guidée
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
2022-12-20Merge pull request #70244 from DarkKilauea/nav-fix-abbrev-compatRémi Verschelde
[4.x] Fix typo and ensure backwards compatibility for changed property names
2022-12-20Fix typo and ensure backwards compatibility for changed property namesJosh Jones
Changes to the name of the `navmesh` and `navpoly` properties on `NavigationRegion` caused navigation data to be lost on load. This PR creates uses `_set`/`_get` to handle compatibility with the older names on load, preserving the data. Also fixes a typo on `get_vertices_per_polygon` in `NavigationMesh`, and renames the property to remove the `polygon_` prefix which doesn't match the setter/getter. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-12-19Merge pull request #70263 from reduz/restore-rotation_degreesRémi Verschelde
Restore 'rotation_degrees' properties.
2022-12-19TileSet Simplify tile shape polygonskleonc
2022-12-19Restore 'rotation_degrees' properties.Juan Linietsky
By popular demand, restoring the helper properties to rotate objects in degrees. Affected are local and global rotations for: * Node2D * Node3D * Control
2022-12-17Add support for emitting a signal when entering a NavLinkJosh Jones
2022-12-17Fix Navigation API abbreviations inconsistencysmix8
Schema for navigation to name user facing API with "navigation" without abbreviation and e.g. NavigationServer internals with abbr "nav".
2022-12-17Move NavigationPolygon to dedicated resource filesmix8
Moves NavigationPolygon resource class from NavigationRegion2D file to a dedicated file in resource folder.
2022-12-17Merge pull request #70118 from clayjohn/tilemap-layersRémi Verschelde
Use large offset for tilemap layer level canvas items
2022-12-15Queue redraw when MultiMesh instance transform changesbmolyneaux
Fixes: #66849 This is a 4.0 version of #54899.
2022-12-15Use large offset for tilemap layer level canvas itemsclayjohn
This matches the logic in _rendering_update_dirty_quadrants
2022-12-15Remove a confusing TileMap warningGilles Roudière
2022-12-14Fix VisibleOnScreenEnabler disabling in editorkobewi
2022-12-13Merge pull request #70003 from clayjohn/GLES3-ccRémi Verschelde
Various fixes and documentation for CanvasGroup
2022-12-13Various fixes and documentation for CanvasGroupclayjohn
Properly apply custom materials with CanvasGroups in the GLES3 backend Properly blur backbuffer when using a partial rect in forward_plus and gl_compatibility renderers Properly set fit_margin when clear_margin is set Fix shader error during backbuffer clear in mobile renderer
2022-12-12Remove single-element groups from GPUParticles2Dkobewi
2022-12-12Merge pull request #69629 from smix8/agent_wild_callback_pointer_4.xRémi Verschelde
Fix Navigation agent callback wild pointer crash
2022-12-12Fix Navigation agent callback wild pointer crashsmix8
Fixes crash in sanitizer builds when callback agent or object are already freed.
2022-12-12Merge pull request #69950 from kleonc/tile-map-const-refs-for-the-winRémi Verschelde
`TileMap` Pass some parameters by `const &` instead of by value