Separate Stele concept from Npc

This commit is contained in:
2026-06-04 23:38:59 -07:00
parent d8b99e07de
commit bb46f0dcd9
11 changed files with 420 additions and 52 deletions
@@ -1,7 +1,7 @@
[gd_scene load_steps=13 format=4 uid="uid://b3owhc620qisb"]
[gd_scene load_steps=16 format=4 uid="uid://b3owhc620qisb"]
[ext_resource type="Script" uid="uid://dcqssoikr3pl7" path="res://src/npc/Npc.cs" id="1_c03g6"]
[ext_resource type="Texture2D" uid="uid://dcodsa21o3syb" path="res://src/map/assets/Steles/Steles_C024_C.jpg" id="1_o7s11"]
[ext_resource type="Script" uid="uid://bee0bhxtd4r8s" path="res://src/npc/Stele.cs" id="1_xkojd"]
[ext_resource type="Texture2D" uid="uid://c8nvb5jn8f6k1" path="res://src/map/assets/Steles/Steles_Untitled-1.png" id="2_u6crp"]
[ext_resource type="Texture2D" uid="uid://cqcjbeoghy70" path="res://src/items/special/textures/Flower.png" id="4_xkojd"]
@@ -91,8 +91,44 @@ radius = 1.16748
height = 5.2554
radius = 1.941
[sub_resource type="Animation" id="Animation_hrxn4"]
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="Animation" id="Animation_flixp"]
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="AnimationLibrary" id="AnimationLibrary_6ihe1"]
_data = {
&"RESET": SubResource("Animation_hrxn4"),
&"fade_in": SubResource("Animation_flixp")
}
[node name="SteleA" type="Node3D"]
script = ExtResource("1_c03g6")
script = ExtResource("1_xkojd")
[node name="Steles_" type="Node3D" parent="."]
@@ -144,6 +180,12 @@ shape = SubResource("CylinderShape3D_hrxn4")
[node name="FLOWER" type="Sprite3D" parent="."]
transform = Transform3D(0.363695, 0.343112, 1.17177e-08, -0.212973, 0.225749, 0.39202, 0.269014, -0.285151, 0.310355, 0, 0.0524253, 0.964599)
visible = false
transparency = 1.0
shaded = true
texture = ExtResource("4_xkojd")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
unique_name_in_owner = true
libraries = {
&"": SubResource("AnimationLibrary_6ihe1")
}