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

70 lines
2.1 KiB
Text

[gd_scene load_steps=9 format=2]
[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://fonts/button1.tres" type="DynamicFont" id=3]
[ext_resource path="res://levels/ui/tmenu.gd" type="Script" 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="Tmenu" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 4 )
[node name="Night Sky" type="TextureRect" parent="."]
margin_right = 1280.0
margin_bottom = 720.0
texture = ExtResource( 1 )
[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 = "GAME_NAME"
align = 1
valign = 1
[node name="Bottomhud" parent="." instance=ExtResource( 2 )]
[node name="VBoxContainer" type="VBoxContainer" parent="."]
margin_left = 254.5
margin_top = 358.0
margin_right = 1036.5
margin_bottom = 720.0
[node name="Start" type="Button" parent="VBoxContainer"]
margin_right = 782.0
margin_bottom = 100.0
custom_fonts/font = ExtResource( 3 )
custom_styles/focus = SubResource( 1 )
text = "BUTTON_START"
[node name="Debug" 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_SETTINGS"
[node name="Exit" 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_EXIT"
[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"]