midori-school/levels/ui/savefile.tscn
2024-11-03 16:29:58 -07:00

79 lines
2.4 KiB
Text

[gd_scene load_steps=9 format=2]
[ext_resource path="res://levels/ui/savefile.gd" type="Script" id=1]
[ext_resource path="res://backgounds/night-sky-at-ceres.jpg" type="Texture" id=2]
[ext_resource path="res://fonts/button1.tres" type="DynamicFont" id=3]
[ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=4]
[ext_resource path="res://fonts/title.tres" type="DynamicFont" id=5]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0, 0.8, 0, 1 )
[sub_resource type="StyleBoxFlat" id=2]
bg_color = Color( 0, 0.8, 0, 1 )
[sub_resource type="StyleBoxFlat" id=3]
bg_color = Color( 0, 0.8, 0, 1 )
[node name="Savefile" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
[node name="Night Sky" type="TextureRect" parent="."]
margin_right = 1280.0
margin_bottom = 720.0
texture = ExtResource( 2 )
[node name="Game name" type="Label" parent="."]
margin_top = 55.0
margin_right = 1280.0
margin_bottom = 185.0
custom_fonts/font = ExtResource( 5 )
text = "BUTTON_PERSISTENCE"
align = 1
valign = 1
[node name="Bottomhud" parent="." instance=ExtResource( 4 )]
[node name="VBoxContainer" type="VBoxContainer" parent="."]
margin_left = 254.5
margin_top = 293.0
margin_right = 1036.5
margin_bottom = 705.0
[node name="Load" type="Button" parent="VBoxContainer"]
margin_right = 782.0
margin_bottom = 100.0
custom_fonts/font = ExtResource( 3 )
custom_styles/focus = SubResource( 1 )
text = "BUTTON_LOAD"
[node name="Save" type="Button" parent="VBoxContainer"]
margin_top = 104.0
margin_right = 782.0
margin_bottom = 204.0
custom_fonts/font = ExtResource( 3 )
custom_styles/focus = SubResource( 2 )
text = "BUTTON_SAVE"
[node name="Erase" type="Button" parent="VBoxContainer"]
margin_top = 208.0
margin_right = 782.0
margin_bottom = 308.0
custom_fonts/font = ExtResource( 3 )
custom_styles/focus = SubResource( 3 )
text = "BUTTON_ERASE"
[node name="Back" type="Button" parent="VBoxContainer"]
margin_top = 312.0
margin_right = 782.0
margin_bottom = 412.0
custom_fonts/font = ExtResource( 3 )
custom_styles/focus = SubResource( 3 )
text = "BUTTON_RETURN"
[connection signal="pressed" from="VBoxContainer/Load" to="." method="_on_load_pressed"]
[connection signal="pressed" from="VBoxContainer/Save" to="." method="_on_save_pressed"]
[connection signal="pressed" from="VBoxContainer/Erase" to="." method="_on_erase_pressed"]
[connection signal="pressed" from="VBoxContainer/Back" to="." method="_on_back_pressed"]