[gd_scene load_steps=9 format=3 uid="uid://3e6fmds2x8q5"] [ext_resource type="Script" path="res://script/entities/ai_fighter.cs" id="1_mbtbe"] [ext_resource type="Texture2D" uid="uid://soden53qtfxf" path="res://assets/Ships/Fighters/Enemy/enemyFighter.png" id="2_ddmyk"] [ext_resource type="FontFile" uid="uid://ryhimaxr7tr4" path="res://assets/Fonts/Kenney Mini Square.ttf" id="3_ps710"] [ext_resource type="AudioStream" uid="uid://bkmou1np8dpi6" path="res://assets/sounds/laser_fire.ogg" id="4_mwdhe"] [ext_resource type="AudioStream" uid="uid://7jden56war5n" path="res://assets/sounds/ship_dmg.ogg" id="5_3k4h5"] [ext_resource type="AudioStream" uid="uid://d4ebqwhtvkwvd" path="res://scenes/ui/ship_explode.ogg" id="6_5sxl0"] [sub_resource type="CircleShape2D" id="CircleShape2D_6vq6f"] radius = 41.0488 [sub_resource type="LabelSettings" id="LabelSettings_lim1q"] font = ExtResource("3_ps710") font_size = 40 [node name="AI_Fighter" type="CharacterBody2D"] collision_mask = 13 motion_mode = 1 script = ExtResource("1_mbtbe") 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("2_ddmyk") [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 [node name="LaserSFX" type="AudioStreamPlayer2D" parent="."] stream = ExtResource("4_mwdhe") [node name="DamageSFX" type="AudioStreamPlayer2D" parent="."] stream = ExtResource("5_3k4h5") [node name="ExplodeSFX" type="AudioStreamPlayer2D" parent="."] stream = ExtResource("6_5sxl0")