44 lines
1.6 KiB
Plaintext
44 lines
1.6 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://0sofmhrl358m"]
|
|
|
|
[ext_resource type="Script" path="res://scene/entity/npc.gd" id="1_jegr2"]
|
|
[ext_resource type="SpriteFrames" uid="uid://bgbk80qo7mi7y" path="res://config/animation/ux_frames.tres" id="2_6xo6s"]
|
|
[ext_resource type="SpriteFrames" uid="uid://c3s8u4ifaucpj" path="res://config/animation/entity_sprite_frames.tres" id="3_1e8sl"]
|
|
[ext_resource type="Script" path="res://scene/entity/ux/sign.gd" id="3_kgq8p"]
|
|
[ext_resource type="Texture2D" uid="uid://t526pexw4ng4" path="res://asset/art/neutral_point_light.webp" id="4_jrmg5"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4fuic"]
|
|
resource_local_to_scene = true
|
|
size = Vector2(33, 43)
|
|
|
|
[node name="Npc" type="AnimatedSprite2D"]
|
|
sprite_frames = ExtResource("3_1e8sl")
|
|
animation = &"c02_李氏_idle"
|
|
script = ExtResource("1_jegr2")
|
|
|
|
[node name="Sign" type="Sprite2D" parent="."]
|
|
unique_name_in_owner = true
|
|
position = Vector2(0, -72)
|
|
script = ExtResource("3_kgq8p")
|
|
|
|
[node name="PointLight2D" type="PointLight2D" parent="Sign"]
|
|
unique_name_in_owner = true
|
|
energy = 0.1
|
|
texture = ExtResource("4_jrmg5")
|
|
texture_scale = 0.1
|
|
|
|
[node name="SpeakingSignAnimation" type="AnimatedSprite2D" parent="."]
|
|
unique_name_in_owner = true
|
|
position = Vector2(2, -72)
|
|
scale = Vector2(0.2, 0.2)
|
|
sprite_frames = ExtResource("2_6xo6s")
|
|
animation = &"sign"
|
|
autoplay = "sign"
|
|
|
|
[node name="InteractArea2D" type="Area2D" parent="."]
|
|
unique_name_in_owner = true
|
|
collision_layer = 0
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="InteractArea2D"]
|
|
unique_name_in_owner = true
|
|
shape = SubResource("RectangleShape2D_4fuic")
|