mirror of
https://github.com/kristoferssolo/FuncIt.git
synced 2025-10-21 19:30:35 +00:00
100 lines
2.6 KiB
Plaintext
100 lines
2.6 KiB
Plaintext
[gd_scene load_steps=9 format=2]
|
|
|
|
[ext_resource path="res://source/fonts/oxygen/Oxygen-Bold.ttf" type="DynamicFontData" id=1]
|
|
[ext_resource path="res://source/fonts/oxygen/Oxygen-Regular.ttf" type="DynamicFontData" id=2]
|
|
[ext_resource path="res://source/fonts/oxygen/oxygen_regular.tres" type="DynamicFont" id=3]
|
|
[ext_resource path="res://source/scenes/OVERLAY/elements/button.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://source/assets/scripts/ui_element_handlers/lose_screen.gd" type="Script" id=5]
|
|
|
|
[sub_resource type="StyleBoxFlat" id=1]
|
|
bg_color = Color( 0, 0, 0, 0.588235 )
|
|
|
|
[sub_resource type="DynamicFont" id=2]
|
|
size = 144
|
|
use_mipmaps = true
|
|
use_filter = true
|
|
font_data = ExtResource( 1 )
|
|
|
|
[sub_resource type="DynamicFont" id=3]
|
|
size = 50
|
|
use_mipmaps = true
|
|
use_filter = true
|
|
font_data = ExtResource( 2 )
|
|
|
|
[node name="lose_screen" type="Node2D"]
|
|
script = ExtResource( 5 )
|
|
|
|
[node name="Panel" type="Panel" parent="."]
|
|
margin_right = 1920.0
|
|
margin_bottom = 1080.0
|
|
rect_scale = Vector2( 1.00112, 1 )
|
|
custom_styles/panel = SubResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Label" type="Label" parent="Panel"]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -492.5
|
|
margin_top = -91.0
|
|
margin_right = 492.5
|
|
margin_bottom = 91.0
|
|
custom_fonts/font = SubResource( 2 )
|
|
custom_colors/font_color = Color( 0.858824, 0.396078, 0.447059, 1 )
|
|
text = "you died!"
|
|
align = 1
|
|
valign = 1
|
|
uppercase = true
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="respawn" parent="Panel" instance=ExtResource( 4 )]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -350.0
|
|
margin_top = 110.0
|
|
margin_right = -49.9995
|
|
margin_bottom = 182.0
|
|
|
|
[node name="Label" type="Label" parent="Panel/respawn"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
custom_fonts/font = ExtResource( 3 )
|
|
custom_colors/font_color = Color( 0, 0, 0, 1 )
|
|
text = "respawn"
|
|
align = 1
|
|
valign = 1
|
|
uppercase = true
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="exit" parent="Panel" instance=ExtResource( 4 )]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = 50.0
|
|
margin_top = 110.0
|
|
margin_right = 350.0
|
|
margin_bottom = 182.0
|
|
|
|
[node name="Label" type="Label" parent="Panel/exit"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
custom_fonts/font = SubResource( 3 )
|
|
custom_colors/font_color = Color( 0, 0, 0, 1 )
|
|
text = "exit"
|
|
align = 1
|
|
valign = 1
|
|
uppercase = true
|
|
|
|
[connection signal="pressed" from="Panel/respawn" to="." method="_on_respawn_pressed"]
|
|
[connection signal="pressed" from="Panel/exit" to="." method="_on_exit_pressed"]
|