xiandie/scene/entity/local_inspectable.tscn

114 lines
3.5 KiB
Plaintext
Raw Normal View History

2025-01-12 12:15:18 +00:00
[gd_scene load_steps=10 format=3 uid="uid://ci5anaxsa1apl"]
[ext_resource type="Script" path="res://scene/entity/local_inspectable.gd" id="1_85el0"]
[ext_resource type="PackedScene" uid="uid://c85t6stvytvjn" path="res://scene/entity/ux/sfx.tscn" id="2_h0c2s"]
2025-01-07 10:54:50 +00:00
[ext_resource type="AudioStream" uid="uid://csdwhc83jshd3" path="res://asset/audio/sfx/ui/纸条.mp3" id="3_3ldx7"]
[ext_resource type="Texture2D" uid="uid://t526pexw4ng4" path="res://asset/art/tool/neutral_point_light.webp" id="3_o562w"]
2025-01-08 00:51:09 +00:00
[ext_resource type="PackedScene" uid="uid://c4tipnj1cr1j3" path="res://scene/entity/ux/sign.tscn" id="4_do8tr"]
[ext_resource type="SpriteFrames" uid="uid://c3s8u4ifaucpj" path="res://config/animation/entity_sprite_frames.tres" id="6_e77p4"]
[ext_resource type="Script" path="res://scene/entity/ux/animated_sound_sprite_2d.gd" id="7_bhwlx"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4fuic"]
resource_local_to_scene = true
size = Vector2(35, 70)
[sub_resource type="LabelSettings" id="LabelSettings_c3c2j"]
line_spacing = 1.0
font_size = 11
[node name="LocalInspectable" type="Sprite2D"]
script = ExtResource("1_85el0")
content_key = ""
[node name="Sfx" parent="." instance=ExtResource("2_h0c2s")]
unique_name_in_owner = true
2025-01-07 10:54:50 +00:00
stream = ExtResource("3_3ldx7")
file = "纸条.mp3"
2025-01-08 00:51:09 +00:00
[node name="Sign" parent="." instance=ExtResource("4_do8tr")]
unique_name_in_owner = true
offset_top = -8.0
offset_bottom = 72.0
[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="AnimatedSoundSprite2D" type="AnimatedSprite2D" parent="."]
unique_name_in_owner = true
visible = false
sprite_frames = ExtResource("6_e77p4")
animation = &"c00_吕萍_记笔记_right"
script = ExtResource("7_bhwlx")
[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 = 11
[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
[node name="Container" type="PanelContainer" 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
2025-01-07 10:54:50 +00:00
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
2025-01-07 10:54:50 +00:00
mouse_filter = 2
[node name="ContentLabel" type="Label" parent="InspectLayer/Root/Container"]
unique_name_in_owner = true
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="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
2025-01-07 10:54:50 +00:00
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
text = "Q: ui_退出 E: ui_阅读"
horizontal_alignment = 1
vertical_alignment = 1