Files
GameJamDungeon/Zennysoft.Game.Ma/src/map/Placeables/Sarco.tscn
T

97 lines
3.2 KiB
Plaintext

[gd_scene load_steps=11 format=3 uid="uid://dqjovmlt1y4tb"]
[ext_resource type="PackedScene" uid="uid://bfvy34lj7lns" path="res://src/map/assets/Sarcophagus/sarco altar.glb" id="1_35fk8"]
[ext_resource type="Script" uid="uid://cn27rfw6olqaf" path="res://src/map/Placeables/Sarco.cs" id="1_bw4xo"]
[ext_resource type="Resource" uid="uid://d2s0mmg453n5f" path="res://src/map/Placeables/sarco.dialogue" id="2_21qtc"]
[ext_resource type="PackedScene" uid="uid://d2rje5p3a0xdg" path="res://src/map/assets/Sarcophagus/sarco.glb" id="2_c6ny3"]
[ext_resource type="Texture2D" uid="uid://cqcjbeoghy70" path="res://src/items/special/textures/Flower.png" id="3_c6ny3"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_bw4xo"]
height = 10.272
radius = 2.56201
[sub_resource type="Animation" id="Animation_c6ny3"]
resource_name = "fade_in"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("FLOWER:transparency")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [1.0, 0.0]
}
[sub_resource type="Animation" id="Animation_bw4xo"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("FLOWER:transparency")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [1.0]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_21qtc"]
_data = {
&"RESET": SubResource("Animation_bw4xo"),
&"fade_in": SubResource("Animation_c6ny3")
}
[sub_resource type="CylinderShape3D" id="CylinderShape3D_21qtc"]
height = 20.9375
radius = 5.50684
[node name="Sarco" type="Node3D"]
transform = Transform3D(0.595, 0, 0, 0, 0.595, 0, 0, 0, 0.595, 0, 0, 0)
script = ExtResource("1_bw4xo")
Dialogue = ExtResource("2_21qtc")
[node name="sarco altar" parent="." instance=ExtResource("1_35fk8")]
[node name="sarco" parent="." instance=ExtResource("2_c6ny3")]
[node name="StaticBody3D" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.674886, 5.20786, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
shape = SubResource("CylinderShape3D_bw4xo")
[node name="FLOWER" type="Sprite3D" parent="."]
transform = Transform3D(0.299972, -0.253855, 0.309151, -0.212973, 0.225749, 0.39202, -0.338614, -0.366872, 0.0273082, 2.43807, 2.21512, 0.0190778)
transparency = 1.0
shaded = true
texture = ExtResource("3_c6ny3")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
unique_name_in_owner = true
libraries = {
&"": SubResource("AnimationLibrary_21qtc")
}
[node name="InteractZone" type="Area3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.273779, 0, 0)
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="InteractZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00627998, 1.69336, -0.00723076)
shape = SubResource("CylinderShape3D_21qtc")
[node name="Prompt" type="Control" parent="."]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2