Rie
31a3b418f7
Fix obstacle avoidance and 3D editor ignoring transform
2024-11-16 11:30:48 +01:00
Mack
282425eefb
Fix setting TileMap data compatibility format broken by #98898 .
2024-11-15 01:20:30 +00:00
Thaddeus Crews
e960aa319f
Merge pull request #99030 from tracefree/obstacle_2d_transform
...
Make use of NavigationObstacle2D's transform
2024-11-12 09:28:03 -06:00
Thaddeus Crews
0ad3181d14
Merge pull request #98951 from AThousandShips/fix_more_super_call
...
Fix a few more super calls in `get_configuration_warnings` methods
2024-11-12 09:27:33 -06:00
Rie
e39fc3e8c2
Make use of NavigationObstacle2D's transform
2024-11-11 23:34:47 +01:00
Thaddeus Crews
80345758ff
Merge pull request #96188 from Khusheete/tilemaplayer-cell-update
...
Add a way to know when a TileMapLayer's cell is modified
2024-11-11 14:18:17 -06:00
Thaddeus Crews
9be806aef1
Merge pull request #92986 from Repiteo/core/ref-instantiate-integration
...
Core: Integrate Ref `instantiate` where possible
2024-11-11 14:18:15 -06:00
Souchet Ferdinand
d92f5e5799
Add TileMapLayer._update_cells
virtual callback called when the TileMapLayer's cells are updated
...
Made `_update_cells` a hook into the `TileMapLayer`'s internal update
2024-11-11 13:29:38 +01:00
Thaddeus Crews
8d1462c748
CI: Update Linux runners to Ubuntu 24.04
2024-11-10 14:05:27 -06:00
Thaddeus Crews
925b690c98
Core: Integrate Ref::instantiate
where possible
2024-11-10 12:41:26 -06:00
Thaddeus Crews
4f416378a5
Merge pull request #98773 from KeyboardDanni/tileset_collision_priority
...
Add collision priority property to TileSet physics layers
2024-11-10 12:12:49 -06:00
A Thousand Ships
26938086eb
Fix a few more super calls in get_configuration_warnings
methods
...
A few missed last pass and one incorrect from that pass
2024-11-08 14:58:37 +01:00
Danni
3d132076b2
Add collision priority property to TileSet physics layers
2024-11-02 15:37:49 -04:00
Michael Alexsander
58e79bfa9a
Compile certain CanvasItem._edit_*()
functions with DEBUG_ENABLED
2024-11-02 15:43:18 -03:00
Thaddeus Crews
49c22e06d0
Merge pull request #98637 from SubmergedTree/creating-light-occluder-2d-polygon-makes-warning-exclamation-mark-disappear
...
Clear warning in the scene tree by creating an LightOccluder2D polygon
2024-10-31 20:14:40 -05:00
Michael Alexsander
16524a8a01
Add "Game" editor for better runtime debugging
2024-10-30 11:42:17 -03:00
Jannik Seemann
a12cdc202d
creating LightOccluder2D polygon makes exclamation mark in scene tree disappear
...
fixes #21225
This commit fixes an UI bug which leads to a persistent warning in scene tree. Before
this fix the only way to get rid of the warning was to reload the complete scene.
The inspector issue mentioned in #21225 that polygon updates aren't reflected seems to be
fixed in v4.3 and therefore not part of this commit.
2024-10-29 15:01:29 +01:00
Adam Scott
0d350e7108
Set clang-format RemoveSemicolon
rule to true
...
- Set clang-format `Standard` rule to `c++20`
2024-10-25 13:49:43 -04:00
Thaddeus Crews
66d19abdfa
Merge pull request #96629 from ditiem-games/path2d
...
Fix Animated Path2D doesn't update PathFollow2D progress when scene is running.
2024-10-21 16:39:28 -05:00
Thaddeus Crews
3fcbb1d436
Merge pull request #97770 from tdaven/fix-94151
...
Fix immediate mesh modifications that don't call set_mesh
2024-10-14 14:09:56 -05:00
Trevor Davenport
47f75547ce
Fix immediate mesh modifications that don't call set_mesh
...
Mesh_instance_2d has no way to know when the mesh had been modified
unless you called set_mesh. This meant that you could modify the
underlying mesh without it knowing which could result in incorrect
result.
Modified mesh_instance_2d to be more similar to mesh_instance_3d which
connects to the changed signal of the mesh and reacts occordingly.
2024-10-03 18:08:49 -06:00
Nazarii
1ba168fcbc
Use local vector for skeleton
2024-10-02 20:38:40 +03:00
Rémi Verschelde
53f30bfb7e
Merge pull request #95132 from LeonStansfield/gpu_particles_ui_consistency
...
GPU/CPU particle parameter list consistency changes
2024-10-01 17:30:29 +02:00
Thaddeus Crews
9f9ee0c813
SCons: Add unobtrusive type hints in SCons files
2024-09-25 09:34:35 -05:00
Rémi Verschelde
73bf121ceb
Merge pull request #93786 from alvinhochun/viewport-pixel-snap-fix
...
Apply "snap 2D transforms to pixel" to viewport
2024-09-25 12:39:10 +02:00
Ricardo Buring
7c4c4b9987
Move Godot Physics 2D into a module; add dummy 2D physics server
...
If the module is enabled (default), 2D physics works as it did before.
If the module is disabled and no other 2D physics server is registered
(via a module or GDExtension), then we fall back to a dummy
implementation which effectively disables 2D physics functionality (and
a warning is printed).
The dummy 2D physics server can also be selected explicitly, in which
case no warning is printed.
2024-09-23 17:33:45 +02:00
Mark DiBarry
3f9bb59606
Prevent jitter in Parallax2D
2024-09-23 20:36:38 +08:00
Thaddeus Crews
b37fc1014a
Style: Apply new clang-format
changes
2024-09-20 08:09:48 -05:00
Rémi Verschelde
49b725ddcc
Merge pull request #93353 from AThousandShips/config_warning_fix
...
Fix super call in various `get_configuration_warnings` methods
2024-09-08 23:21:09 +02:00
David Trallero
1b376b32cd
Update FollowPath2D children of Path2D when a curve_changed event occurs
2024-09-06 07:54:22 +08:00
A Thousand Ships
9dc231366d
Fix super call in various get_configuration_warnings
methods
2024-09-05 16:08:35 +02:00
smix8
5bedaf77f7
Fix 2D debug navigation flickering with tile maps
...
Both the tile map layers and the debug navigation canvas items did fight for the same z order causing a lot of flickering in certain situations.
2024-09-05 15:11:29 +02:00
Guillaume Turri
ea9dff87ae
Add error checks for bad configuration in PathFollow2D/3D
set_progress_ratio
...
When a PathFollow is badly configured it's possible to have code that
call get_progress_ratio just after set_progress_ratio does not return
the value just set, which may be confusing for developer (ie that
myPathFollow2D.set_progress_ratio(0.5)
myPathFollow2D.get_progress_ratio()
does not return 0.5)
This commit makes ensures the developer has useful error messages in
such case, to make it easier to troubleshot it.
2024-09-04 18:07:49 +02:00
Rémi Verschelde
d15de6f264
Merge pull request #96292 from AThousandShips/null_check_ref_fix
...
Cleanup of raw `nullptr` checks with `Ref`
2024-09-03 16:13:55 +02:00
Gilles Roudière
d75c5ec7ba
Implement multiple occlusion polygons within each TileSet occlusion layer
2024-09-03 15:38:51 +02:00
A Thousand Ships
194bdde947
Cleanup of raw nullptr
checks with Ref
...
Using `is_valid/null` over checks with `nullptr` or `ERR_FAIL_NULL` etc.
2024-08-31 15:01:09 +02:00
Raul Santos
7fd261c8c1
Expose AudioStreamPlayer{2D,3D}::set_playing
and remove AudioStreamPlayer::{2D,3D}::_is_active
...
- The `_is_active` method seems to be unused, so it was removed.
- The `_set_playing` method is now exposed, as the setter of the `playing` property.
- The `play` method can't be used as a setter because it takes a `float` parameter instead of a `bool` parameter.
2024-08-30 17:16:46 +02:00
Rémi Verschelde
ba0b93cf64
Merge pull request #96245 from markdibarry/prevent-autoscroll-reset
...
Prevent Parallax2D autoscroll reset
2024-08-29 10:36:42 +02:00
Rémi Verschelde
96cbcc30e2
Merge pull request #90945 from Scony/extract-navigation-defaults
...
Extract navigation-related defaults to separate header
2024-08-29 10:36:14 +02:00
Mark DiBarry
1eda1cf5d7
Prevent Parallax2D autoscroll reset
2024-08-28 16:38:27 -04:00
Rémi Verschelde
6cb21a56fd
Merge pull request #93970 from MarblesFr/feature/collision-occlusion-options-layer-map
...
Add occlusion enabled option to TileMapLayer
2024-08-28 00:11:40 +02:00
Rémi Verschelde
0023cb0d99
Merge pull request #92218 from EspeuteClement/master
...
Propagate `reset_physics_interpolation` through `RemoteTransform2D/3D`
2024-08-28 00:10:52 +02:00
Pawel Lampe
c3f1bfd5cb
Extract navigation-related defaults to separate header
2024-08-27 20:12:10 +02:00
Rémi Verschelde
ea054261e2
Merge pull request #91731 from TokageItLab/b2s
...
Fix Bone2D gizmo scaling
2024-08-19 16:04:40 +02:00
Rémi Verschelde
8b39d7f326
Merge pull request #95666 from kleonc/parallax2d_repeat_offsets_relative_to_source
...
Fix `Parallax2D` repeats being not relative to its transform
2024-08-19 14:34:21 +02:00
Rémi Verschelde
b1088047a0
Merge pull request #95124 from kleonc/skeleton2d_fix_set_get_always_returning_true
...
Fix `Skeleton2D.{_set|_get}` always returning true
2024-08-19 14:34:09 +02:00
kleonc
1bd8372813
Fix Parallax2D repeats being not relative to its transform
2024-08-19 11:43:16 +02:00
Rémi Verschelde
a917a2b2f9
Merge pull request #95456 from smix8/navlink_mapchange
...
Add NavigationLink function to change navigation map
2024-08-16 14:34:49 +02:00
Rémi Verschelde
e526882052
Merge pull request #95386 from kus04e4ek/close-audio
...
Add `stop_callable` to `AudioStreamPlayerInternal`
2024-08-16 14:33:55 +02:00
Rémi Verschelde
504f81ec08
Merge pull request #95376 from raulsntos/gdextension/expose-property-accessors/Polygon2D
...
Make `Polygon2D::bones` property internal
2024-08-16 14:33:49 +02:00