xiandie/scene/ux/note/ux_note.tscn

164 lines
4.5 KiB
Plaintext

[gd_scene load_steps=13 format=3 uid="uid://cy7wrrsm8e04f"]
[ext_resource type="Script" uid="uid://bkyg34xfhe60p" path="res://scene/ux/note/ux_note.gd" id="1_e61yw"]
[ext_resource type="Texture2D" uid="uid://bi7l47cit2xs" path="res://asset/art/ui/ux_panel/完整背景.png" id="2_1ka1m"]
[ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/inspect/inspect特写通用遮罩.png" id="3_nk0pj"]
[ext_resource type="PackedScene" uid="uid://ut4a5gwb4naq" path="res://scene/ux/tabs.tscn" id="4_7vpan"]
[ext_resource type="Texture2D" uid="uid://dsj3l0baqg1g7" path="res://asset/art/ui/ux_panel/小蝶笔记.png" id="5_d1cia"]
[ext_resource type="Texture2D" uid="uid://bv57eyqs03k4y" path="res://asset/art/ui/note/线索笔记内容-29.png" id="6_7vpan"]
[ext_resource type="Texture2D" uid="uid://blub5hsn6iqit" path="res://asset/art/ui/note/线索笔记内容-30.png" id="6_n8isc"]
[ext_resource type="Texture2D" uid="uid://beltvxcu7pumi" path="res://asset/art/ui/note/线索笔记内容-31.png" id="7_8rh03"]
[ext_resource type="Texture2D" uid="uid://ldh387gluo1t" path="res://asset/art/ui/note/线索笔记内容-34.png" id="7_d1cia"]
[ext_resource type="Texture2D" uid="uid://db1k1t1lc34ut" path="res://asset/art/ui/note/线索笔记内容-32.png" id="8_kiw8q"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_j3kdg"]
[sub_resource type="GDScript" id="GDScript_7vpan"]
script/source = "extends Event2D
# var prev_stage := 0
# var stage := 0
func _ready() -> void:
super._ready()
if stage > 0:
get_node(\"../TextureRect\" + str(stage)).visible = true
func _on_global_stage_updated(e: StringName, s: int):
super._on_global_stage_updated(e, s)
func _on_ground_ready(ground: Ground2D):
pass
func _on_pre_stage_updated():
pass
func _on_stage_updated():
pass
"
[node name="Note" type="CanvasLayer"]
process_mode = 3
script = ExtResource("1_e61yw")
[node name="Bag" type="Panel" parent="."]
custom_minimum_size = Vector2(564, 240)
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxEmpty_j3kdg")
[node name="BG" type="TextureRect" parent="Bag"]
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("2_1ka1m")
expand_mode = 5
stretch_mode = 5
[node name="TextureRect" type="TextureRect" parent="Bag/BG"]
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("3_nk0pj")
[node name="Book" type="TextureRect" parent="Bag"]
z_index = 1
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("5_d1cia")
expand_mode = 5
stretch_mode = 5
[node name="TextureRect1" type="TextureRect" parent="Bag/Book"]
visible = false
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_7vpan")
expand_mode = 1
[node name="TextureRect2" type="TextureRect" parent="Bag/Book"]
visible = false
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_n8isc")
expand_mode = 1
[node name="TextureRect3" type="TextureRect" parent="Bag/Book"]
visible = false
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("7_8rh03")
expand_mode = 1
[node name="TextureRect4" type="TextureRect" parent="Bag/Book"]
visible = false
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("8_kiw8q")
expand_mode = 1
[node name="TextureRect5" type="TextureRect" parent="Bag/Book"]
visible = false
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("7_d1cia")
expand_mode = 1
[node name="Event2D" type="Node2D" parent="Bag/Book"]
script = SubResource("GDScript_7vpan")
event = "handnote_stage"
metadata/_custom_type_script = "uid://bkkiyk5jkdw4d"
[node name="Tabs" parent="Bag" node_paths=PackedStringArray("root") instance=ExtResource("4_7vpan")]
unique_name_in_owner = true
offset_left = 8.0
offset_top = 11.0
offset_right = 191.0
offset_bottom = 51.0
root = NodePath("../..")