[gd_scene load_steps=6 format=3 uid="uid://g4ggp2goh0di"] [ext_resource type="Script" path="res://scenes/custom-solver/NavigationGraph.gd" id="1_5s4ud"] [ext_resource type="Script" path="res://scenes/custom-solver/custom_graph_solver.gd" id="1_tis1c"] [ext_resource type="Script" path="res://scenes/custom-solver/CustomNavMovement.gd" id="3_4rjft"] [ext_resource type="Texture2D" uid="uid://c53ftc05so8rx" path="res://icon.svg" id="3_ibv8u"] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_gqxbx"] radius = 24.9999 height = 49.9999 [node name="custom-graph-solver" type="Node2D" node_paths=PackedStringArray("navigation_polygon")] script = ExtResource("1_tis1c") navigation_polygon = [NodePath("NavPolygon2D_1"), NodePath("SmallPolygon2D"), NodePath("NavPolygon2D_2")] [node name="NavPolygon2D_2" type="Polygon2D" parent="."] visible = false polygon = PackedVector2Array(474, 298, 379, 295, 381, 261, 479, 98, 422, 71, 336, 203, 334, 47, 255, 43, 49, 42, 48, 119, 55, 247, 109, 244, 134, 127, 253, 119, 249, 176, 153, 177, 153, 240, 253, 236, 289, 322, 69, 300, 74, 390, 475, 400, 619, 511, 222, 449, 108, 630, 222, 633, 297, 544, 476, 569, 748, 642, 984, 642, 979, 580, 911, 563, 910, 495, 831, 495, 847, 563, 701, 493, 656, 402, 926, 414, 995, 516, 1110, 517, 985, 319, 774, 292, 765, 244, 884, 266, 896, 206, 764, 167, 675, 226, 703, 295, 652, 295, 600, 200, 805, 106, 935, 128, 998, 249, 1105, 257, 934, 19, 616, 61, 476, 167) [node name="NavPolygon2D_1" type="Polygon2D" parent="."] polygon = PackedVector2Array(164, 56, 379, 23, 603, 53, 684, 152, 759, 255, 572, 293, 598, 166, 422, 106, 344, 158, 509, 312, 438, 454, 489, 504, 610, 342, 734, 323, 834, 199, 786, 85, 958, 43, 1117, 48, 1109, 194, 1137, 565, 916, 550, 887, 386, 965, 359, 962, 473, 1000, 494, 1002, 204, 928, 184, 916, 304, 837, 382, 835, 541, 752, 563, 732, 421, 627, 450, 592, 618, 335, 540, 295, 412, 361, 311, 190, 169, 194, 329, 278, 510, 132, 589, 133, 459, 77, 311, 48, 130) [node name="SmallPolygon2D" type="Polygon2D" parent="."] visible = false invert_border = 0.1 polygon = PackedVector2Array(516, 218, 475, 104, 677, 121, 582, 247, 598, 333, 394, 315) [node name="NavGraph" type="Node2D" parent="."] script = ExtResource("1_5s4ud") [node name="CharacterBody2D" type="CharacterBody2D" parent="."] position = Vector2(310, 140) scale = Vector2(0.640001, 0.640001) collision_mask = 3 script = ExtResource("3_4rjft") metadata/_edit_group_ = true [node name="NavigationAgent2D" type="NavigationAgent2D" parent="CharacterBody2D"] debug_enabled = true [node name="Icon" type="Sprite2D" parent="CharacterBody2D"] scale = Vector2(0.4, 0.4) texture = ExtResource("3_ibv8u") [node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"] shape = SubResource("CapsuleShape2D_gqxbx")