103 lines
3.1 KiB
Plaintext
103 lines
3.1 KiB
Plaintext
[gd_scene load_steps=10 format=3 uid="uid://c6uobc6kd3v0t"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://btimsrtpykehv" path="res://player/pickup/HealthPickup.gltf" id="1_8xcsi"]
|
|
[ext_resource type="Script" path="res://player/pickup/health_pickup.gd" id="1_ip3u3"]
|
|
[ext_resource type="Texture2D" uid="uid://byda217s5cq8v" path="res://effects/light_01.png" id="2_2ivc6"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_sj4ns"]
|
|
transparency = 1
|
|
shading_mode = 0
|
|
albedo_color = Color(0.623529, 1, 1, 1)
|
|
albedo_texture = ExtResource("2_2ivc6")
|
|
billboard_mode = 1
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_icasn"]
|
|
material = SubResource("StandardMaterial3D_sj4ns")
|
|
size = Vector2(3, 3)
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_2mnc6"]
|
|
radius = 1.0
|
|
|
|
[sub_resource type="Animation" id="Animation_6bb8s"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("blockbench_export:position")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector3(0, 0, 0)]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("blockbench_export:rotation")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector3(0, 0, 0)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_s83ec"]
|
|
resource_name = "idle"
|
|
length = 2.0
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("blockbench_export:position")
|
|
tracks/0/interp = 2
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 1, 2),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 0,
|
|
"values": [Vector3(0, 0, 0), Vector3(0, 0.5, 0), Vector3(0, 0, 0)]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("blockbench_export:rotation")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0, 1, 2),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 0,
|
|
"values": [Vector3(0, 0, 0), Vector3(0, -3.14159, 0), Vector3(0, -6.28319, 0)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_mb1pw"]
|
|
_data = {
|
|
"RESET": SubResource("Animation_6bb8s"),
|
|
"idle": SubResource("Animation_s83ec")
|
|
}
|
|
|
|
[node name="HealthPickup" type="Area3D"]
|
|
collision_layer = 128
|
|
collision_mask = 0
|
|
script = ExtResource("1_ip3u3")
|
|
|
|
[node name="blockbench_export" parent="." instance=ExtResource("1_8xcsi")]
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="blockbench_export"]
|
|
transform = Transform3D(1, 0, 7.45058e-09, 0, 1, 0, -7.45058e-09, 0, 1, 0, 0, 0)
|
|
mesh = SubResource("QuadMesh_icasn")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
|
|
shape = SubResource("SphereShape3D_2mnc6")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
"": SubResource("AnimationLibrary_mb1pw")
|
|
}
|
|
autoplay = "idle"
|