midori-school/levels/ui/tmenu.tscn

78 lines
2.4 KiB
Text
Raw Normal View History

2024-03-08 02:29:09 +01:00
[gd_scene load_steps=7 format=3 uid="uid://s8ttuboef06k"]
2024-01-16 03:05:25 +01:00
2024-01-20 11:38:12 +01:00
[ext_resource type="Script" path="res://levels/ui/tmenu.gd" id="1_w3aym"]
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_sqp06"]
2024-01-16 13:58:17 +01:00
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="4_0qcfw"]
2024-01-16 03:05:25 +01:00
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_821nm"]
bg_color = Color(0, 0.8, 0, 1)
[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="Tmenu" 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_w3aym")
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_sqp06")
2024-01-16 03:05:25 +01:00
[node name="Game name" type="Label" parent="."]
layout_mode = 0
offset_left = 31.0
offset_top = 113.0
offset_right = 1237.0
offset_bottom = 243.0
theme_override_font_sizes/font_size = 95
2024-04-17 02:42:53 +02:00
text = "GAME_NAME"
horizontal_alignment = 1
2024-01-16 03:05:25 +01:00
2024-04-17 20:33:27 +02:00
[node name="Bottomhud" parent="." instance=ExtResource("4_0qcfw")]
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 20:33:27 +02:00
offset_left = -322.0
2024-01-16 03:05:25 +01:00
offset_top = -362.0
2024-04-17 20:33:27 +02:00
offset_right = 322.0
2024-01-16 03:05:25 +01:00
grow_horizontal = 2
grow_vertical = 0
[node name="Start" type="Button" parent="VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 80
theme_override_styles/focus = SubResource("StyleBoxFlat_821nm")
2024-04-17 20:33:27 +02:00
text = "BUTTON_START"
2024-01-16 03:05:25 +01:00
[node name="Debug" type="Button" parent="VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 80
theme_override_styles/focus = SubResource("StyleBoxFlat_6u0xs")
2024-09-26 02:43:45 +02:00
text = "BUTTON_SETTINGS"
2024-01-16 03:05:25 +01:00
[node name="Exit" type="Button" parent="VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 80
theme_override_styles/focus = SubResource("StyleBoxFlat_r2qrn")
2024-04-17 20:33:27 +02:00
text = "BUTTON_EXIT"
2024-01-16 13:58:17 +01:00
2024-01-16 03:05:25 +01:00
[connection signal="pressed" from="VBoxContainer/Start" to="." method="_on_start_pressed"]
[connection signal="pressed" from="VBoxContainer/Debug" to="." method="_on_debug_pressed"]
[connection signal="pressed" from="VBoxContainer/Exit" to="." method="_on_exit_pressed"]