project_teddy/scenes/death.tscn
2023-05-16 10:00:28 -06:00

37 lines
1.1 KiB
Text

[gd_scene load_steps=2 format=3 uid="uid://dt3mxjsi3yxrq"]
[ext_resource type="Script" path="res://scripts/death.gd" id="1_we0rj"]
[node name="death" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_we0rj")
[node name="Panel" type="Panel" parent="."]
layout_mode = 0
offset_left = 294.0
offset_top = 179.0
offset_right = 847.0
offset_bottom = 403.0
[node name="deathBar" type="ProgressBar" parent="."]
modulate = Color(0.894118, 0, 0.00392157, 1)
layout_mode = 0
offset_left = 319.0
offset_top = 295.0
offset_right = 817.0
offset_bottom = 367.0
[node name="badnewsman" type="Label" parent="."]
layout_mode = 0
offset_left = 303.0
offset_top = 187.0
offset_right = 837.0
offset_bottom = 291.0
text = "Uhhhh I'm sorry to embarrass you but you're dead... I'm sorry to be the bearer of bad news. Maybe you'll do better in your next life huh? You'll be revived once this bar gets to 100% OR YOU CAN PRESS ENTER TO RESPAWN EARLY WITH AMOUNT OF HEALTH IN BAR"
horizontal_alignment = 1
autowrap_mode = 2