Initial commit

This commit is contained in:
2026-01-21 23:51:53 +01:00
commit 60b208fee0
1703 changed files with 100223 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
[gd_resource type="StandardMaterial3D" load_steps=3 format=3 uid="uid://cqjolmi3t5evp"]
[ext_resource type="Texture2D" uid="uid://bx6t0uwwdmqs" path="res://assets/3D/Sample1_MetalGalvanizedSteelWorn001_METALNESS_2K_METALNESS_jpg-MetalGalvanizedSteelWorn001_ROUGHNESS_2K_METALNESS_jpg.png" id="2_6yo53"]
[ext_resource type="Texture2D" uid="uid://cbnoqve0e25ku" path="res://assets/3D/Sample1_MetalGalvanizedSteelWorn001_NRM16_2K_METALNESS_tif.png" id="3_bssyf"]
[resource]
resource_name = "MetalGalvanizedSteelWorn001_2K"
cull_mode = 2
metallic = 1.0
metallic_texture = ExtResource("2_6yo53")
metallic_texture_channel = 2
roughness_texture = ExtResource("2_6yo53")
roughness_texture_channel = 1
normal_enabled = true
normal_texture = ExtResource("3_bssyf")

View File

@@ -0,0 +1,24 @@
extends EnemyState
const maxFollowDistance: float = 12.5
func Enter():
if enemy_ref.spiderLight:
enemy_ref.spiderLight.visible = true
if enemy_ref.hitBoxTeeth:
enemy_ref.hitBoxTeeth.active = true
func Exit():
enemy_ref.can_move = true
if enemy_ref.spiderLight:
enemy_ref.spiderLight.visible = false
if enemy_ref.hitBoxTeeth:
enemy_ref.hitBoxTeeth.active = false
func Update(_delta: float):
if enemy_ref.closestPlayer:
if enemy_ref.distanceClosestPlayer > maxFollowDistance:
Transitioned.emit(self, "Wander")
enemy_ref.can_move = enemy_ref.distanceClosestPlayer > 2
enemy_ref.pathfind(enemy_ref.closestPlayerGridPosition)

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b6v8etoyl3auu"
path="res://.godot/imported/HugeTestRoom.png-c478520a6ebf27eb024aba143cc3412c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://test/HugeTestRoom.png"
dest_files=["res://.godot/imported/HugeTestRoom.png-c478520a6ebf27eb024aba143cc3412c.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