[gd_scene load_steps=6 format=3 uid="uid://3e6fmds2x8q5"] [ext_resource type="Texture2D" uid="uid://soden53qtfxf" path="res://assets/Ships/Fighters/Enemy/enemyFighter.png" id="1_4l75b"] [ext_resource type="Script" path="res://script/ai_fighter.cs" id="1_kyds1"] [ext_resource type="FontFile" uid="uid://ryhimaxr7tr4" path="res://assets/Fonts/Kenney Mini Square.ttf" id="3_8bw2f"] [sub_resource type="CircleShape2D" id="CircleShape2D_6vq6f"] radius = 41.0488 [sub_resource type="LabelSettings" id="LabelSettings_lim1q"] font = ExtResource("3_8bw2f") font_size = 40 [node name="AI_Fighter" type="CharacterBody2D"] collision_mask = 13 motion_mode = 1 script = ExtResource("1_kyds1") Faction = 2 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] scale = Vector2(1.3, 1.3) shape = SubResource("CircleShape2D_6vq6f") [node name="ShipSprite" type="Sprite2D" parent="."] texture = ExtResource("1_4l75b") [node name="LaserSpawn" type="Node2D" parent="."] position = Vector2(0, -75) [node name="EffectSpawn" type="Node2D" parent="."] [node name="HealthDisplay" type="Node2D" parent="."] position = Vector2(-30, 90) scale = Vector2(1.2, 1.2) [node name="HealthLabel" type="Label" parent="HealthDisplay"] offset_right = 65.0 offset_bottom = 50.0 text = "100" label_settings = SubResource("LabelSettings_lim1q") horizontal_alignment = 1 [node name="HPLabel" type="Label" parent="HealthDisplay"] offset_left = 62.0 offset_top = -2.0 offset_right = 127.0 offset_bottom = 48.0 scale = Vector2(0.5, 0.5) text = "HP" label_settings = SubResource("LabelSettings_lim1q") horizontal_alignment = 1