Basic pathfinding working for crying ghosts

This commit is contained in:
2026-01-17 23:37:33 -06:00
parent dd4ce5fcf4
commit 3a63bb6709
46 changed files with 691 additions and 34 deletions

View File

Before

Width:  |  Height:  |  Size: 559 B

After

Width:  |  Height:  |  Size: 559 B

View File

@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://urhgw0tiji88"
path="res://.godot/imported/FloorTile16.png-0ec93fd5f65affde1fdd7c93b3b9e4c8.ctex"
path="res://.godot/imported/Debug.png-8a36d959f9111130b60ad1eafc5350a5.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Environment/Tiles/FloorTile16.png"
dest_files=["res://.godot/imported/FloorTile16.png-0ec93fd5f65affde1fdd7c93b3b9e4c8.ctex"]
source_file="res://Environment/Tiles/Floor/Debug.png"
dest_files=["res://.godot/imported/Debug.png-8a36d959f9111130b60ad1eafc5350a5.ctex"]
[params]

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 B

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://7ftsqvk686hn"
path="res://.godot/imported/Plain.png-34f9baf8febb9fa7112834a539263591.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Environment/Tiles/Floor/Plain.png"
dest_files=["res://.godot/imported/Plain.png-34f9baf8febb9fa7112834a539263591.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 B

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://sm06orxldfgs"
path="res://.godot/imported/Square4.png-93df56fcb113c6281d288843bd40d197.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Environment/Tiles/Floor/Square4.png"
dest_files=["res://.godot/imported/Square4.png-93df56fcb113c6281d288843bd40d197.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -1,18 +1,48 @@
[gd_resource type="TileSet" load_steps=5 format=3 uid="uid://cvtrfc1jh3v56"]
[gd_resource type="TileSet" load_steps=12 format=3 uid="uid://cvtrfc1jh3v56"]
[ext_resource type="Texture2D" uid="uid://urhgw0tiji88" path="res://Environment/Tiles/FloorTile16.png" id="1_g8jos"]
[ext_resource type="Texture2D" uid="uid://cp4va5lqydihh" path="res://Environment/Tiles/WallTile16.png" id="2_gv1ha"]
[ext_resource type="Texture2D" uid="uid://urhgw0tiji88" path="res://Environment/Tiles/Floor/Debug.png" id="1_21hfy"]
[ext_resource type="Texture2D" uid="uid://cp4va5lqydihh" path="res://Environment/Tiles/Wall/Debug.png" id="2_8ptfa"]
[ext_resource type="Texture2D" uid="uid://sm06orxldfgs" path="res://Environment/Tiles/Floor/Square4.png" id="3_d7vwv"]
[ext_resource type="Texture2D" uid="uid://7ftsqvk686hn" path="res://Environment/Tiles/Floor/Plain.png" id="4_e3nq8"]
[sub_resource type="NavigationPolygon" id="NavigationPolygon_21hfy"]
vertices = PackedVector2Array(8, 8, -8, 8, -8, -8, 8, -8)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3)])
outlines = Array[PackedVector2Array]([PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)])
agent_radius = 0.0
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_21hfy"]
texture = ExtResource("1_g8jos")
texture = ExtResource("1_21hfy")
0:0/0 = 0
0:0/0/navigation_layer_0/polygon = SubResource("NavigationPolygon_21hfy")
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_8ptfa"]
texture = ExtResource("2_gv1ha")
texture = ExtResource("2_8ptfa")
0:0/0 = 0
0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
[sub_resource type="NavigationPolygon" id="NavigationPolygon_8ptfa"]
vertices = PackedVector2Array(8, 8, -8, 8, -8, -8, 8, -8)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3)])
outlines = Array[PackedVector2Array]([PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)])
agent_radius = 0.0
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_d7vwv"]
texture = ExtResource("3_d7vwv")
0:0/0 = 0
0:0/0/navigation_layer_0/polygon = SubResource("NavigationPolygon_8ptfa")
[sub_resource type="NavigationPolygon" id="NavigationPolygon_d7vwv"]
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_e4sdj"]
texture = ExtResource("4_e3nq8")
0:0/0 = 0
0:0/0/navigation_layer_0/polygon = SubResource("NavigationPolygon_d7vwv")
[resource]
physics_layer_0/collision_layer = 1
navigation_layer_0/layers = 1
sources/0 = SubResource("TileSetAtlasSource_21hfy")
sources/1 = SubResource("TileSetAtlasSource_8ptfa")
sources/2 = SubResource("TileSetAtlasSource_d7vwv")
sources/3 = SubResource("TileSetAtlasSource_e4sdj")

View File

Before

Width:  |  Height:  |  Size: 557 B

After

Width:  |  Height:  |  Size: 557 B

View File

@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://cp4va5lqydihh"
path="res://.godot/imported/WallTile16.png-49a4d5bdce0b800a761a2052cdcbe3d6.ctex"
path="res://.godot/imported/Debug.png-8c9002057f574af6c8e6ddeba457752c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Environment/Tiles/WallTile16.png"
dest_files=["res://.godot/imported/WallTile16.png-49a4d5bdce0b800a761a2052cdcbe3d6.ctex"]
source_file="res://Environment/Tiles/Wall/Debug.png"
dest_files=["res://.godot/imported/Debug.png-8c9002057f574af6c8e6ddeba457752c.ctex"]
[params]