midori-school/levels/ui/erase.tscn

130 lines
4 KiB
Text
Raw Normal View History

2024-11-04 00:29:58 +01:00
[gd_scene load_steps=7 format=2]
2024-09-26 20:42:29 +02:00
2024-11-04 00:29:58 +01:00
[ext_resource path="res://backgounds/night-sky-at-ceres.jpg" type="Texture" id=1]
[ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=2]
[ext_resource path="res://levels/ui/erase.gd" type="Script" id=3]
[ext_resource path="res://fonts/start.tres" type="DynamicFont" id=4]
2024-09-26 20:42:29 +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-26 20:42:29 +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-26 20:42:29 +02:00
[node name="Erase" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
2024-11-04 00:29:58 +01:00
script = ExtResource( 3 )
2024-09-26 20:42:29 +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( 1 )
2024-09-26 20:42:29 +02:00
[node name="Game name" type="Label" parent="."]
2024-11-04 00:29:58 +01:00
margin_top = 3.0
margin_right = 1280.0
margin_bottom = 73.0
custom_fonts/font = ExtResource( 4 )
2024-09-26 20:42:29 +02:00
text = "BUTTON_ERASE"
2024-11-04 00:29:58 +01:00
align = 1
valign = 1
2024-09-26 20:42:29 +02:00
2024-11-04 00:29:58 +01:00
[node name="Bottomhud" parent="." instance=ExtResource( 2 )]
2024-09-26 20:42:29 +02:00
[node name="VBoxContainer" type="VBoxContainer" parent="."]
2024-11-04 00:29:58 +01:00
margin_left = 510.5
margin_top = 97.0
margin_right = 769.5
margin_bottom = 808.0
2024-09-26 20:42:29 +02:00
[node name="Ram" type="Button" parent="VBoxContainer"]
2024-11-04 00:29:58 +01:00
margin_right = 392.0
margin_bottom = 54.0
custom_fonts/font = ExtResource( 4 )
custom_styles/focus = SubResource( 1 )
2024-09-26 20:42:29 +02:00
text = "Game Data in RAM"
[node name="Slot1" type="Button" parent="VBoxContainer"]
2024-11-04 00:29:58 +01:00
margin_top = 58.0
margin_right = 392.0
margin_bottom = 112.0
custom_fonts/font = ExtResource( 4 )
custom_styles/focus = SubResource( 1 )
2024-09-26 20:42:29 +02:00
text = "Slot 1"
[node name="Slot2" type="Button" parent="VBoxContainer"]
2024-11-04 00:29:58 +01:00
margin_top = 116.0
margin_right = 392.0
margin_bottom = 170.0
custom_fonts/font = ExtResource( 4 )
custom_styles/focus = SubResource( 1 )
2024-09-26 20:42:29 +02:00
text = "Slot 2"
[node name="Slot3" type="Button" parent="VBoxContainer"]
2024-11-04 00:29:58 +01:00
margin_top = 174.0
margin_right = 392.0
margin_bottom = 228.0
custom_fonts/font = ExtResource( 4 )
custom_styles/focus = SubResource( 1 )
2024-09-26 20:42:29 +02:00
text = "Slot 3"
[node name="Slot4" type="Button" parent="VBoxContainer"]
2024-11-04 00:29:58 +01:00
margin_top = 232.0
margin_right = 392.0
margin_bottom = 286.0
custom_fonts/font = ExtResource( 4 )
custom_styles/focus = SubResource( 1 )
2024-09-26 20:42:29 +02:00
text = "Slot 4"
[node name="Slot5" type="Button" parent="VBoxContainer"]
2024-11-04 00:29:58 +01:00
margin_top = 290.0
margin_right = 392.0
margin_bottom = 344.0
custom_fonts/font = ExtResource( 4 )
custom_styles/focus = SubResource( 1 )
2024-09-26 20:42:29 +02:00
text = "Slot 5"
[node name="Slot6" type="Button" parent="VBoxContainer"]
2024-11-04 00:29:58 +01:00
margin_top = 348.0
margin_right = 392.0
margin_bottom = 402.0
custom_fonts/font = ExtResource( 4 )
custom_styles/focus = SubResource( 1 )
2024-09-26 20:42:29 +02:00
text = "Slot 6"
[node name="Slot7" type="Button" parent="VBoxContainer"]
2024-11-04 00:29:58 +01:00
margin_top = 406.0
margin_right = 392.0
margin_bottom = 460.0
custom_fonts/font = ExtResource( 4 )
custom_styles/focus = SubResource( 1 )
2024-09-26 20:42:29 +02:00
text = "Slot 7"
[node name="Slot8" type="Button" parent="VBoxContainer"]
2024-11-04 00:29:58 +01:00
margin_top = 464.0
margin_right = 392.0
margin_bottom = 518.0
custom_fonts/font = ExtResource( 4 )
custom_styles/focus = SubResource( 1 )
2024-09-26 20:42:29 +02:00
text = "Slot 8"
[node name="Back" type="Button" parent="VBoxContainer"]
2024-11-04 00:29:58 +01:00
margin_top = 522.0
margin_right = 392.0
margin_bottom = 576.0
custom_fonts/font = ExtResource( 4 )
custom_styles/focus = SubResource( 3 )
2024-09-26 20:42:29 +02:00
text = "BUTTON_RETURN"
[connection signal="pressed" from="VBoxContainer/Ram" to="." method="_on_ram_pressed"]
[connection signal="pressed" from="VBoxContainer/Slot1" to="." method="_on_slot_1_pressed"]
2024-11-04 00:29:58 +01:00
[connection signal="pressed" from="VBoxContainer/Slot2" to="." method="_on_slot_1_pressed"]
2024-09-26 20:42:29 +02:00
[connection signal="pressed" from="VBoxContainer/Slot3" to="." method="_on_slot_3_pressed"]
[connection signal="pressed" from="VBoxContainer/Slot4" to="." method="_on_slot_4_pressed"]
[connection signal="pressed" from="VBoxContainer/Slot5" to="." method="_on_slot_5_pressed"]
[connection signal="pressed" from="VBoxContainer/Slot6" to="." method="_on_slot_6_pressed"]
[connection signal="pressed" from="VBoxContainer/Slot7" to="." method="_on_slot_7_pressed"]
2024-11-04 00:29:58 +01:00
[connection signal="pressed" from="VBoxContainer/Slot8" to="." method="_on_slot_1_pressed"]
2024-09-26 20:42:29 +02:00
[connection signal="pressed" from="VBoxContainer/Back" to="." method="_on_back_pressed"]