128 lines
3.6 KiB
Plaintext
128 lines
3.6 KiB
Plaintext
[gd_scene load_steps=9 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/ashen/bosses/spectral_scythe.png" id="scythe"]
|
|
|
|
[ext_resource type="Texture2D" path="res://assets/ashen/ui/boss_bar_frame.png" id="boss_hud_frame"]
|
|
[ext_resource type="Theme" path="res://ui/hud/thrash_hud_theme.tres" id="hud_theme"]
|
|
[ext_resource type="Script" path="res://ui/hud/thrash_meter.gd" id="hud_meter"]
|
|
[ext_resource type="Script" path="res://ui/hud/boss_hud_layout.gd" id="hud_layout"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="hurt_shape"]
|
|
size = Vector2(154, 270)
|
|
|
|
[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="."]
|
|
texture_filter = 1
|
|
position = Vector2(0, -26)
|
|
scale = Vector2(1, 1)
|
|
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_filter = 1
|
|
texture = ExtResource("scythe")
|
|
flip_h = true
|
|
|
|
[node name="ThrownScythe" type="Sprite2D" parent="."]
|
|
visible = false
|
|
texture_filter = 1
|
|
texture = ExtResource("scythe")
|
|
|
|
[node name="BossHUD" type="CanvasLayer" parent="."]
|
|
visible = false
|
|
layer = 85
|
|
|
|
[node name="Panel" type="Control" parent="BossHUD"]
|
|
offset_left = 200.0
|
|
offset_top = 550.0
|
|
offset_right = 1080.0
|
|
offset_bottom = 690.0
|
|
mouse_filter = 2
|
|
theme = ExtResource("hud_theme")
|
|
script = ExtResource("hud_layout")
|
|
|
|
[node name="Rows" type="VBoxContainer" parent="BossHUD/Panel"]
|
|
layout_mode = 0
|
|
offset_left = 76.0
|
|
offset_top = -30.0
|
|
offset_right = 804.0
|
|
offset_bottom = 94.0
|
|
mouse_filter = 2
|
|
theme_override_constants/separation = 75
|
|
|
|
[node name="Status" type="Label" parent="BossHUD/Panel/Rows"]
|
|
custom_minimum_size = Vector2(0, 24)
|
|
layout_mode = 2
|
|
mouse_filter = 2
|
|
theme_override_colors/font_color = Color(0.86, 0.79, 0.64, 1)
|
|
theme_override_font_sizes/font_size = 16
|
|
text = "LA MUERTE ESPECTRAL"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="Bars" type="HBoxContainer" parent="BossHUD/Panel/Rows"]
|
|
layout_mode = 2
|
|
mouse_filter = 2
|
|
theme_override_constants/separation = 6
|
|
|
|
[node name="Life1" type="ProgressBar" parent="BossHUD/Panel/Rows/Bars"]
|
|
custom_minimum_size = Vector2(0, 25)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
mouse_filter = 2
|
|
max_value = 40.0
|
|
value = 40.0
|
|
show_percentage = false
|
|
script = ExtResource("hud_meter")
|
|
fill_color = Color(0.56, 0.085, 0.16, 1)
|
|
|
|
[node name="Life2" type="ProgressBar" parent="BossHUD/Panel/Rows/Bars"]
|
|
custom_minimum_size = Vector2(0, 25)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
mouse_filter = 2
|
|
max_value = 40.0
|
|
value = 40.0
|
|
show_percentage = false
|
|
script = ExtResource("hud_meter")
|
|
fill_color = Color(0.56, 0.085, 0.16, 1)
|
|
|
|
[node name="Life3" type="ProgressBar" parent="BossHUD/Panel/Rows/Bars"]
|
|
custom_minimum_size = Vector2(0, 25)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
mouse_filter = 2
|
|
max_value = 40.0
|
|
value = 40.0
|
|
show_percentage = false
|
|
script = ExtResource("hud_meter")
|
|
fill_color = Color(0.56, 0.085, 0.16, 1)
|
|
|
|
[node name="Frame" type="TextureRect" parent="BossHUD/Panel"]
|
|
layout_mode = 0
|
|
offset_right = 880.0
|
|
offset_bottom = 140.0
|
|
mouse_filter = 2
|
|
texture_filter = 1
|
|
texture = ExtResource("boss_hud_frame")
|
|
expand_mode = 1
|