122 lines
3.9 KiB
Plaintext
122 lines
3.9 KiB
Plaintext
[gd_scene load_steps=13 format=3 uid="uid://0sofmhrl358m"]
|
|
|
|
[ext_resource type="Script" path="res://scene/entity/npc.gd" id="1_jegr2"]
|
|
[ext_resource type="SpriteFrames" uid="uid://c3s8u4ifaucpj" path="res://config/animation/entity_sprite_frames.tres" id="3_1e8sl"]
|
|
[ext_resource type="PackedScene" uid="uid://c85t6stvytvjn" path="res://scene/entity/ux/sfx.tscn" id="3_4d53s"]
|
|
[ext_resource type="Texture2D" uid="uid://t526pexw4ng4" path="res://asset/art/tool/neutral_point_light.webp" id="4_jrmg5"]
|
|
[ext_resource type="PackedScene" uid="uid://c4tipnj1cr1j3" path="res://scene/entity/ux/sign.tscn" id="4_nokx4"]
|
|
[ext_resource type="Texture2D" uid="uid://gb3p6ry0bs5x" path="res://asset/art/ui/action_mark/说话标识1.png" id="5_foitt"]
|
|
[ext_resource type="Texture2D" uid="uid://dsofwe6knklyo" path="res://asset/art/ui/action_mark/说话标识2.png" id="6_2n6ge"]
|
|
[ext_resource type="Texture2D" uid="uid://blvlw8fgmmu8n" path="res://asset/art/ui/action_mark/说话标识3.png" id="7_afjxr"]
|
|
|
|
[sub_resource type="Animation" id="Animation_soodi"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("SpeakingSign2D/Sprite2D:texture")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [null]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("SpeakingSign2D/Sprite2D:offset")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(0, 0)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_a386j"]
|
|
resource_name = "speaking"
|
|
length = 1.5
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("SpeakingSign2D/Sprite2D:texture")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.5, 1),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 1,
|
|
"values": [ExtResource("5_foitt"), ExtResource("6_2n6ge"), ExtResource("7_afjxr")]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("SpeakingSign2D/Sprite2D:offset")
|
|
tracks/1/interp = 2
|
|
tracks/1/loop_wrap = false
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0, 1, 1.5),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 0,
|
|
"values": [Vector2(60, 0), Vector2(0, 0), Vector2(0, 0)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_pjqf1"]
|
|
_data = {
|
|
"RESET": SubResource("Animation_soodi"),
|
|
"speaking": SubResource("Animation_a386j")
|
|
}
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4fuic"]
|
|
resource_local_to_scene = true
|
|
size = Vector2(61, 112.75)
|
|
|
|
[node name="Npc" type="AnimatedSprite2D"]
|
|
sprite_frames = ExtResource("3_1e8sl")
|
|
animation = &"c02_张胖子_idle"
|
|
frame_progress = 0.195431
|
|
script = ExtResource("1_jegr2")
|
|
dialogue_title = ""
|
|
|
|
[node name="Sfx" parent="." instance=ExtResource("3_4d53s")]
|
|
unique_name_in_owner = true
|
|
|
|
[node name="Sign" parent="." instance=ExtResource("4_nokx4")]
|
|
unique_name_in_owner = true
|
|
modulate = Color(1, 1, 1, 0)
|
|
offset_top = -60.0
|
|
offset_bottom = -60.0
|
|
show_sign = false
|
|
|
|
[node name="SpeakingAnimationPlayer" type="AnimationPlayer" parent="."]
|
|
unique_name_in_owner = true
|
|
libraries = {
|
|
"": SubResource("AnimationLibrary_pjqf1")
|
|
}
|
|
|
|
[node name="PointLight2D" type="PointLight2D" parent="."]
|
|
unique_name_in_owner = true
|
|
position = Vector2(0, -72)
|
|
energy = 0.0
|
|
texture = ExtResource("4_jrmg5")
|
|
texture_scale = 0.1
|
|
|
|
[node name="SpeakingSign2D" type="Node2D" parent="."]
|
|
unique_name_in_owner = true
|
|
position = Vector2(0, -62)
|
|
scale = Vector2(0.1, 0.1)
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="SpeakingSign2D"]
|
|
|
|
[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")
|