2025-09-14 01:31:18 +02:00
|
|
|
[gd_scene load_steps=9 format=3 uid="uid://dyl4wiga2goi"]
|
|
|
|
|
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dg8bjkjuddnhg" path="res://Enemies/enemy.tscn" id="1_ohyx6"]
|
|
|
|
|
[ext_resource type="Script" uid="uid://dw53e0rr7qc02" path="res://Enemies/boss.gd" id="2_vnmiq"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://d38rvmky1mr5f" path="res://Assets/Characters/72 Character Free/Char 5/Character 5.png" id="3_831fr"]
|
|
|
|
|
[ext_resource type="Script" uid="uid://ddgbr0n8kic3y" path="res://Towers/Projectiles/ProjectileResource.gd" id="3_vnmiq"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dqyhhvxpwtpsy" path="res://Assets/Emotes/emote_star.png" id="4_831fr"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="Resource" id="Resource_831fr"]
|
|
|
|
|
script = ExtResource("3_vnmiq")
|
|
|
|
|
speed = 2
|
|
|
|
|
damage = 3
|
|
|
|
|
maxTargets = 1
|
|
|
|
|
type = 4
|
|
|
|
|
allowedTargets = 2
|
|
|
|
|
sprite = ExtResource("4_831fr")
|
|
|
|
|
metadata/_custom_type_script = "uid://ddgbr0n8kic3y"
|
|
|
|
|
|
|
|
|
|
[sub_resource type="ViewportTexture" id="ViewportTexture_mw235"]
|
|
|
|
|
viewport_path = NodePath("Enemy/HealthBar3D/SubViewport")
|
|
|
|
|
|
|
|
|
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_tviqb"]
|
2025-09-14 11:38:05 +02:00
|
|
|
points = PackedVector3Array(0, 0, 0, -1.5, 1, -3, 1.5, 1, -3, 1.5, 0, -3, -1.5, 0, -3)
|
2025-09-14 01:31:18 +02:00
|
|
|
|
|
|
|
|
[node name="PathFollow3D" instance=ExtResource("1_ohyx6")]
|
|
|
|
|
|
|
|
|
|
[node name="Enemy" parent="." index="0"]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.32, 0)
|
|
|
|
|
script = ExtResource("2_vnmiq")
|
|
|
|
|
projectile = SubResource("Resource_831fr")
|
|
|
|
|
speed = 0.7
|
|
|
|
|
base_attack_damage = 10
|
|
|
|
|
max_life = 20
|
|
|
|
|
money = 120
|
|
|
|
|
|
|
|
|
|
[node name="Sprite3D" parent="Enemy" index="1"]
|
|
|
|
|
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0)
|
|
|
|
|
texture = ExtResource("3_831fr")
|
|
|
|
|
|
|
|
|
|
[node name="HealthBar3D" parent="Enemy" index="2"]
|
|
|
|
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0.34, 0)
|
|
|
|
|
texture = SubResource("ViewportTexture_mw235")
|
|
|
|
|
|
|
|
|
|
[node name="TowerAttackRange" type="Area3D" parent="Enemy" index="4"]
|
|
|
|
|
collision_layer = 4
|
|
|
|
|
collision_mask = 4
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Enemy/TowerAttackRange" index="0"]
|
|
|
|
|
shape = SubResource("ConvexPolygonShape3D_tviqb")
|
|
|
|
|
debug_color = Color(0.419608, 0, 0.584314, 0.419608)
|