[gd_scene load_steps=8 format=3] [ext_resource type="Script" path="res://bosses/spectral_death/spectral_death.gd" id="boss"] [ext_resource type="SpriteFrames" path="res://assets/bosses/muerte/muerte_frames.tres" id="frames"] [ext_resource type="Texture2D" path="res://assets/bosses/muerte/spectral_scythe.svg" id="scythe"] [sub_resource type="RectangleShape2D" id="hurt_shape"] size = Vector2(154, 270) [sub_resource type="StyleBoxFlat" id="hud_panel"] bg_color = Color(0.08, 0.045, 0.13, 0.85) border_width_left = 2 border_width_top = 2 border_width_right = 2 border_width_bottom = 2 border_color = Color(0.53, 0.36, 0.68, 0.95) corner_radius_top_left = 7 corner_radius_top_right = 7 corner_radius_bottom_right = 7 corner_radius_bottom_left = 7 [sub_resource type="StyleBoxFlat" id="bar_empty"] bg_color = Color(0.17, 0.11, 0.22, 1) [sub_resource type="StyleBoxFlat" id="bar_fill"] bg_color = Color(0.61, 0.91, 0.78, 1) [node name="SpectralDeath" type="Node2D" groups=["enemy"]] script = ExtResource("boss") z_index = 5 [node name="Hurtbox" type="Area2D" parent="."] collision_layer = 16 collision_mask = 0 monitoring = false monitorable = true [node name="CollisionShape2D" type="CollisionShape2D" parent="Hurtbox"] position = Vector2(0, -12) shape = SubResource("hurt_shape") [node name="Body" type="AnimatedSprite2D" parent="."] position = Vector2(0, -26) scale = Vector2(1.14, 1.14) sprite_frames = ExtResource("frames") animation = &"idle" autoplay = "idle" [node name="WeaponPivot" type="Node2D" parent="."] position = Vector2(-69, -32) [node name="HeldScythe" type="Sprite2D" parent="WeaponPivot"] texture = ExtResource("scythe") offset = Vector2(30, -73) scale = Vector2(1.25, 1.25) [node name="ThrownScythe" type="Sprite2D" parent="."] visible = false texture = ExtResource("scythe") scale = Vector2(1.2, 1.2) [node name="BossHUD" type="CanvasLayer" parent="."] visible = false layer = 3 [node name="Panel" type="PanelContainer" parent="BossHUD"] anchors_preset = 10 anchor_right = 1.0 offset_left = 64.0 offset_top = 22.0 offset_right = -64.0 offset_bottom = 90.0 theme_override_styles/panel = SubResource("hud_panel") [node name="Rows" type="VBoxContainer" parent="BossHUD/Panel"] theme_override_constants/separation = 7 [node name="Status" type="Label" parent="BossHUD/Panel/Rows"] theme_override_colors/font_color = Color(0.91, 0.95, 0.92, 1) theme_override_font_sizes/font_size = 21 text = "LA MUERTE ESPECTRAL" horizontal_alignment = 1 [node name="Bars" type="HBoxContainer" parent="BossHUD/Panel/Rows"] theme_override_constants/separation = 8 [node name="Life1" type="ProgressBar" parent="BossHUD/Panel/Rows/Bars"] custom_minimum_size = Vector2(0, 14) size_flags_horizontal = 3 theme_override_styles/background = SubResource("bar_empty") theme_override_styles/fill = SubResource("bar_fill") max_value = 40.0 value = 40.0 show_percentage = false [node name="Life2" type="ProgressBar" parent="BossHUD/Panel/Rows/Bars"] custom_minimum_size = Vector2(0, 14) size_flags_horizontal = 3 theme_override_styles/background = SubResource("bar_empty") theme_override_styles/fill = SubResource("bar_fill") max_value = 40.0 value = 40.0 show_percentage = false [node name="Life3" type="ProgressBar" parent="BossHUD/Panel/Rows/Bars"] custom_minimum_size = Vector2(0, 14) size_flags_horizontal = 3 theme_override_styles/background = SubResource("bar_empty") theme_override_styles/fill = SubResource("bar_fill") max_value = 40.0 value = 40.0 show_percentage = false