chore: 初始化游戏项目基础框架与菜单系统
新增了基础菜单抽象类、主题配置、开场与主菜单场景,添加了所需的资源文件与项目配置,完善了项目基础结构
This commit is contained in:
@@ -0,0 +1,75 @@
|
||||
[gd_resource type="Theme" format=3 uid="uid://ct2x3sobaob06"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wc0q8"]
|
||||
content_margin_left = 20.0
|
||||
content_margin_top = 10.0
|
||||
content_margin_right = 20.0
|
||||
content_margin_bottom = 10.0
|
||||
bg_color = Color(0.25, 0.25, 0.25, 1)
|
||||
skew = Vector2(0.25, 0)
|
||||
border_color = Color(1, 1, 1, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0avsd"]
|
||||
content_margin_left = 20.0
|
||||
content_margin_top = 10.0
|
||||
content_margin_right = 20.0
|
||||
content_margin_bottom = 10.0
|
||||
bg_color = Color(0.25, 0.25, 0.25, 1)
|
||||
skew = Vector2(0.25, 0)
|
||||
border_width_left = 4
|
||||
border_width_top = 4
|
||||
border_width_right = 4
|
||||
border_width_bottom = 4
|
||||
border_color = Color(1, 1, 1, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wykhr"]
|
||||
content_margin_left = 20.0
|
||||
content_margin_top = 10.0
|
||||
content_margin_right = 20.0
|
||||
content_margin_bottom = 10.0
|
||||
bg_color = Color(0.5, 0.5, 0.5, 1)
|
||||
skew = Vector2(0.25, 0)
|
||||
border_width_left = 5
|
||||
border_width_top = 5
|
||||
border_width_right = 5
|
||||
border_width_bottom = 5
|
||||
border_color = Color(1, 1, 1, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1id7b"]
|
||||
content_margin_left = 20.0
|
||||
content_margin_top = 10.0
|
||||
content_margin_right = 20.0
|
||||
content_margin_bottom = 10.0
|
||||
bg_color = Color(0, 0, 0, 1)
|
||||
skew = Vector2(0.25, 0)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(1, 1, 1, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_78ekx"]
|
||||
content_margin_left = 20.0
|
||||
content_margin_top = 10.0
|
||||
content_margin_right = 20.0
|
||||
content_margin_bottom = 10.0
|
||||
bg_color = Color(0.5, 0.5, 0.5, 1)
|
||||
skew = Vector2(0.25, 0)
|
||||
border_width_left = 6
|
||||
border_width_top = 6
|
||||
border_width_right = 6
|
||||
border_width_bottom = 6
|
||||
border_color = Color(1, 1, 1, 1)
|
||||
|
||||
[resource]
|
||||
Button/colors/font_color = Color(1, 1, 1, 1)
|
||||
Button/colors/font_focus_color = Color(1, 1, 1, 1)
|
||||
Button/colors/font_hover_color = Color(1, 1, 1, 1)
|
||||
Button/colors/font_hover_pressed_color = Color(1, 1, 1, 1)
|
||||
Button/colors/font_pressed_color = Color(1, 1, 1, 1)
|
||||
Button/font_sizes/font_size = 20
|
||||
Button/styles/disabled = SubResource("StyleBoxFlat_wc0q8")
|
||||
Button/styles/hover = SubResource("StyleBoxFlat_0avsd")
|
||||
Button/styles/hover_pressed = SubResource("StyleBoxFlat_wykhr")
|
||||
Button/styles/normal = SubResource("StyleBoxFlat_1id7b")
|
||||
Button/styles/pressed = SubResource("StyleBoxFlat_78ekx")
|
||||
Reference in New Issue
Block a user