Files
mortal-maze-the-game/bosses/spectral_death/spectral_death.tscn
T

59 lines
1.5 KiB
Plaintext

[gd_scene load_steps=3 format=3]
[ext_resource type="Script" path="res://bosses/spectral_death/spectral_death.gd" id="boss"]
[sub_resource type="RectangleShape2D" id="hurt_shape"]
size = Vector2(118, 204)
[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"]
shape = SubResource("hurt_shape")
[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 = 82.0
[node name="Rows" type="VBoxContainer" parent="BossHUD/Panel"]
[node name="Status" type="Label" parent="BossHUD/Panel/Rows"]
text = "LA MUERTE ESPECTRAL"
horizontal_alignment = 1
[node name="Bars" type="HBoxContainer" parent="BossHUD/Panel/Rows"]
theme_override_constants/separation = 6
[node name="Life1" type="ProgressBar" parent="BossHUD/Panel/Rows/Bars"]
size_flags_horizontal = 3
max_value = 40.0
value = 40.0
show_percentage = false
[node name="Life2" type="ProgressBar" parent="BossHUD/Panel/Rows/Bars"]
size_flags_horizontal = 3
max_value = 40.0
value = 40.0
show_percentage = false
[node name="Life3" type="ProgressBar" parent="BossHUD/Panel/Rows/Bars"]
size_flags_horizontal = 3
max_value = 40.0
value = 40.0
show_percentage = false