This commit is contained in:
2025-01-18 15:45:09 +01:00
parent f1bfb48fcf
commit 114e09172f
6 changed files with 94 additions and 7 deletions

View File

@@ -1,6 +1,7 @@
[gd_scene load_steps=10 format=3 uid="uid://c74354tlmcg6h"]
[gd_scene load_steps=11 format=3 uid="uid://c74354tlmcg6h"]
[ext_resource type="Script" path="res://script/player.gd" id="1_kjuyr"]
[ext_resource type="PackedScene" uid="uid://bi1sl1tcpssyd" path="res://scene/display_song.tscn" id="2_0o8k8"]
[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"]
@@ -121,7 +122,7 @@ _data = {
"finger": SubResource("Animation_njhrs")
}
[node name="CharacterBody3D" type="CharacterBody3D" node_paths=PackedStringArray("head", "anim", "particules")]
[node name="CharacterBody3D" type="CharacterBody3D" node_paths=PackedStringArray("head", "anim", "particules", "canvas")]
script = ExtResource("1_kjuyr")
SENSI = 0.002
SPEED_PARTICULES = 25.0
@@ -130,6 +131,9 @@ MIN_PARTICULES = 10
head = NodePath("head")
anim = NodePath("AnimationPlayer")
particules = NodePath("MainHugues/GPUParticles3D")
canvas = NodePath("display_song")
[node name="display_song" parent="." instance=ExtResource("2_0o8k8")]
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(0.999917, 0, 0.0128802, 0, 1, 0, -0.0128802, 0, 0.999917, 0, 0, 0)