xiandie/scene/entity/local_inspectable.tscn
2025-06-14 16:46:32 +08:00

123 lines
3.9 KiB
Plaintext

[gd_scene load_steps=11 format=3 uid="uid://ci5anaxsa1apl"]
[ext_resource type="Script" uid="uid://cihyb26hjma4i" path="res://scene/entity/local_inspectable.gd" id="1_85el0"]
[ext_resource type="Texture2D" uid="uid://c0rw25jl762a1" path="res://asset/art/ui/action_mark/UI眼睛.png" id="2_3pauf"]
[ext_resource type="AudioStream" uid="uid://byjcmxy5crce5" path="res://asset/audio/sfx/ui/纸条.mp3" id="3_3ldx7"]
[ext_resource type="Texture2D" uid="uid://bei1s1uucktso" path="res://asset/art/tool/neutral_point_light.webp" id="3_o562w"]
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/general/sfx.gd" id="3_q18ff"]
[ext_resource type="PackedScene" uid="uid://c4tipnj1cr1j3" path="res://scene/entity/ux/sign.tscn" id="4_do8tr"]
[ext_resource type="Texture2D" uid="uid://dwgxa5j6602vv" path="res://asset/art/ui/prop/inspect文本衬底蒙版.png" id="6_q18ff"]
[ext_resource type="FontVariation" uid="uid://1ryw42kej6lv" path="res://config/font_ui.tres" id="7_ianbs"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4fuic"]
resource_local_to_scene = true
size = Vector2(20, 70)
[sub_resource type="LabelSettings" id="LabelSettings_c3c2j"]
line_spacing = 1.0
font_size = 11
[node name="LocalInspectable" type="Sprite2D"]
script = ExtResource("1_85el0")
note_sign_texture = ExtResource("2_3pauf")
content_key = ""
[node name="Sfx" type="AudioStreamPlayer" parent="."]
unique_name_in_owner = true
stream = ExtResource("3_3ldx7")
bus = &"game_sfx"
script = ExtResource("3_q18ff")
[node name="Sign" parent="." instance=ExtResource("4_do8tr")]
unique_name_in_owner = true
[node name="PointLight2D" type="PointLight2D" parent="."]
unique_name_in_owner = true
position = Vector2(0, -35)
scale = Vector2(0.2, 0.2)
energy = 0.0
texture = ExtResource("3_o562w")
texture_scale = 0.5
[node name="Area2D" type="Area2D" parent="."]
unique_name_in_owner = true
collision_layer = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
unique_name_in_owner = true
shape = SubResource("RectangleShape2D_4fuic")
[node name="InspectLayer" type="CanvasLayer" parent="."]
layer = 20
[node name="Root" type="Control" parent="InspectLayer"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="Container" type="MarginContainer" parent="InspectLayer/Root"]
unique_name_in_owner = true
modulate = Color(1, 1, 1, 0)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="Cover" type="TextureRect" parent="InspectLayer/Root/Container"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
mouse_filter = 2
[node name="ContentLabel" type="Label" parent="InspectLayer/Root/Container"]
unique_name_in_owner = true
modulate = Color(1, 1, 1, 0)
z_index = 100
custom_minimum_size = Vector2(130, 0)
layout_mode = 2
size_flags_horizontal = 4
label_settings = SubResource("LabelSettings_c3c2j")
vertical_alignment = 1
autowrap_mode = 3
[node name="TextureRect" type="TextureRect" parent="InspectLayer/Root/Container/ContentLabel"]
self_modulate = Color(1, 1, 1, 0.733333)
show_behind_parent = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
texture = ExtResource("6_q18ff")
[node name="MarginContainer" type="MarginContainer" parent="InspectLayer/Root"]
layout_mode = 2
offset_top = 263.0
offset_right = 564.0
offset_bottom = 316.0
size_flags_vertical = 8
mouse_filter = 2
theme_override_constants/margin_bottom = 38
[node name="TipLabel" type="Label" parent="InspectLayer/Root/MarginContainer"]
unique_name_in_owner = true
modulate = Color(1, 1, 1, 0)
z_index = 100
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 8
theme_override_fonts/font = ExtResource("7_ianbs")
text = "Q: 退出 E: 阅读"
horizontal_alignment = 1
vertical_alignment = 1