Figments-of-the-Night/prefabs/pickups/photo3.tscn
Gerard Gascón b99855351d init
2025-04-24 17:23:34 +02:00

118 lines
3.7 KiB
Text

[gd_scene load_steps=9 format=3 uid="uid://c3ppihxhym7uw"]
[ext_resource type="Script" path="res://scripts/npc/pickup.gd" id="1_6r6n2"]
[ext_resource type="Resource" uid="uid://djaohlxw0xe11" path="res://dialogues/foto3.json" id="2_852fb"]
[ext_resource type="Texture2D" uid="uid://k2vkbe0f7lvf" path="res://sprites/foto4.png" id="3_46u8q"]
[sub_resource type="SphereShape3D" id="SphereShape3D_2go8t"]
[sub_resource type="Animation" id="Animation_nyn5q"]
length = 0.001
tracks/0/type = "bezier"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("SpritePivot:rotation:y")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"handle_modes": PackedInt32Array(0),
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0)
}
tracks/1/type = "bezier"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("SpritePivot:position:y")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"handle_modes": PackedInt32Array(0),
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0)
}
[sub_resource type="Animation" id="Animation_y7xna"]
resource_name = "photo_hover"
length = 2.0
loop_mode = 1
tracks/0/type = "bezier"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("SpritePivot:rotation:y")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"handle_modes": PackedInt32Array(0, 0),
"points": PackedFloat32Array(0, 0, 0, 0, 0, 6.28319, 0, 0, 0, 0),
"times": PackedFloat32Array(0, 2)
}
tracks/1/type = "bezier"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("SpritePivot:position:y")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"handle_modes": PackedInt32Array(0, 0, 0),
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0, 0.2, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0, 1, 2)
}
[sub_resource type="Animation" id="Animation_lefu0"]
resource_name = "photo_point"
loop_mode = 1
tracks/0/type = "bezier"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("SpritePivot:position:y")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"handle_modes": PackedInt32Array(0),
"points": PackedFloat32Array(0.2, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0)
}
tracks/1/type = "bezier"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("SpritePivot:rotation:y")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"handle_modes": PackedInt32Array(1, 1),
"points": PackedFloat32Array(0, 0, 0, 0, 0, 18.8496, 0, 0, 0, 0),
"times": PackedFloat32Array(0, 1)
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_lofup"]
_data = {
"RESET": SubResource("Animation_nyn5q"),
"photo_hover": SubResource("Animation_y7xna"),
"photo_point": SubResource("Animation_lefu0")
}
[node name="Pickup" type="Node3D"]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0)
[node name="CharacterBody3D" type="CharacterBody3D" parent="." node_paths=PackedStringArray("animation_payer")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
collision_layer = 3
script = ExtResource("1_6r6n2")
text = ExtResource("2_852fb")
photo_index = 2
animation_payer = NodePath("AnimationPlayer")
[node name="CollisionShape3D" type="CollisionShape3D" parent="CharacterBody3D"]
shape = SubResource("SphereShape3D_2go8t")
[node name="SpritePivot" type="Node3D" parent="CharacterBody3D"]
[node name="Sprite3D" type="Sprite3D" parent="CharacterBody3D/SpritePivot"]
transform = Transform3D(1.44889, 0.388228, 0, -0.388228, 1.44889, 0, 0, 0, 1.5, 0, 0, 0)
pixel_size = 0.0025
texture = ExtResource("3_46u8q")
[node name="AnimationPlayer" type="AnimationPlayer" parent="CharacterBody3D"]
libraries = {
"": SubResource("AnimationLibrary_lofup")
}