1
0
Fork 0
Commit Graph

2537 Commits

Author SHA1 Message Date
Thaddeus Crews 149a4b4ca1
Merge pull request #107868 from lawnjelly/quick_ancestry4
Provide quick access to `Object` ancestry
2025-09-20 13:41:39 -05:00
Thaddeus Crews c227126764
Merge pull request #109820 from groud/fix_one_way_collision_tilemaplayer
Fix one-way-collision polygons being merged despite being on different Y-origins in TileMapLayer
2025-08-22 16:11:53 -05:00
Gilles Roudière e992c7d1fd Fixes one-way-collision polygons being merged despite being on different Y-origins in TileMapLayer 2025-08-22 21:34:04 +02:00
Thaddeus Crews 925fd8a9cc
Merge pull request #109736 from Rubonnek/tilecolfree
Free TileMapLayer debug quadrant meshes when clearing
2025-08-21 06:24:21 -05:00
Wilson E. Alvarez 261734adb6
Free TileMapLayer debug quadrant meshes when clearing 2025-08-18 10:10:14 -04:00
Mikael Hermansson 6c907c2d37 Fix `move_and_slide` forcing synchronization with physics thread
Co-authored-by: Ricardo Buring <ricardo.buring@gmail.com>
2025-08-14 18:58:36 +02:00
nocommentsgood 65a2d733b7 Rename Camera2D set_position_smoothing_enabled parameter 2025-07-30 16:05:30 -05:00
Gilles Roudière 8637922926 Fix debug rendering in TileMapLayer 2025-07-25 11:17:03 +02:00
aaronp64 7f60546f05 Fix CPUParticles2D repeatedly scaling particles with 0 velocity and Align Y
CPUParticles2D with Align Y turned on would update particles' transforms based on the velocity when velocity was non-zero, but would not set the transform for zero velocity.  This left the transfrom value from the previous call, which may have already been scaled.  In this case, each call to _particles_process would apply the scale again, causing the particle to repeatedly grow (or shrink for scales < 1.0).

Updated the Align Y logic to always normalize the transform values before scale is applied.
2025-07-09 11:09:37 -04:00
A Thousand Ships f11aff3841
Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Thaddeus Crews 6340fa0813
Merge pull request #108207 from KoBeWi/spamygon2d
Fix error spam caused by `internal_vertex_count` property
2025-07-04 10:09:04 -05:00
Thaddeus Crews 6caf4c698f
Merge pull request #107915 from QbieShay/fix_emitting_reset
Fix particles resetting properties when emitting is toggled
2025-07-04 10:09:03 -05:00
kobewi 3eb85431f1 Fix error spam caused by internal_vertex_count property 2025-07-02 18:20:41 +02:00
kobewi 9a941441c4 Fix smoothed camera position with limits 2025-07-02 13:54:30 +02:00
Thaddeus Crews e750950dc6
Merge pull request #107568 from Rudolph-B/Issue-92708
Fix floating point precision errors when setting particle trail length
2025-07-01 17:57:58 -05:00
Thaddeus Crews db28859774
Merge pull request #107591 from timothyqiu/group-enable-default
Make `PROPERTY_HINT_GROUP_ENABLE` hide properties by default
2025-06-24 18:34:28 -05:00
Qbieshay b93f6fa1ba Fix particles resetting properties when emitting is toggled 2025-06-24 12:16:42 +02:00
lawnjelly 583c72f999 `FTI` - Change `SceneTree` global setting to static
Also fixup FTI configuration warnings so that they only output when the project is using FTI.
2025-06-23 10:19:24 +01:00
lawnjelly 14a814586a Provide quick access to `Object` ancestry 2025-06-23 07:11:11 +01:00
Haoyu Qiu a7ab249a2a Make `PROPERTY_HINT_GROUP_ENABLE` hide properties by default 2025-06-16 20:03:49 +08:00
Rémi Verschelde 31892b13b5
Merge pull request #107559 from groud/remove_get_used_cells_where_possible
Remove `get_used_cells` to avoid unecessary allocations in navigation baking
2025-06-16 01:52:54 +02:00
Rémi Verschelde c13218580f
Merge pull request #107528 from timothyqiu/direct-x
Don't put main properties of `AnimatedSprite2D` inside a group
2025-06-16 01:52:44 +02:00
Rudolph Bester 3c5d4a2410 Fix floating point precision errors when setting particle trail length 2025-06-15 20:38:50 +02:00
Gilles Roudière a39f6b1c64 Remove get_used_cells to avoid unecessary allocations in navigation baking 2025-06-15 13:42:39 +02:00
Haoyu Qiu 1d40df286b Don't put main properties of AnimatedSprite2D inside a group 2025-06-14 19:20:58 +08:00
smix8 4476fc7099 Only repath a NavigationAgent with a target position
Only repaths a NavigationAgent with a target position.
2025-06-14 01:26:36 +02:00
smix8 cbd446ac29 Add navigation path query parameter limits
Adds navigation path query parameter limits.
2025-06-13 14:42:26 +02:00
Rémi Verschelde f485f6c1c2
Merge pull request #107360 from KoBeWi/spamilion
Fix Sprite2D error spam in exported project
2025-06-13 01:30:51 +02:00
kobewi efbc5aabe1 Allow overriding 2D editor cursor 2025-06-12 14:00:19 +02:00
kobewi 2bb3217819 Add a dedicated editor for Camera2D limits 2025-06-12 13:49:59 +02:00
LuoZhihao 8ba4656ea3 Compile out editor-only logic within `validate_property` in games 2025-06-12 12:54:19 +08:00
kobewi bf8a374a92 Fix Sprite2D error spam in exported project 2025-06-10 16:54:20 +02:00
smix8 e64fe63f17 Improve Path2D debug performance
Improves Path2D node debug performance by changing the debug to use mesh and multimesh instead of slower canvas draw functions.
2025-06-09 17:25:06 +02:00
Rémi Verschelde abacf0d313
Merge pull request #107263 from smix8/capsule_outline
Fix CapsuleShape2D outline for navmesh baking
2025-06-09 00:45:42 +02:00
Rémi Verschelde 151db00f2c
Merge pull request #107256 from smix8/avoidance2dcallback
Change `NavigationServer2D` avoidance callbacks from `Vector3` to `Vector2`
2025-06-09 00:45:39 +02:00
smix8 58c11e557b Fix CapsuleShape2D outline for navmesh baking
Fixes CapsuleShape2D outline for navmesh baking
2025-06-07 20:32:07 +02:00
smix8 0ce53ffc69 Change 2D avoidance callbacks from Vector3 to Vector2
Changes 2D avoidance callbacks from Vector3 to Vector2.
2025-06-07 14:21:28 +02:00
smix8 03e5d64dd9 Match avoidance defaults for NavigationAgent and NavigationServer NavAgent
Matches avoidance defaults for NavigationAgent and NavigationServer NavAgent. The node had different properties than the server agent and the 2d version still used outdate defaults form the 3d version.
2025-06-07 13:49:12 +02:00
kleonc f397e4f752 Fix rotated/flipped tiles destination rect calculations 2025-06-05 14:50:00 +02:00
Rémi Verschelde 590225f3d1
Merge pull request #106690 from NessaTeal/expose-camera2d-current-rotation
Expose Camera2D current rotation
2025-06-05 13:12:07 +02:00
Rémi Verschelde c27c87b852
Merge pull request #105245 from timothyqiu/canvas-layer-range
Relax the range hint for canvas layer properties
2025-06-05 13:10:50 +02:00
Nessa Teal cf59d74b15 Expose Camera2D current rotation 2025-06-04 00:22:18 +03:00
Thaddeus Crews f3f76df0cd
Merge pull request #103504 from lawnjelly/fti_warn_physics_non_interp4
Physics Interpolation - Add editor configuration warnings
2025-05-26 11:24:39 -05:00
Thaddeus Crews b144bbb510
Merge pull request #106553 from Lazy-Rabbit-2001/sprite-dragging-improved
Reintroduce the dragging method of Sprite2D's region_rect
2025-05-26 11:24:34 -05:00
Lazy-Rabbit-2001 3a7e45c0e7 Reintroduce the dragging method of Sprite2D's region_rect 2025-05-24 19:41:05 +08:00
Logan Detrick 1a427d3dec Add feature hint string and "On" text for checkable groups 2025-05-21 14:56:55 -07:00
David Nikdel 5afb64e167 Fix for camera limits
This commit makes 2D camera limits have a well defined behavior for cases when the limits are smaller than the screen rect.

Presently the RIGHT and TOP limit take prescidence simply because they are applied second. This change adjusts behavior to split the difference in cases where both the LEFT/RIGHT or TOP/BOTTOM limits would both apply.
2025-05-20 11:09:47 -04:00
Thaddeus Crews 1c4b660312
Merge pull request #96611 from Dynamic-Pistol/master
Add `PROPERTY_HINT_INPUT_NAME` for use with `@export_custom` to allow using input actions
2025-05-13 16:22:25 -05:00
Thaddeus Crews d9c8376fe0
Merge pull request #105825 from Alex-Onceanu/playground
Fix `Camera2D` right and bottom limit to depend on bottom right corner
2025-05-13 16:22:24 -05:00
Alex Onceanu 1bdf237558
Fix Camera2D right and bottom limit to depend on bottom right corner 2025-05-12 19:05:08 +02:00