midori-school/levels/ui/savefile.tscn

80 lines
2.4 KiB
Text
Raw Normal View History

2024-11-04 00:29:58 +01:00
[gd_scene load_steps=9 format=2]
2024-09-24 02:27:17 +02:00
2024-11-04 00:29:58 +01:00
[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]
2024-09-24 02:27:17 +02:00
2024-11-04 00:29:58 +01:00
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0, 0.8, 0, 1 )
2024-09-24 02:27:17 +02:00
2024-11-04 00:29:58 +01:00
[sub_resource type="StyleBoxFlat" id=2]
bg_color = Color( 0, 0.8, 0, 1 )
2024-09-24 02:27:17 +02:00
2024-11-04 00:29:58 +01:00
[sub_resource type="StyleBoxFlat" id=3]
bg_color = Color( 0, 0.8, 0, 1 )
2024-09-24 02:27:17 +02:00
[node name="Savefile" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
2024-11-04 00:29:58 +01:00
script = ExtResource( 1 )
2024-09-24 02:27:17 +02:00
[node name="Night Sky" type="TextureRect" parent="."]
2024-11-04 00:29:58 +01:00
margin_right = 1280.0
margin_bottom = 720.0
texture = ExtResource( 2 )
2024-09-24 02:27:17 +02:00
[node name="Game name" type="Label" parent="."]
2024-11-04 00:29:58 +01:00
margin_top = 55.0
margin_right = 1280.0
margin_bottom = 185.0
custom_fonts/font = ExtResource( 5 )
2024-09-24 02:27:17 +02:00
text = "BUTTON_PERSISTENCE"
2024-11-04 00:29:58 +01:00
align = 1
valign = 1
2024-09-24 02:27:17 +02:00
2024-11-04 00:29:58 +01:00
[node name="Bottomhud" parent="." instance=ExtResource( 4 )]
2024-09-24 02:27:17 +02:00
[node name="VBoxContainer" type="VBoxContainer" parent="."]
2024-11-04 00:29:58 +01:00
margin_left = 254.5
margin_top = 293.0
margin_right = 1036.5
margin_bottom = 705.0
2024-09-24 02:27:17 +02:00
[node name="Load" type="Button" parent="VBoxContainer"]
2024-11-04 00:29:58 +01:00
margin_right = 782.0
margin_bottom = 100.0
custom_fonts/font = ExtResource( 3 )
custom_styles/focus = SubResource( 1 )
2024-09-24 02:27:17 +02:00
text = "BUTTON_LOAD"
[node name="Save" type="Button" parent="VBoxContainer"]
2024-11-04 00:29:58 +01:00
margin_top = 104.0
margin_right = 782.0
margin_bottom = 204.0
custom_fonts/font = ExtResource( 3 )
custom_styles/focus = SubResource( 2 )
2024-09-24 02:27:17 +02:00
text = "BUTTON_SAVE"
[node name="Erase" type="Button" parent="VBoxContainer"]
2024-11-04 00:29:58 +01:00
margin_top = 208.0
margin_right = 782.0
margin_bottom = 308.0
custom_fonts/font = ExtResource( 3 )
custom_styles/focus = SubResource( 3 )
2024-09-24 02:27:17 +02:00
text = "BUTTON_ERASE"
2024-09-26 20:42:29 +02:00
[node name="Back" type="Button" parent="VBoxContainer"]
2024-11-04 00:29:58 +01:00
margin_top = 312.0
margin_right = 782.0
margin_bottom = 412.0
custom_fonts/font = ExtResource( 3 )
custom_styles/focus = SubResource( 3 )
2024-09-26 20:42:29 +02:00
text = "BUTTON_RETURN"
2024-09-24 02:27:17 +02:00
[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"]
2024-09-26 20:42:29 +02:00
[connection signal="pressed" from="VBoxContainer/Back" to="." method="_on_back_pressed"]