feat: 添加敌人并且追踪player,同时避免敌人重叠
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
[gd_resource type="Resource" script_class="UnitStats" format=3 uid="uid://delxlqjos3br"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://emsi6ifyt0vf" path="res://assets/sprites/Enemies/Enemy_5.png" id="1_ab1gs"]
|
||||
[ext_resource type="Script" uid="uid://dgjdpmaiufhs6" path="res://resources/units/unit_stats.gd" id="2_mh3yp"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_mh3yp")
|
||||
name = "Charger"
|
||||
type = 1
|
||||
icon = ExtResource("1_ab1gs")
|
||||
health = 8
|
||||
health_increase_per_wave = 3.0
|
||||
damage = 2.5
|
||||
damage_increase_per_wave = 2.0
|
||||
speed = 280
|
||||
luck = 0.0
|
||||
block_chance = 6.0
|
||||
gold_drop = 3
|
||||
metadata/_custom_type_script = "uid://dgjdpmaiufhs6"
|
||||
@@ -0,0 +1,19 @@
|
||||
[gd_resource type="Resource" script_class="UnitStats" format=3 uid="uid://cv3187t7wsfxh"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c6vplmpl4q4jr" path="res://assets/sprites/Enemies/Enemy_3.png" id="1_ymlpp"]
|
||||
[ext_resource type="Script" uid="uid://dgjdpmaiufhs6" path="res://resources/units/unit_stats.gd" id="2_86dbv"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_86dbv")
|
||||
name = "Chaser Fast"
|
||||
type = 1
|
||||
icon = ExtResource("1_ymlpp")
|
||||
health = 6
|
||||
health_increase_per_wave = 2.5
|
||||
damage = 1.5
|
||||
damage_increase_per_wave = 1.5
|
||||
speed = 350
|
||||
luck = 0.0
|
||||
block_chance = 5.0
|
||||
gold_drop = 2
|
||||
metadata/_custom_type_script = "uid://dgjdpmaiufhs6"
|
||||
@@ -0,0 +1,17 @@
|
||||
[gd_resource type="Resource" script_class="UnitStats" format=3 uid="uid://db0igkyfvumk7"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bf4ls8ho3cuqa" path="res://assets/sprites/Enemies/Enemy_2.png" id="1_gkg84"]
|
||||
[ext_resource type="Script" uid="uid://dgjdpmaiufhs6" path="res://resources/units/unit_stats.gd" id="2_o5vp8"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_o5vp8")
|
||||
name = "Chaser Mid"
|
||||
type = 1
|
||||
icon = ExtResource("1_gkg84")
|
||||
health = 8
|
||||
health_increase_per_wave = 2.0
|
||||
damage = 2.0
|
||||
luck = 0.0
|
||||
block_chance = 7.0
|
||||
gold_drop = 2
|
||||
metadata/_custom_type_script = "uid://dgjdpmaiufhs6"
|
||||
@@ -0,0 +1,16 @@
|
||||
[gd_resource type="Resource" script_class="UnitStats" format=3 uid="uid://bn4dskgwnahaq"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://d1ou504pylric" path="res://assets/sprites/Enemies/Enemy_1.png" id="1_cneyk"]
|
||||
[ext_resource type="Script" uid="uid://dgjdpmaiufhs6" path="res://resources/units/unit_stats.gd" id="1_m42qi"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_m42qi")
|
||||
name = "Chaser Slow"
|
||||
type = 1
|
||||
icon = ExtResource("1_cneyk")
|
||||
health = 6
|
||||
damage = 1.5
|
||||
speed = 250
|
||||
luck = 0.0
|
||||
block_chance = 3.0
|
||||
metadata/_custom_type_script = "uid://dgjdpmaiufhs6"
|
||||
@@ -0,0 +1,19 @@
|
||||
[gd_resource type="Resource" script_class="UnitStats" format=3 uid="uid://bnknrm368mpwb"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://4mllmwdfhmce" path="res://assets/sprites/Enemies/Enemy_4.png" id="1_llpja"]
|
||||
[ext_resource type="Script" uid="uid://dgjdpmaiufhs6" path="res://resources/units/unit_stats.gd" id="2_1vxf5"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_1vxf5")
|
||||
name = "Shooter"
|
||||
type = 1
|
||||
icon = ExtResource("1_llpja")
|
||||
health = 4
|
||||
health_increase_per_wave = 2.0
|
||||
damage = 3.0
|
||||
damage_increase_per_wave = 1.5
|
||||
speed = 260
|
||||
luck = 0.0
|
||||
block_chance = 3.0
|
||||
gold_drop = 3
|
||||
metadata/_custom_type_script = "uid://dgjdpmaiufhs6"
|
||||
Reference in New Issue
Block a user