fix: 修复交互与通知板问题

- 修复Z轴逻辑调整精灵与物品的排序
- 渲染前强制 content_container.modulate.a = 1.0,避免内容区被透明度状态卡住导致看起来空白
This commit is contained in:
2026-02-07 21:07:59 +08:00
parent 19794d896e
commit f24a01dbca
8 changed files with 29 additions and 32 deletions

View File

@@ -11,4 +11,4 @@ texture = ExtResource("1_jrtph")
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
position = Vector2(152, 16)
polygon = PackedVector2Array(-456, -48, -192, -48, -192, -112, -120, -112, -120, -56, 168, -48, 168, -696, -472, -688, -472, -48)
polygon = PackedVector2Array(-456, -48, -192, -48, -192, -72, -152, -72, -120, -72, -120, -56, 168, -48, 168, -696, -472, -688, -472, -48)

View File

@@ -1079,15 +1079,11 @@ tile_set = SubResource("TileSet_0xqio")
z_index = -1
position = Vector2(0, 320)
[node name="NoticeBoard" parent="." instance=ExtResource("16_rixdf")]
z_index = 1
position = Vector2(-184, -76)
[node name="NPC" parent="." instance=ExtResource("15_0xqio")]
position = Vector2(-81, -64)
[node name="WelcomeBoard" parent="." instance=ExtResource("16_edt5w")]
z_index = 1
y_sort_enabled = true
position = Vector2(128, -80)
script = ExtResource("16_u1t8b")
[node name="DataWhaleHome" parent="." instance=ExtResource("16_m4als")]
position = Vector2(8, -128)
[node name="DefaultSpawn" type="Marker2D" parent="."]
y_sort_enabled = true
@@ -1097,14 +1093,8 @@ position = Vector2(647, 500)
y_sort_enabled = true
position = Vector2(648, 24)
[node name="NPC" parent="." instance=ExtResource("15_0xqio")]
position = Vector2(-81, -64)
[node name="DataWhaleHome" parent="." instance=ExtResource("16_m4als")]
position = Vector2(8, -128)
[node name="DoorArea" type="Area2D" parent="."]
position = Vector2(0, 5)
position = Vector2(2, 14)
script = ExtResource("18_0xqio")
target_scene_name = "room"
target_spawn_name = "FromSquare"
@@ -1114,8 +1104,17 @@ position = Vector2(644, -62.5)
shape = SubResource("RectangleShape2D_edt5w")
[node name="Community" parent="." instance=ExtResource("16_0xqio")]
y_sort_enabled = true
position = Vector2(646, 3)
[node name="NoticeBoard" parent="." instance=ExtResource("16_rixdf")]
position = Vector2(-216, -72)
[node name="WelcomeBoard" parent="." instance=ExtResource("16_edt5w")]
y_sort_enabled = true
position = Vector2(128, -80)
script = ExtResource("16_u1t8b")
[node name="Boundaries" type="Node2D" parent="."]
[node name="StaticBody2D" type="StaticBody2D" parent="Boundaries"]