xiandie/scene/entity/note.tscn

42 lines
1.5 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://jr1yd46wm5je"]
[ext_resource type="Script" path="res://scene/entity/note.gd" id="1_3igk8"]
[ext_resource type="Texture2D" uid="uid://dvg6wjwn1qxiv" path="res://asset/art/ui/action_mark/探索ui.png" id="1_eew1k"]
[ext_resource type="Script" path="res://scene/entity/ux/sign.gd" id="2_36okt"]
[ext_resource type="PackedScene" uid="uid://c85t6stvytvjn" path="res://scene/entity/ux/sfx.tscn" id="2_qocmg"]
[ext_resource type="Texture2D" uid="uid://t526pexw4ng4" path="res://asset/art/tool/neutral_point_light.webp" id="3_xb81s"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_k6och"]
resource_local_to_scene = true
size = Vector2(40, 60)
[node name="Note" type="Sprite2D"]
script = ExtResource("1_3igk8")
notes = Array[String]([])
[node name="Sfx" parent="." instance=ExtResource("2_qocmg")]
unique_name_in_owner = true
file = "纸条.mp3"
[node name="Sign" type="Sprite2D" parent="."]
unique_name_in_owner = true
modulate = Color(1, 1, 1, 0)
position = Vector2(0, -3.8147e-06)
scale = Vector2(0.2, 0.2)
texture = ExtResource("1_eew1k")
script = ExtResource("2_36okt")
[node name="PointLight2D" type="PointLight2D" parent="."]
unique_name_in_owner = true
scale = Vector2(0.2, 0.2)
energy = 0.0
texture = ExtResource("3_xb81s")
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"]
shape = SubResource("RectangleShape2D_k6och")