godot/scene/2d
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
..
physics Expose ShapeCast{2D,3D}::get_collision_result 2024-08-15 16:20:13 +02:00
animated_sprite_2d.cpp Cleanup of raw nullptr checks with Ref 2024-08-31 15:01:09 +02:00
animated_sprite_2d.h Optimise Object's get_argument_options 2024-02-29 18:00:54 +01:00
audio_listener_2d.cpp Expose is_part_of_edited_scene() 2024-04-26 11:49:38 +02:00
audio_listener_2d.h
audio_stream_player_2d.compat.inc
audio_stream_player_2d.cpp Expose AudioStreamPlayer{2D,3D}::set_playing and remove AudioStreamPlayer::{2D,3D}::_is_active 2024-08-30 17:16:46 +02:00
audio_stream_player_2d.h Add samples playback support 2024-06-18 11:06:31 -04:00
back_buffer_copy.cpp
back_buffer_copy.h
camera_2d.cpp Fixed Timestep Interpolation: Fix behaviour on pause 2024-07-07 16:48:17 +02:00
camera_2d.h Fix physics tick counter 2024-07-07 19:04:05 +02:00
canvas_group.cpp
canvas_group.h
canvas_modulate.cpp
canvas_modulate.h
cpu_particles_2d.cpp Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
cpu_particles_2d.h
gpu_particles_2d.cpp Fix GPUParticles Inherit Velocity breaking with physics movement 2024-07-02 01:46:57 +02:00
gpu_particles_2d.h
light_2d.cpp fix issue where Light2D does not re-attach itself to new canvas when viewport worlds are shared 2024-04-05 17:38:42 -04:00
light_2d.h Fixed Timestep Interpolation (2D) 2024-03-23 12:28:36 +01:00
light_occluder_2d.cpp Fixed Timestep Interpolation (2D) 2024-03-23 12:28:36 +01:00
light_occluder_2d.h Fixed Timestep Interpolation (2D) 2024-03-23 12:28:36 +01:00
line_2d.cpp
line_2d.h
line_builder.cpp Added a specific check for the corner case that went wrong. 2024-04-17 12:01:01 +02:00
line_builder.h
marker_2d.cpp fix: update the location of editor theme 2024-04-06 18:03:13 +03:00
marker_2d.h
mesh_instance_2d.cpp Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
mesh_instance_2d.h
multimesh_instance_2d.cpp Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
multimesh_instance_2d.h
navigation_agent_2d.cpp Fix physics tick counter 2024-07-07 19:04:05 +02:00
navigation_agent_2d.h Fix physics tick counter 2024-07-07 19:04:05 +02:00
navigation_link_2d.cpp Add NavigationLink function to change navigation map 2024-08-15 22:37:02 +02:00
navigation_link_2d.h Add NavigationLink function to change navigation map 2024-08-15 22:37:02 +02:00
navigation_obstacle_2d.cpp Add NavigationObstacle options to affect and carve navigation mesh 2024-03-15 01:45:44 +01:00
navigation_obstacle_2d.h Add NavigationObstacle options to affect and carve navigation mesh 2024-03-15 01:45:44 +01:00
navigation_region_2d.cpp Fix NavigationRegion2D debug not clearing canvas item 2024-06-10 19:07:57 +02:00
navigation_region_2d.h Improve NavigationRegion2D debug performance 2024-05-28 19:36:35 +02:00
node_2d.cpp Don't access Node3D/Node2D/Control global transform in reparent unless needed 2024-02-29 14:07:48 +01:00
node_2d.h
parallax_2d.cpp Prevent Parallax2D autoscroll reset 2024-08-28 16:38:27 -04:00
parallax_2d.h Prevent Parallax2D autoscroll reset 2024-08-28 16:38:27 -04:00
parallax_background.cpp Add new Parallax2D node 2024-03-03 15:46:40 -05:00
parallax_background.h Add new Parallax2D node 2024-03-03 15:46:40 -05:00
parallax_layer.cpp Fix Parallax2D repeats being not relative to its transform 2024-08-19 11:43:16 +02:00
parallax_layer.h
path_2d.cpp Add error checks for bad configuration in PathFollow2D/3D set_progress_ratio 2024-09-04 18:07:49 +02:00
path_2d.h
polygon_2d.cpp Make Polygon2D::bones property internal 2024-08-10 17:55:29 +02:00
polygon_2d.h
remote_transform_2d.cpp Propagate reset_physics_interpolation through RemoteTransform2D/3D 2024-05-28 20:23:25 +02:00
remote_transform_2d.h
SCsub Split monolithic physics class files 2024-02-27 11:18:16 +01:00
skeleton_2d.cpp Merge pull request #91731 from TokageItLab/b2s 2024-08-19 16:04:40 +02:00
skeleton_2d.h Physics interpolation: Fix 2D skinning 2024-06-20 11:35:38 +02:00
sprite_2d.cpp Add alternative pixel rounding 2024-06-29 10:33:39 -04:00
sprite_2d.h
tile_map_layer.cpp Implement multiple occlusion polygons within each TileSet occlusion layer 2024-09-03 15:38:51 +02:00
tile_map_layer.h Implement multiple occlusion polygons within each TileSet occlusion layer 2024-09-03 15:38:51 +02:00
tile_map.compat.inc
tile_map.cpp Add helper methods to check for tile transforms 2024-08-12 02:51:34 +02:00
tile_map.h Add helper methods to check for tile transforms 2024-08-12 02:51:34 +02:00
touch_screen_button.cpp [Scene] Add SceneStringNames::pressed 2024-05-14 15:51:28 +02:00
touch_screen_button.h Move 2D-only resources to their own folder 2024-02-26 05:22:45 -06:00
visible_on_screen_notifier_2d.cpp Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
visible_on_screen_notifier_2d.h