2024-07-07 15:10:25 +00:00
|
|
|
[gd_scene load_steps=11 format=3 uid="uid://cj65pso40syj5"]
|
2024-04-28 13:55:19 +00:00
|
|
|
|
2024-05-08 10:22:04 +00:00
|
|
|
[ext_resource type="Script" path="res://scripts/character/AiCharacter.cs" id="1_ubaid"]
|
2024-04-28 13:55:19 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://b1twcink38sh0" path="res://sprites/Player.png" id="2_eha68"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/damage/DamageNumberNodeSpawn.cs" id="3_kiam3"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://sqqfrmikmk5v" path="res://prefab/ui/HealthBar.tscn" id="4_gt388"]
|
2024-07-07 15:10:25 +00:00
|
|
|
[ext_resource type="Script" path="res://scripts/bubble/BubbleMarker.cs" id="5_y2fh5"]
|
2024-04-28 13:55:19 +00:00
|
|
|
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_bb8wt"]
|
|
|
|
radius = 20.0
|
|
|
|
height = 52.0
|
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_vmqbt"]
|
2024-07-18 11:46:23 +00:00
|
|
|
radius = 65.3758
|
2024-04-28 13:55:19 +00:00
|
|
|
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_qumby"]
|
|
|
|
animations = [{
|
|
|
|
"frames": [{
|
|
|
|
"duration": 1.0,
|
|
|
|
"texture": ExtResource("2_eha68")
|
|
|
|
}],
|
|
|
|
"loop": true,
|
|
|
|
"name": &"default",
|
|
|
|
"speed": 5.0
|
|
|
|
}]
|
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_c61vr"]
|
2024-07-10 15:23:04 +00:00
|
|
|
radius = 185.132
|
2024-07-07 15:10:25 +00:00
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_fowd5"]
|
|
|
|
radius = 233.808
|
2024-04-28 13:55:19 +00:00
|
|
|
|
|
|
|
[node name="DelivererOfDarkMagic" type="CharacterBody2D"]
|
|
|
|
collision_layer = 64
|
|
|
|
collision_mask = 38
|
2024-05-08 10:22:04 +00:00
|
|
|
script = ExtResource("1_ubaid")
|
2024-06-16 08:56:45 +00:00
|
|
|
LootListId = "test"
|
2024-04-28 13:55:19 +00:00
|
|
|
metadata/CampId = "Mazoku"
|
2024-05-10 14:56:27 +00:00
|
|
|
metadata/MaxHp = 50
|
2024-04-28 13:55:19 +00:00
|
|
|
metadata/Name = "死灵法师"
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
|
position = Vector2(0, 4)
|
|
|
|
shape = SubResource("CapsuleShape2D_bb8wt")
|
|
|
|
|
|
|
|
[node name="Area2DPickingArea" type="Area2D" parent="."]
|
|
|
|
collision_layer = 0
|
|
|
|
collision_mask = 8
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2DPickingArea"]
|
|
|
|
shape = SubResource("CircleShape2D_vmqbt")
|
|
|
|
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
|
|
sprite_frames = SubResource("SpriteFrames_qumby")
|
|
|
|
|
|
|
|
[node name="ItemMarker2D" type="Marker2D" parent="."]
|
|
|
|
position = Vector2(15, 20)
|
|
|
|
|
|
|
|
[node name="AttackObstacleDetection" type="RayCast2D" parent="ItemMarker2D"]
|
|
|
|
collision_mask = 2
|
|
|
|
|
|
|
|
[node name="DamageNumber" type="Marker2D" parent="."]
|
|
|
|
position = Vector2(0, -32)
|
|
|
|
script = ExtResource("3_kiam3")
|
|
|
|
|
|
|
|
[node name="HealthBar" parent="." instance=ExtResource("4_gt388")]
|
|
|
|
visible = false
|
|
|
|
offset_left = -46.0
|
|
|
|
offset_top = 41.0
|
|
|
|
offset_right = 50.0
|
|
|
|
offset_bottom = 53.0
|
|
|
|
|
|
|
|
[node name="WallDetection" type="RayCast2D" parent="."]
|
|
|
|
position = Vector2(3, -1)
|
|
|
|
target_position = Vector2(50, 0)
|
|
|
|
collision_mask = 6
|
|
|
|
|
|
|
|
[node name="AttackArea2D" type="Area2D" parent="."]
|
|
|
|
collision_layer = 0
|
|
|
|
collision_mask = 68
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="AttackArea2D"]
|
|
|
|
shape = SubResource("CircleShape2D_c61vr")
|
2024-06-30 23:55:58 +00:00
|
|
|
|
|
|
|
[node name="NavigationAgent2D" type="NavigationAgent2D" parent="."]
|
2024-07-07 15:10:25 +00:00
|
|
|
|
|
|
|
[node name="BubbleMarker" type="Marker2D" parent="."]
|
|
|
|
position = Vector2(0, -79)
|
|
|
|
script = ExtResource("5_y2fh5")
|
|
|
|
|
|
|
|
[node name="VisibleOnScreenEnabler2D" type="VisibleOnScreenEnabler2D" parent="."]
|
|
|
|
position = Vector2(0, 5.5)
|
|
|
|
scale = Vector2(2.04, 3.05)
|
|
|
|
|
|
|
|
[node name="ScoutArea2D" type="Area2D" parent="."]
|
|
|
|
collision_layer = 0
|
2024-07-17 14:54:42 +00:00
|
|
|
collision_mask = 76
|
2024-07-07 15:10:25 +00:00
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="ScoutArea2D"]
|
|
|
|
shape = SubResource("CircleShape2D_fowd5")
|