66 lines
2.1 KiB
Plaintext
66 lines
2.1 KiB
Plaintext
[gd_scene load_steps=9 format=3 uid="uid://cqbc8kenvs6f2"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://doqfsp7yxools" path="res://NPCs/NPC.tscn" id="1_p302e"]
|
|
[ext_resource type="Script" path="res://NPCs/Jonald/jonald.gd" id="2_66qr4"]
|
|
[ext_resource type="Texture2D" uid="uid://cnbcmhh6q3ogn" path="res://NPCs/Jonald/JonaldPlayingTennis/JonaldWiiTennis1.png" id="3_cc4yr"]
|
|
[ext_resource type="Texture2D" uid="uid://bcw2qhntr5ned" path="res://NPCs/Jonald/JonaldPlayingTennis/JonaldWiiTennis2.png" id="4_4010q"]
|
|
[ext_resource type="Texture2D" uid="uid://dykmo74bxtwpt" path="res://NPCs/Jonald/JonaldPlayingTennis/JonaldWiiTennis3.png" id="5_6b2sq"]
|
|
[ext_resource type="Script" path="res://Utils/PlayOnReady.gd" id="6_dw2bv"]
|
|
[ext_resource type="AudioStream" uid="uid://5hnu7ghqpehj" path="res://Sounds/SFX/Tennis/Whoosh2.mp3" id="7_m1lq7"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_xh8md"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 2.0,
|
|
"texture": ExtResource("3_cc4yr")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("4_4010q")
|
|
}, {
|
|
"duration": 2.0,
|
|
"texture": ExtResource("5_6b2sq")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 20.0
|
|
}]
|
|
|
|
[node name="Jonald" instance=ExtResource("1_p302e")]
|
|
script = ExtResource("2_66qr4")
|
|
|
|
[node name="Sprite" parent="." index="0"]
|
|
position = Vector2(0, -10)
|
|
sprite_frames = SubResource("SpriteFrames_xh8md")
|
|
frame_progress = 0.790351
|
|
script = ExtResource("6_dw2bv")
|
|
randDelayMax = 0.4
|
|
|
|
[node name="Interactable" parent="." index="1"]
|
|
position = Vector2(0, -10)
|
|
|
|
[node name="Panel" parent="Interactable" index="1"]
|
|
offset_left = -6.0
|
|
offset_top = -3.0
|
|
offset_right = 44.0
|
|
offset_bottom = 22.0
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[node name="Talkable" parent="." index="2"]
|
|
position = Vector2(0, -10)
|
|
|
|
[node name="CollisionShape2D" parent="Talkable/InteractionArea" index="0"]
|
|
visible = false
|
|
|
|
[node name="CollisionShape2D" parent="." index="3"]
|
|
visible = false
|
|
disabled = true
|
|
|
|
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="." index="4"]
|
|
stream = ExtResource("7_m1lq7")
|
|
max_distance = 1500.0
|
|
bus = &"SFX"
|
|
|
|
[editable path="Interactable"]
|
|
[editable path="Interactable/ActionMenu"]
|
|
[editable path="Talkable"]
|