feat: 启动时窗口最大化,UI 跟随缩放

This commit is contained in:
2026-07-30 23:55:13 +08:00
parent 17994ec4ae
commit 72f0a6b8f7
3 changed files with 22 additions and 6 deletions
+4 -4
View File
@@ -4,23 +4,23 @@
[ext_resource type="Texture2D" uid="uid://caeqoc6wx8toy" path="res://assets/sprites/ui/BG1.png" id="1_hrti0"]
[node name="MainMenu" type="Control" unique_id=1416317040]
layout_mode = 3
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
script = ExtResource("1_cwvg5")
[node name="BG" type="TextureRect" parent="." unique_id=2104369666]
layout_mode = 0
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("1_hrti0")
stretch_mode = 0
[node name="Logo" type="TextureRect" parent="." unique_id=1485724026]
layout_mode = 1