VegeCard/Scenes/GameUI.tscn
2025-03-27 10:19:13 +08:00

57 lines
1.8 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://qxwgu63wmvy1"]
[ext_resource type="Script" uid="uid://dsw26x4evjf7q" path="res://Scripts/GameUI.gd" id="1_37hul"]
[ext_resource type="PackedScene" uid="uid://bdhkwmdjla3dy" path="res://Scenes/Main.tscn" id="2_frnsy"]
[ext_resource type="FontFile" uid="uid://bnipxsg3yhkk8" path="res://Assets/Fonts/文字主题.ttf" id="2_po7eo"]
[node name="GameUI" type="Control" node_paths=PackedStringArray("start_btn", "exit_btn")]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_37hul")
start_btn = NodePath("Buttons/Start")
exit_btn = NodePath("Buttons/Exit")
main_scene = ExtResource("2_frnsy")
[node name="Label" type="Label" parent="."]
layout_mode = 0
offset_left = 144.0
offset_top = 184.0
offset_right = 556.0
offset_bottom = 281.0
theme_override_fonts/font = ExtResource("2_po7eo")
theme_override_font_sizes/font_size = 96
text = "Vega Card"
[node name="Buttons" type="Control" parent="."]
anchors_preset = 0
offset_top = 144.0
offset_right = 40.0
offset_bottom = 184.0
[node name="Start" type="Button" parent="Buttons"]
layout_mode = 0
offset_left = 152.0
offset_top = 240.0
offset_right = 544.0
offset_bottom = 345.0
theme_override_fonts/font = ExtResource("2_po7eo")
theme_override_font_sizes/font_size = 96
text = "Start"
[node name="Exit" type="Button" parent="Buttons"]
layout_mode = 0
offset_left = 152.0
offset_top = 408.0
offset_right = 544.0
offset_bottom = 513.0
theme_override_fonts/font = ExtResource("2_po7eo")
theme_override_font_sizes/font_size = 96
text = "Exit"
[connection signal="button_up" from="Buttons/Start" to="." method="_on_start_button_up"]
[connection signal="button_up" from="Buttons/Exit" to="." method="_on_exit_button_up"]