161 lines
5.3 KiB
Plaintext
161 lines
5.3 KiB
Plaintext
[gd_scene load_steps=10 format=3 uid="uid://c74354tlmcg6h"]
|
|
|
|
[ext_resource type="Script" path="res://script/player.gd" id="1_kjuyr"]
|
|
[ext_resource type="PackedScene" uid="uid://b5rkwb64wgdwf" path="res://scene/gpu_particles_3d.tscn" id="2_ctykj"]
|
|
[ext_resource type="PackedScene" uid="uid://cqla6v58rvrqd" path="res://scene/main.tscn" id="3_wfafm"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_d8bnp"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ohrfw"]
|
|
albedo_color = Color(1, 0, 1, 1)
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_ha068"]
|
|
radius = 0.1
|
|
|
|
[sub_resource type="Animation" id="Animation_1p8b7"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("MainHugues:rotation")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector3(0, 0, -1.5708)]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("MainHugues:position")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector3(0.252187, 0, 0)]
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath("MainHugues/GPUParticles3D:emitting")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [false]
|
|
}
|
|
tracks/3/type = "value"
|
|
tracks/3/imported = false
|
|
tracks/3/enabled = true
|
|
tracks/3/path = NodePath("MainHugues:visible")
|
|
tracks/3/interp = 1
|
|
tracks/3/loop_wrap = true
|
|
tracks/3/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [false]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_njhrs"]
|
|
resource_name = "finger"
|
|
length = 4.5
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("MainHugues:rotation")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0.166667, 0.433333, 0.933333, 3, 4.03333),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
|
"update": 0,
|
|
"values": [Vector3(0.00877896, -1.57553, 1.5708), Vector3(0.00877896, -1.57553, 1.5708), Vector3(0.00872665, -4.87645, 1.5708), Vector3(0.00872665, -4.87645, 1.5708), Vector3(0.00872665, 1.40674, 1.5708)]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("MainHugues:position")
|
|
tracks/1/interp = 2
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0.166667, 0.433333, 0.933333, 3, 4.03333),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
|
"update": 0,
|
|
"values": [Vector3(0.000633344, 0.311501, -0.254602), Vector3(0.000633359, 0.156883, -0.254602), Vector3(0.173339, 0.317806, -0.445379), Vector3(0.173339, 0.317806, -0.445379), Vector3(0.173339, -0.040048, -0.224093)]
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath("MainHugues/GPUParticles3D:emitting")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0, 1.1, 3.83333),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 1,
|
|
"values": [false, true, false]
|
|
}
|
|
tracks/3/type = "value"
|
|
tracks/3/imported = false
|
|
tracks/3/enabled = true
|
|
tracks/3/path = NodePath("MainHugues:visible")
|
|
tracks/3/interp = 1
|
|
tracks/3/loop_wrap = true
|
|
tracks/3/keys = {
|
|
"times": PackedFloat32Array(0.0333333, 4.46667),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 1,
|
|
"values": [true, false]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_jrykd"]
|
|
_data = {
|
|
"RESET": SubResource("Animation_1p8b7"),
|
|
"finger": SubResource("Animation_njhrs")
|
|
}
|
|
|
|
[node name="CharacterBody3D" type="CharacterBody3D" node_paths=PackedStringArray("head", "anim", "particules")]
|
|
script = ExtResource("1_kjuyr")
|
|
SENSI = 0.002
|
|
SPEED_PARTICULES = 25.0
|
|
cooldown = 4.5
|
|
MIN_PARTICULES = 10
|
|
head = NodePath("head")
|
|
anim = NodePath("AnimationPlayer")
|
|
particules = NodePath("MainHugues/GPUParticles3D")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(0.999917, 0, 0.0128802, 0, 1, 0, -0.0128802, 0, 0.999917, 0, 0, 0)
|
|
shape = SubResource("CapsuleShape3D_d8bnp")
|
|
|
|
[node name="head" type="Node3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.65, 0)
|
|
|
|
[node name="point_dir" type="Node3D" parent="head"]
|
|
transform = Transform3D(1, 7.81702e-05, -0.000170007, -7.81212e-05, 1, 0.000294683, 0.000170029, -0.00029467, 1, 0, 0, -1)
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="head"]
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
material_override = SubResource("StandardMaterial3D_ohrfw")
|
|
mesh = SubResource("CapsuleMesh_ha068")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
"": SubResource("AnimationLibrary_jrykd")
|
|
}
|
|
|
|
[node name="MainHugues" parent="." instance=ExtResource("3_wfafm")]
|
|
transform = Transform3D(-1.80999e-07, 0.05, 0, -0.0499999, -1.81e-07, 0, 0, 0, 0.05, 0.252187, 0, 0)
|
|
visible = false
|
|
|
|
[node name="GPUParticles3D" parent="MainHugues" instance=ExtResource("2_ctykj")]
|
|
transform = Transform3D(0.115272, 19.9992, -0.131047, 15.0171, -8.748e-07, 13.2093, 13.2088, -0.174531, -15.0165, 6.19877, 0.0196037, -0.570189)
|