This commit is contained in:
Marek Le
2026-04-02 23:22:51 +02:00
parent 73af6abeb7
commit 3488856b91
22 changed files with 534 additions and 78 deletions

View File

@@ -41,4 +41,8 @@ func _spawn_portal() -> void:
portals.append(portal)
func _cleanup_dead() -> void:
portals = portals.filter(func(p: Node) -> bool: return is_instance_valid(p))
var valid: Array[Node] = []
for p in portals:
if is_instance_valid(p):
valid.append(p)
portals = valid

View File

@@ -5,9 +5,10 @@
[ext_resource type="Script" uid="uid://cyffo1g4uhmwh" path="res://systems/aggro/aggro_events.gd" id="aggro_events"]
[ext_resource type="Script" uid="uid://cm7ehl2pexcst" path="res://systems/aggro/aggro_system.gd" id="aggro_system"]
[ext_resource type="Script" uid="uid://c7gsu2qddsor6" path="res://systems/aggro/aggro_tracker.gd" id="aggro_tracker"]
[ext_resource type="Script" uid="uid://da2jm0awq2lnh" path="res://systems/buff_system.gd" id="buff_system"]
[ext_resource type="Script" uid="uid://ddos7mo8rahou" path="res://systems/cooldown_system.gd" id="cooldown_system"]
[ext_resource type="Script" uid="uid://cbd1bryh0e2dw" path="res://systems/damage_system.gd" id="damage_system"]
[ext_resource type="Script" uid="uid://drdlh6tq0dfwo" path="res://systems/effect_system.gd" id="effect_system"]
[ext_resource type="Script" uid="uid://bqebxfvticxto" path="res://systems/element_system.gd" id="element_system"]
[ext_resource type="Script" uid="uid://bwhxu5586lc1l" path="res://systems/enemy_ai_system.gd" id="enemy_ai_system"]
[ext_resource type="Script" uid="uid://b3wkn5118dimy" path="res://systems/health_system.gd" id="health_system"]
[ext_resource type="PackedScene" path="res://scenes/hud/hud.tscn" id="hud"]
@@ -92,8 +93,11 @@ script = ExtResource("respawn_system")
[node name="SpawnSystem" type="Node" parent="Systems" unique_id=1099032666]
script = ExtResource("spawn_system")
[node name="BuffSystem" type="Node" parent="Systems" unique_id=1219368182]
script = ExtResource("buff_system")
[node name="EffectSystem" type="Node" parent="Systems" unique_id=1219368182]
script = ExtResource("effect_system")
[node name="ElementSystem" type="Node" parent="Systems" unique_id=1401212832]
script = ExtResource("element_system")
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="." unique_id=1265843679]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0027503967, 0.014227867, 0.023231506)