midori-school/levels/ui/scene.tscn

110 lines
3.8 KiB
Text
Raw Normal View History

2024-03-08 02:29:09 +01:00
[gd_scene load_steps=6 format=3 uid="uid://duyxejhnys1l4"]
2024-01-16 03:05:25 +01:00
2024-01-20 11:38:12 +01:00
[ext_resource type="Script" path="res://levels/ui/scene.gd" id="1_hxcrn"]
2024-03-08 02:29:09 +01:00
[ext_resource type="Texture2D" uid="uid://bxa27c7gnivwx" path="res://backgounds/night-sky-at-ceres.jpg" id="2_jnmob"]
2024-01-16 13:58:17 +01:00
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="4_2y7h7"]
2024-01-16 03:05:25 +01:00
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6u0xs"]
bg_color = Color(0, 0.8, 0, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_r2qrn"]
bg_color = Color(0, 0.8, 0, 1)
[node name="Scene" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_hxcrn")
2024-03-08 02:29:09 +01:00
[node name="Night Sky" type="TextureRect" parent="."]
2024-03-09 02:50:47 +01:00
layout_mode = 0
2024-03-08 02:29:09 +01:00
offset_right = 1280.0
offset_bottom = 720.0
texture = ExtResource("2_jnmob")
2024-01-16 03:05:25 +01:00
[node name="Game name" type="Label" parent="."]
layout_mode = 0
2024-04-21 03:56:48 +02:00
offset_left = 49.0
2024-01-16 03:05:25 +01:00
offset_top = 3.0
2024-04-21 03:56:48 +02:00
offset_right = 1224.0
2024-01-16 03:05:25 +01:00
offset_bottom = 73.0
theme_override_font_sizes/font_size = 40
2024-04-21 03:56:48 +02:00
text = "BUTTON_SCENESELECT"
horizontal_alignment = 1
2024-01-16 03:05:25 +01:00
2024-04-17 22:00:30 +02:00
[node name="Bottomhud" parent="." instance=ExtResource("4_2y7h7")]
layout_mode = 1
2024-01-16 03:05:25 +01:00
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
2024-04-17 22:00:30 +02:00
offset_left = -238.5
offset_top = -395.0
offset_right = 238.5
2024-01-16 03:05:25 +01:00
grow_horizontal = 2
grow_vertical = 0
[node name="Disclaimer" type="Button" parent="VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs")
2024-04-21 03:56:48 +02:00
text = "BUTTON_SCENE_DISCLAIMER"
2024-01-16 03:05:25 +01:00
2024-01-20 11:38:12 +01:00
[node name="Testrooms" type="Button" parent="VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs")
2024-04-21 03:56:48 +02:00
text = "BUTTON_TESTROOMS"
2024-01-20 11:38:12 +01:00
2024-04-17 20:33:27 +02:00
[node name="Ceres" type="Button" parent="VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs")
2024-04-21 03:56:48 +02:00
text = "BUTTON_CERES"
2024-04-17 20:33:27 +02:00
2024-01-16 03:05:25 +01:00
[node name="Results" type="Button" parent="VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs")
2024-04-21 03:56:48 +02:00
text = "BUTTON_SCORESCREEN"
2024-01-16 03:05:25 +01:00
[node name="Credits" type="Button" parent="VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs")
2024-04-21 03:56:48 +02:00
text = "BUTTON_CREDITS"
2024-01-16 03:05:25 +01:00
[node name="WIP" type="Button" parent="VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs")
2024-04-21 03:56:48 +02:00
text = "BUTTON_WIP"
2024-01-16 03:05:25 +01:00
2024-05-12 21:54:52 +02:00
[node name="Cutscene" type="Button" parent="VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs")
text = "BUTTON_CUTSCENES"
2024-01-16 03:05:25 +01:00
[node name="Back" type="Button" parent="VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
theme_override_styles/focus = SubResource("StyleBoxFlat_r2qrn")
2024-04-17 20:33:27 +02:00
text = "BUTTON_RETURN"
2024-01-16 03:05:25 +01:00
[connection signal="pressed" from="VBoxContainer/Disclaimer" to="." method="_on_disclaimer_pressed"]
2024-01-20 11:38:12 +01:00
[connection signal="pressed" from="VBoxContainer/Testrooms" to="." method="_on_testrooms_pressed"]
2024-04-17 20:33:27 +02:00
[connection signal="pressed" from="VBoxContainer/Ceres" to="." method="_on_ceres_pressed"]
2024-01-16 03:05:25 +01:00
[connection signal="pressed" from="VBoxContainer/Results" to="." method="_on_results_pressed"]
[connection signal="pressed" from="VBoxContainer/Credits" to="." method="_on_credits_pressed"]
[connection signal="pressed" from="VBoxContainer/WIP" to="." method="_on_wip_pressed"]
2024-05-12 21:54:52 +02:00
[connection signal="pressed" from="VBoxContainer/Cutscene" to="." method="_on_cutscene_pressed"]
2024-01-16 03:05:25 +01:00
[connection signal="pressed" from="VBoxContainer/Back" to="." method="_on_back_pressed"]