feat: 初始化 UI 框架和资源设计文档
- 新增 TopBarHUD 场景 - 新增开始菜单场景 - 新增通用资源分析设计文档
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
[gd_scene format=3 uid="uid://dl0tb68vsw3c6"]
|
||||
|
||||
[node name="TopBarHud" type="Control" unique_id=1115394694]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="." unique_id=1608257100]
|
||||
layout_mode = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="Currency" type="Label" parent="HBoxContainer" unique_id=766096596]
|
||||
layout_mode = 2
|
||||
@@ -0,0 +1,16 @@
|
||||
[gd_scene format=3 uid="uid://bkatopgh40fte"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dl0tb68vsw3c6" path="res://src/UI/HUD/TopBarHUD.tscn" id="1_jy7gm"]
|
||||
|
||||
[node name="StartMenu" type="Control" unique_id=1272477823]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="TopBarHud" parent="." unique_id=1115394694 instance=ExtResource("1_jy7gm")]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
custom_maximum_size = Vector2(100, 100)
|
||||
layout_mode = 0
|
||||
Reference in New Issue
Block a user