feat: 游戏场景添加宗门全景背景图,缩短招募间隔

- MainGame 新增 BG 背景层(宗门全景图,铺满窗口)
- 主菜单背景改为居中缩放模式
- 宗门全景图资源重新压缩优化(12.6MB → 8MB)
This commit is contained in:
2026-08-08 14:54:06 +08:00
parent b13c20a313
commit dfd780f3bd
5 changed files with 18 additions and 8 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 MiB

After

Width:  |  Height:  |  Size: 7.7 MiB

+1 -1
View File
@@ -2,7 +2,7 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://cewfc3vetgbfx"
uid="uid://dnjuv1btbxm4o"
path="res://.godot/imported/宗门全景.png-d969df84bf06c400df6e36c494864bbe.ctex"
metadata={
"vram_texture": false
+1 -1
View File
@@ -6,7 +6,7 @@
difficulty="normal"
opening_applicant_count=5
opening_pick_count=3
recruit_interval_years=1
recruit_interval_years=0.25
recruit_applicant_count=3
heavenly_root_chance=0.5 ; 天灵根概率:仅天骄资质中再掷,50%
+14 -4
View File
@@ -1,19 +1,29 @@
[gd_scene format=3 uid="uid://box7tj5iyiopq"]
[ext_resource type="Script" uid="uid://centrk8l54j7c" path="res://src/Core/MainGame.gd" id="1_8bu23"]
[ext_resource type="PackedScene" uid="uid://cahux61qqblje" path="res://src/UI/Panels/DisciplesPanel/DisciplesPanel.tscn" id="1_d5cpm"]
[ext_resource type="PackedScene" uid="uid://dl0tb68vsw3c6" path="res://src/UI/HUD/TopBarHUD.tscn" id="1_g6xmk"]
[ext_resource type="PackedScene" uid="uid://d4y7q3m6k2x5n7w2" path="res://src/UI/Panels/RecruitPanel/RecruitPanel.tscn" id="1_k5nrm"]
[ext_resource type="PackedScene" path="res://src/UI/Panels/DisciplesPanel/DisciplesPanel.tscn" id="1_d5cpm"]
[ext_resource type="PackedScene" uid="uid://cahbpjpnmbcfv" path="res://src/UI/Panels/RecruitPanel/RecruitPanel.tscn" id="1_k5nrm"]
[ext_resource type="Texture2D" uid="uid://dnjuv1btbxm4o" path="res://assets/sprites/ui/宗门全景.png" id="5_58g0x"]
[node name="MainGame" type="Node" unique_id=2053561265]
groups = ["game_scene"]
script = ExtResource("1_8bu23")
[node name="BG" type="TextureRect" parent="." unique_id=1246873308]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("5_58g0x")
expand_mode = 2
[node name="TopBarHud" parent="." unique_id=1115394694 instance=ExtResource("1_g6xmk")]
[node name="RecruitPanel" parent="." unique_id=770000016 instance=ExtResource("1_k5nrm")]
layout_mode = 3
[node name="DisciplesPanel" parent="." unique_id=780000015 instance=ExtResource("1_d5cpm")]
[connection signal="sign_return_mainmenu" from="TopBarHud" to="." method="_on_top_bar_hud_sign_return_mainmenu"]
[connection signal="sign_open_disciples" from="TopBarHud" to="." method="_on_top_bar_hud_sign_open_disciples"]
[connection signal="sign_return_mainmenu" from="TopBarHud" to="." method="_on_top_bar_hud_sign_return_mainmenu"]
+2 -2
View File
@@ -21,9 +21,9 @@ anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
expand_mode = 1
stretch_mode = 6
texture = ExtResource("2_q7typ")
expand_mode = 2
stretch_mode = 6
[node name="Logo" type="TextureRect" parent="." unique_id=1485724026]
layout_mode = 1