summaryrefslogtreecommitdiff
path: root/scene/2d
AgeCommit message (Collapse)Author
2022-11-14Remove redundant Variant-types initializationsMarkus Sauermann
2022-11-07Rename GPUParticles2D/3D's `trail_length_secs` to `trail_lifetime`Hugo Locurcio
The property already has a "seconds" suffix in the inspector. The "lifetime" term makes it more obvious that the property is specified as time, not a distance in units. The property hint now allows manually entering values greater than 10 seconds. The internal rendering value's default now matches the particles nodes' default.
2022-11-04Merge pull request #68222 from groud/fix_corner_terrain_paintingRémi Verschelde
Fix terrain painting in corner-only matching mode
2022-11-03Fix terrain painting in corner-only matching modeGilles Roudière
2022-11-02Merge pull request #68137 from kleonc/shape-cast-get-collider-ridRémi Verschelde
Add `ShapeCast2D/3D::get_collider_rid` method
2022-11-01Add `ShapeCast2D/3D::get_collider_rid` methodkleonc
2022-11-01Move rotation sampling from Path2D to Curve2DYaohua Xiong
The rotation sampling code is moved from Path2D to a new method `sample_baked_with_rotation` on Curve2D.
2022-10-31Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde
Unify usage of GLOBAL/EDITOR_GET
2022-10-31Merge pull request #65452 from timothyqiu/agent-targetRémi Verschelde
Make NavigationAgent `target_location` a property
2022-10-31Merge pull request #67445 from Zylann/rename_queue_deleteRémi Verschelde
Rename queue_delete => queue_free
2022-10-31Merge pull request #67580 from KoBeWi/little_thingsRémi Verschelde
Minor code improvements
2022-10-30Merge pull request #67754 from kleonc/tilemap-fix-collision-shapes-debug-drawMax Hilbrunner
Fix `TileMap` collision shapes debug draw
2022-10-28Merge pull request #67956 from RedMser/safe-velocity-typeClay John
Fix type of `safe_velocity` parameter
2022-10-27Fix type of safe_velocity parameterRedMser
2022-10-27Emit target_reached signal after state is updatedSam Briels
2022-10-27Make NavigationAgent `target_location` a propertyHaoyu Qiu
2022-10-24Rename queue_delete => queue_freeMarc Gilleron
# Conflicts: # editor/plugins/tiles/tiles_editor_plugin.cpp
2022-10-23Merge pull request #67390 from groud/more_conservative_terrain_paintingClay John
Make terrain painting not change neighbors centers bits
2022-10-23Merge pull request #67513 from ↵Clay John
Calinou/editor-light2d-fix-shadow-filter-smooth-visibility Fix Light2D Shadow Filter Smooth property being visible with filter None
2022-10-22Fix `TileMap` collision shapes debug drawkleonc
2022-10-20Make terrain painting not change neighbors centers bitsGilles Roudière
2022-10-19Fix texture filter and repeat in TileMapkobewi
2022-10-18Unify usage of GLOBAL/EDITOR_GETkobewi
2022-10-18Minor code improvementskobewi
2022-10-17Fix Light2D Shadow Filter Smooth property being visible with filter NoneHugo Locurcio
2022-10-11Rename Camera2D's `smoothing` to `position_smoothing`Micky
For Camera2D: `smoothing_enabled` -> `position_smoothing_enabled` `set_enable_follow_smoothing` -> `set_position_smoothing_enabled` `is_follow_smoothing_enabled` -> `is_position_smoothing_enabled` `smoothing_speed` -> `position_smoothing_speed` `set_follow_smoothing` -> `set_position_smoothing_speed` `get_follow_smoothing` -> `get_position_smoothing_speed`
2022-10-11Merge pull request #67194 from RedMser/dirlight2d-height-suffixRémi Verschelde
Remove incorrect `px` suffixes
2022-10-10Remove incorrect px suffixesRedMser
2022-10-10SCons: Re-enable treating `#warning` as error with `werror`Rémi Verschelde
Replace all TODO uses of `#warning` by proper TODO comments, and will open matching bug reports to keep track of them. We don't have a great track record fixing TODOs, but I'd wager we're even worse for fixing these "TODO #warning" so we should prohibit this usage.
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-06Fix TileMap occluders having a wrong transformGilles Roudière
2022-10-06Merge pull request #66951 from rburing/restore_recovery_as_collisionRémi Verschelde
Revert "Turn on recovery as collisions only for floor snapping"
2022-10-05Revert "Turn on recovery as collisions only for floor snapping as this leads ↵Ricardo Buring
to unwanted behaviour for other surface than the floor." This reverts commit 10395f5df2a1cac6ed83e674c084e62a88fcdde9.
2022-10-05Merge pull request #66720 from qarmin/unintialized_memoryRémi Verschelde
Remove usage of unitialized variables
2022-10-05Merge pull request #66839 from aaronfranke/editor-prop-hide-sliderRémi Verschelde
Fix `hide_slider` vs `no_slider` inconsistency in editor property code
2022-10-04Add rotation smoothing to Camera2DLuis Lopez
Camera2D has follow smoothing to interpolate towards a target position, but no rotation smoothing to align with the target rotation. This adds rotation smoothing directly into the Camera2D API by having two new properties: - `rotation_smoothing_enabled` - `rotation_smoothing_speed`
2022-10-04Merge pull request #39072 from dalexeev/cs2d_debug_colorRémi Verschelde
Add debug_color property to CollisionShape2D
2022-10-03Fix hide_slider vs no_slider inconsistency in editor property codeAaron Franke
2022-10-01Remove usage of unitialized variablesRafał Mikrut
2022-09-29Merge pull request #66143 from DarkKilauea/nav-queries-agentRémi Verschelde
Update NavigationAgent to use query_path
2022-09-28Update NavigationAgent to use query_pathJosh Jones
This paves the way for having agents respond to link traversal.
2022-09-28refactor(TileMap): Return Rect2i in get_used_rectMisterMX
Signed-off-by: MisterMX <mbxd12@web.de>
2022-09-22Merge pull request #64679 from DarkKilauea/nav-region-propsRémi Verschelde
Improve consistency of NavigationRegion setters
2022-09-22Merge pull request #66110 from Zylann/reference_get_countRémi Verschelde
get_reference_count()`
2022-09-21Improve consistancy of NavigationRegion settersJosh Jones
2022-09-21Rename and expose `RefCounted::get_reference_count()`Marc Gilleron
2022-09-21Add `CollisionShape2D.debug_color` propertyDanil Alexeev
2022-09-21Merge pull request #66183 from KoBeWi/ARE_YOU_READYRémi Verschelde
Set scene tiles' position before adding them
2022-09-21Merge pull request #64359 from Mickeon/rename-camera-rotatingRémi Verschelde
Reverse Camera2D.`rotating` to `ignore_rotation`
2022-09-21Merge pull request #65828 from rburing/body_state_sync_callableRémi Verschelde
make `body_set_state_sync_callback` take a `Callable`