fixed the issue where enemies could walk over a gap if it wasnt on a pathfinding node

This commit is contained in:
2024-03-29 21:58:40 +11:00
parent 3c28999cd9
commit 62d0dc0130
40 changed files with 205 additions and 138 deletions

View File

@ -6,6 +6,7 @@
[ext_resource type="AudioStream" uid="uid://chrf1dcq2ujw0" path="res://PCs/Mechanic/ClassCards/Assault/shot1.wav" id="4_gdaci"]
[sub_resource type="AtlasTexture" id="AtlasTexture_604rb"]
resource_local_to_scene = true
atlas = ExtResource("3_kuj4t")
region = Rect2(0, 0, 64, 64)

View File

@ -8,6 +8,7 @@
[ext_resource type="AudioStream" uid="uid://qeav4v23p0dd" path="res://PCs/Mechanic/ClassCards/BombLauncher/shot1.wav" id="6_rg62n"]
[sub_resource type="AtlasTexture" id="AtlasTexture_4fobv"]
resource_local_to_scene = true
atlas = ExtResource("5_iyrt8")
region = Rect2(0, 0, 64, 64)

View File

@ -22,4 +22,4 @@ value = 3.0
script = ExtResource("2_wptab")
target_type = 1
attributes = Array[ExtResource("1_ikp33")]([SubResource("Resource_j28f4"), SubResource("Resource_likes"), SubResource("Resource_b65mk")])
text = "Hold to apply Burning to enemies in front of you"
text = "Applies burning to enemies in front of it"

View File

@ -8,6 +8,7 @@
[ext_resource type="Material" uid="uid://gyeamtekshor" path="res://PCs/Mechanic/ClassCards/Flamethrower/flame_particles.tres" id="6_idhp2"]
[sub_resource type="AtlasTexture" id="AtlasTexture_3hank"]
resource_local_to_scene = true
atlas = ExtResource("5_wdw3e")
region = Rect2(0, 0, 64, 64)

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dkb8e0uu5vikw"
path="res://.godot/imported/accelerator.png-a0973046062ee4662a163fa426169703.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://PCs/Mechanic/ClassCards/Gatling/accelerator.png"
dest_files=["res://.godot/imported/accelerator.png-a0973046062ee4662a163fa426169703.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
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=0

View File

@ -2,12 +2,13 @@
[ext_resource type="PackedScene" uid="uid://difwo7wlyqr3h" path="res://Scenes/Weapons/hitscan_weapon.tscn" id="1_fwlu5"]
[ext_resource type="Resource" uid="uid://cj2x1jvo8l4ot" path="res://PCs/Mechanic/ClassCards/Gatling/weapon_stats.tres" id="2_fnyjd"]
[ext_resource type="Texture2D" uid="uid://bjh6e8t8br6rq" path="res://PCs/Mechanic/ClassCards/Gatling/gatling.png" id="2_rv8ps"]
[ext_resource type="Script" path="res://PCs/Mechanic/ClassCards/Gatling/weapon_gatling.gd" id="2_wm4al"]
[ext_resource type="Texture2D" uid="uid://dkb8e0uu5vikw" path="res://PCs/Mechanic/ClassCards/Gatling/accelerator.png" id="4_gi42y"]
[ext_resource type="AudioStream" uid="uid://1j0rquv4awjs" path="res://PCs/Mechanic/ClassCards/Gatling/shot1.wav" id="5_gelfi"]
[sub_resource type="AtlasTexture" id="AtlasTexture_0im1y"]
atlas = ExtResource("2_rv8ps")
resource_local_to_scene = true
atlas = ExtResource("4_gi42y")
region = Rect2(0, 0, 64, 64)
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_778e1"]

View File

@ -8,6 +8,7 @@
[ext_resource type="AudioStream" uid="uid://v3j5lw827y85" path="res://PCs/Mechanic/ClassCards/GlueLauncher/shot1.wav" id="6_6qk7c"]
[sub_resource type="AtlasTexture" id="AtlasTexture_ehcsl"]
resource_local_to_scene = true
atlas = ExtResource("5_obawu")
region = Rect2(0, 0, 64, 64)

View File

@ -8,6 +8,7 @@
[ext_resource type="Material" uid="uid://bjab6t4n0s5ac" path="res://PCs/Mechanic/ClassCards/Reactor/radiation_particles.tres" id="6_0sgt1"]
[sub_resource type="AtlasTexture" id="AtlasTexture_0dpt5"]
resource_local_to_scene = true
atlas = ExtResource("5_bawfy")
region = Rect2(0, 0, 64, 64)

View File

@ -10,6 +10,7 @@
[ext_resource type="AudioStream" uid="uid://n0w2kj5j2x4e" path="res://PCs/Mechanic/ClassCards/RocketLauncher/shot1.wav" id="8_genbv"]
[sub_resource type="AtlasTexture" id="AtlasTexture_f4p4w"]
resource_local_to_scene = true
atlas = ExtResource("4_iygkf")
region = Rect2(0, 0, 64, 64)

View File

@ -8,6 +8,7 @@
[ext_resource type="AudioStream" uid="uid://bixe14jkki8be" path="res://PCs/Mechanic/ClassCards/Sniper/shot1.wav" id="6_pd8iu"]
[sub_resource type="AtlasTexture" id="AtlasTexture_cussn"]
resource_local_to_scene = true
atlas = ExtResource("4_ub37g")
region = Rect2(0, 0, 64, 64)