This repository has been archived on 2023-08-08. You can view files and clone it, but cannot push or open issues/pull-requests.
evospace/ui/game_over/game_over.tscn

116 lines
2.7 KiB
Plaintext

[gd_scene load_steps=8 format=2]
[ext_resource path="res://ui/pixelated_style.tres" type="StyleBox" id=1]
[ext_resource path="res://ui/background.png" type="Texture" id=2]
[ext_resource path="res://ui/Kenney Mini.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://ui/kenny_mini_8px.tres" type="DynamicFont" id=4]
[ext_resource path="res://ui/name_selector/name_selector.tscn" type="PackedScene" id=5]
[ext_resource path="res://ui/game_over/game_over.gd" type="Script" id=6]
[sub_resource type="DynamicFont" id=1]
font_data = ExtResource( 3 )
[node name="game_over" type="Control" groups=[
"Persistent",
]]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 6 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="title" type="Label" parent="."]
margin_left = 32.0
margin_top = 32.0
margin_right = 128.0
margin_bottom = 52.0
custom_fonts/font = SubResource( 1 )
text = "GAME OVER"
align = 1
valign = 1
uppercase = true
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="score" type="Label" parent="."]
margin_left = 32.0
margin_top = 56.0
margin_right = 128.0
margin_bottom = 66.0
custom_fonts/font = ExtResource( 4 )
text = "Score: 99999999"
align = 2
uppercase = true
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="next" type="Label" parent="."]
margin_left = 4.91322
margin_top = 117.755
margin_right = 100.913
margin_bottom = 140.755
custom_fonts/font = ExtResource( 4 )
text = "Z - Submit score
X - Back to menu"
uppercase = true
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="hiscore" type="Label" parent="."]
margin_left = 32.0
margin_top = 72.0
margin_right = 128.0
margin_bottom = 82.0
custom_fonts/font = ExtResource( 4 )
text = "High Score: 99999999"
align = 2
uppercase = true
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="name" type="LineEdit" parent="."]
visible = false
margin_left = 48.0
margin_top = 88.0
margin_right = 112.0
margin_bottom = 102.0
custom_styles/read_only = ExtResource( 1 )
custom_styles/focus = ExtResource( 1 )
custom_styles/normal = ExtResource( 1 )
custom_fonts/font = ExtResource( 4 )
custom_colors/font_color_selected = Color( 1, 1, 1, 1 )
custom_colors/font_color = Color( 1, 1, 1, 1 )
align = 1
max_length = 10
placeholder_text = "Name"
placeholder_alpha = 1.0
caret_blink = true
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="background" type="Sprite" parent="."]
position = Vector2( 80, 72 )
scale = Vector2( 22, 20 )
z_index = -100
texture = ExtResource( 2 )
__meta__ = {
"_edit_lock_": true
}
[node name="name_selector" parent="." instance=ExtResource( 5 )]
margin_left = 56.0
margin_top = 88.0
margin_right = 56.08
margin_bottom = 88.0