[gd_scene load_steps=11 format=3 uid="uid://dxx1vqpecig7i"] [ext_resource type="Script" path="res://scripts/character/AiCharacter.cs" id="1_ubaid"] [ext_resource type="Texture2D" uid="uid://c1yxhtiqrfvvp" path="res://sprites/character/BlackenedAboriginalWarrior.png" id="2_pcmq1"] [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"] [ext_resource type="Script" path="res://scripts/bubble/BubbleMarker.cs" id="5_y2fh5"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_f8frw"] size = Vector2(40, 46) [sub_resource type="RectangleShape2D" id="RectangleShape2D_a3myh"] size = Vector2(46, 65) [sub_resource type="SpriteFrames" id="SpriteFrames_qumby"] animations = [{ "frames": [{ "duration": 1.0, "texture": ExtResource("2_pcmq1") }], "loop": true, "name": &"default", "speed": 5.0 }] [sub_resource type="CircleShape2D" id="CircleShape2D_c61vr"] radius = 153.0 [sub_resource type="CircleShape2D" id="CircleShape2D_fowd5"] radius = 172.29 [node name="BlackenedAboriginalWarrior" type="CharacterBody2D"] collision_layer = 64 collision_mask = 38 script = ExtResource("1_ubaid") CharacterName = "character_evil_crow" CanMutateAfterDeath = false MaxHp = 50 CampId = "Mazoku" [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(2, 10) shape = SubResource("RectangleShape2D_f8frw") [node name="Area2DPickingArea" type="Area2D" parent="."] collision_layer = 0 collision_mask = 8 [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2DPickingArea"] position = Vector2(0, 5.5) shape = SubResource("RectangleShape2D_a3myh") [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") [node name="NavigationAgent2D" type="NavigationAgent2D" parent="."] [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 collision_mask = 76 [node name="CollisionShape2D" type="CollisionShape2D" parent="ScoutArea2D"] shape = SubResource("CircleShape2D_fowd5") [node name="TipLabel" type="Label" parent="."] offset_left = -20.0 offset_top = 46.0 offset_right = 15.0 offset_bottom = 71.0 horizontal_alignment = 1