[gd_scene load_steps=39 format=3 uid="uid://4hr2m5ibwhpy"]

[ext_resource type="Script" path="res://scenes/base_game_scene.gd" id="1_fbwwc"]
[ext_resource type="PackedScene" uid="uid://7uc6tf2tvn1k" path="res://scenes/xr_origin_3d.tscn" id="2_i3vfe"]
[ext_resource type="PackedScene" uid="uid://clc5dre31iskm" path="res://addons/godot-xr-tools/xr/start_xr.tscn" id="3_d0uvh"]
[ext_resource type="PackedScene" uid="uid://57q7hhomocdh" path="res://addons/godot-xr-tools/objects/world_grab_area.tscn" id="4_54g2v"]
[ext_resource type="VoxelGIData" uid="uid://bxphdae7hohsh" path="res://scenes/title_scene/title_scene.VoxelGI_data.res" id="8_qelii"]
[ext_resource type="Script" path="res://scenes/performance_settings/voxel_gi_toggle.gd" id="9_busdy"]
[ext_resource type="Environment" uid="uid://c1yf8e4qr42hr" path="res://scenes/environment.tres" id="10_wr4yd"]
[ext_resource type="PackedScene" uid="uid://c20kawop2lrv" path="res://assets/Arcane Source 2.glb" id="11_1bcu4"]
[ext_resource type="CompressedTexture3D" uid="uid://bgojedwr31dki" path="res://scenes/valentine_scene/valentine_scene.GPUParticlesCollisionSDF3D_data.exr" id="11_hn2bf"]
[ext_resource type="PackedScene" uid="uid://rsrnbs08nv1n" path="res://scenes/collisions/proxy_collision_detector.tscn" id="12_8ub4t"]
[ext_resource type="TubeTrailMesh" uid="uid://cs018yg173f03" path="res://scenes/valentine_scene/new_tube_trail_mesh.tres" id="12_qbtqr"]
[ext_resource type="Material" uid="uid://b4vq6ouyv64bx" path="res://scenes/valentine_scene/new_particle_process_material.tres" id="13_0sy3c"]
[ext_resource type="Script" path="res://scenes/target.gd" id="14_luvo8"]
[ext_resource type="AudioStream" uid="uid://cqb1bo72232vs" path="res://assets/03 highpiano.ogg" id="15_gvfbh"]
[ext_resource type="AudioStream" uid="uid://cv0f1tu5pac60" path="res://assets/02 midpiano.ogg" id="16_rhkn8"]
[ext_resource type="AudioStream" uid="uid://dnwh2iqwi86ku" path="res://assets/04 bass.ogg" id="17_gyt33"]
[ext_resource type="PackedScene" uid="uid://bifpsyvpcem3a" path="res://scenes/manipulator/manipulator.tscn" id="18_wecvv"]
[ext_resource type="PackedScene" uid="uid://cibwlfqvmirgb" path="res://scenes/ambient_particles.tscn" id="19_ssw3h"]
[ext_resource type="PackedScene" uid="uid://ccmx5v2601k8q" path="res://scenes/manipulator/visual_attractor_sphere.tscn" id="19_xjpkb"]
[ext_resource type="PackedScene" uid="uid://g4esih4vcves" path="res://scenes/level_select_3d.tscn" id="20_l6q7q"]

[sub_resource type="BoxShape3D" id="BoxShape3D_gj4t1"]
size = Vector3(100, 100, 100)

[sub_resource type="BoxShape3D" id="BoxShape3D_jwkgy"]
size = Vector3(40, 40, 40)

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_lvd12"]
albedo_color = Color(0.563626, 0.563626, 0.563625, 1)

[sub_resource type="PlaneMesh" id="PlaneMesh_gsjte"]
material = SubResource("StandardMaterial3D_lvd12")
size = Vector2(100, 100)

[sub_resource type="Gradient" id="Gradient_0ygfi"]
colors = PackedColorArray(0.720471, 0.182584, 0.797749, 1, 1, 1, 3, 1)

[sub_resource type="GradientTexture1D" id="GradientTexture1D_e428v"]
gradient = SubResource("Gradient_0ygfi")
use_hdr = true

[sub_resource type="Curve" id="Curve_g0jsu"]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.905229, 0.968574), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
point_count = 3

[sub_resource type="CurveTexture" id="CurveTexture_qnerq"]
curve = SubResource("Curve_g0jsu")

[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_efdjr"]
resource_local_to_scene = true
emission_shape = 3
emission_box_extents = Vector3(0.1, 0.1, 0.1)
spread = 0.0
initial_velocity_min = 1.0
initial_velocity_max = 1.0
gravity = Vector3(0, 0, 0)
damping_min = 0.05
damping_max = 0.05
scale_max = 1.3
scale_curve = SubResource("CurveTexture_qnerq")
color = Color(0.288256, 0.558565, 0.665093, 1)
color_ramp = SubResource("GradientTexture1D_e428v")
hue_variation_min = -0.1
hue_variation_max = 0.1
turbulence_noise_scale = 6.228
turbulence_influence_min = 0.01
turbulence_influence_max = 0.01
collision_mode = 1
collision_friction = 0.06
collision_bounce = 1.0

[sub_resource type="BoxShape3D" id="BoxShape3D_gofwq"]
size = Vector3(0.3, 0.3, 0.3)

[sub_resource type="BoxMesh" id="BoxMesh_0cc1r"]
size = Vector3(0.3, 0.3, 0.3)

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_m6mak"]
transparency = 1
albedo_color = Color(1, 1, 1, 0.3)
emission_enabled = true
emission = Color(1, 1, 1, 1)
emission_energy_multiplier = 0.61
rim = 0.38
refraction_scale = 0.88

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_sffkp"]
transparency = 1
albedo_color = Color(1, 1, 1, 0.3)
emission_enabled = true
emission = Color(1, 1, 1, 1)
emission_energy_multiplier = 0.61
rim = 0.38
refraction_scale = 0.88

[sub_resource type="BoxMesh" id="BoxMesh_ootr5"]
size = Vector3(0.3, 0.3, 0.3)

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_o8q0i"]
transparency = 1
albedo_color = Color(1, 1, 1, 0.3)
emission_enabled = true
emission = Color(1, 1, 1, 1)
emission_energy_multiplier = 0.61
rim = 0.38
refraction_scale = 0.88

[sub_resource type="PrismMesh" id="PrismMesh_be80n"]
size = Vector3(0.2, 0.2, 0.2)

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hyt1m"]
emission_enabled = true
emission = Color(0.208505, 0.70691, 0.626474, 1)

[sub_resource type="CylinderMesh" id="CylinderMesh_7qhvg"]
top_radius = 0.3
bottom_radius = 0.3
height = 5.0

[node name="ValentineScene" type="Node3D"]
script = ExtResource("1_fbwwc")

[node name="XROrigin3D" parent="." instance=ExtResource("2_i3vfe")]

[node name="StartXR" parent="." instance=ExtResource("3_d0uvh")]

[node name="WorldGrabArea" parent="." instance=ExtResource("4_54g2v")]
gravity_space_override = 3
gravity = 0.0

[node name="CollisionShape3D" type="CollisionShape3D" parent="WorldGrabArea"]
shape = SubResource("BoxShape3D_gj4t1")

[node name="VoxelGI" type="VoxelGI" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.4, -3.27626)
subdiv = 0
size = Vector3(10, 5, 10)
data = ExtResource("8_qelii")
script = ExtResource("9_busdy")

[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = ExtResource("10_wr4yd")

[node name="ReverbArea" type="Area3D" parent="."]
reverb_bus_enabled = true
reverb_bus_name = &"Reverb"
reverb_bus_amount = 1.0

[node name="CollisionShape3D" type="CollisionShape3D" parent="ReverbArea"]
shape = SubResource("BoxShape3D_jwkgy")

[node name="Floor" type="MeshInstance3D" parent="."]
mesh = SubResource("PlaneMesh_gsjte")

[node name="SpotLight3D" type="SpotLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.571688, 0.820471, 0, -0.820471, 0.571688, 0, 4.06392, -0.511663)
shadow_enabled = true
spot_range = 40.0

[node name="Arcane Source 2" parent="." instance=ExtResource("11_1bcu4")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -3.25005)

[node name="ProxyCollisionDetector" parent="." instance=ExtResource("12_8ub4t")]
source_particles_paths = Array[NodePath]([NodePath("../GPUParticles3D"), NodePath("../GPUParticles3D2")])

[node name="GPUParticlesCollisionSDF3D" type="GPUParticlesCollisionSDF3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.171387, 1.59386, -2.93327)
size = Vector3(4, 4, 3)
bake_mask = 4293918721
texture = ExtResource("11_hn2bf")

[node name="GPUParticles3D" type="GPUParticles3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.29421, 1.523, -2.03293)
cast_shadow = 0
gi_mode = 2
amount = 500
lifetime = 4.5
randomness = 0.18
visibility_aabb = AABB(-100, -100, -100, 200, 200, 200)
transform_align = 2
trail_enabled = true
trail_lifetime = 0.5
process_material = SubResource("ParticleProcessMaterial_efdjr")
draw_pass_1 = ExtResource("12_qbtqr")

[node name="GPUParticles3D2" type="GPUParticles3D" parent="."]
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 2.30577, 1.52311, -2.0325)
cast_shadow = 0
gi_mode = 2
amount = 500
lifetime = 4.5
randomness = 0.18
visibility_aabb = AABB(-100, -100, -100, 200, 200, 200)
transform_align = 2
trail_enabled = true
trail_lifetime = 0.5
process_material = ExtResource("13_0sy3c")
draw_pass_1 = ExtResource("12_qbtqr")

[node name="Target1" type="StaticBody3D" parent="." groups=["targets"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0726249, 3.45173, -4.38392)
script = ExtResource("14_luvo8")

[node name="CollisionShape3D" type="CollisionShape3D" parent="Target1"]
shape = SubResource("BoxShape3D_gofwq")

[node name="MeshInstance3D" type="MeshInstance3D" parent="Target1"]
layers = 4
mesh = SubResource("BoxMesh_0cc1r")
skeleton = NodePath("../..")
surface_material_override/0 = SubResource("StandardMaterial3D_m6mak")

[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="Target1"]
stream = ExtResource("15_gvfbh")
volume_db = -80.0
autoplay = true

[node name="Target2" type="StaticBody3D" parent="." groups=["targets"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.633323, 2.21869, -2.66142)
script = ExtResource("14_luvo8")

[node name="CollisionShape3D" type="CollisionShape3D" parent="Target2"]
shape = SubResource("BoxShape3D_gofwq")

[node name="MeshInstance3D" type="MeshInstance3D" parent="Target2"]
layers = 4
mesh = SubResource("BoxMesh_0cc1r")
skeleton = NodePath("../..")
surface_material_override/0 = SubResource("StandardMaterial3D_sffkp")

[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="Target2"]
stream = ExtResource("16_rhkn8")
volume_db = -80.0
autoplay = true

[node name="Target3" type="StaticBody3D" parent="." groups=["targets"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.633, 2.219, -2.66146)
script = ExtResource("14_luvo8")

[node name="CollisionShape3D" type="CollisionShape3D" parent="Target3"]
shape = SubResource("BoxShape3D_gofwq")

[node name="MeshInstance3D" type="MeshInstance3D" parent="Target3"]
layers = 4
mesh = SubResource("BoxMesh_ootr5")
skeleton = NodePath("../..")
surface_material_override/0 = SubResource("StandardMaterial3D_o8q0i")

[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="Target3"]
stream = ExtResource("17_gyt33")
volume_db = -80.0
autoplay = true

[node name="Manipulator0" parent="." groups=["manipulators"] instance=ExtResource("18_wecvv")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.75019, -3.96693)

[node name="VisualAttractorSphere" parent="Manipulator0" instance=ExtResource("19_xjpkb")]
strength = 26.31
attenuation = 4.13335
radius = 3.0

[node name="Manipulator1" parent="." groups=["manipulators"] instance=ExtResource("18_wecvv")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0383019, 1.42738, -2.59085)

[node name="VisualAttractorSphere" parent="Manipulator1" instance=ExtResource("19_xjpkb")]
transform = Transform3D(1, 0, 0, 0, 0.707107, -0.707107, 0, 0.707107, 0.707107, 0, 0, 0)
strength = 6.84
attenuation = 3.13249
directionality = 1.0
radius = 1.3

[node name="MeshInstance3D" type="MeshInstance3D" parent="Manipulator1/VisualAttractorSphere"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, -0.11962)
mesh = SubResource("PrismMesh_be80n")
skeleton = NodePath("")
surface_material_override/0 = SubResource("StandardMaterial3D_hyt1m")

[node name="Manipulator2" parent="." groups=["manipulators"] instance=ExtResource("18_wecvv")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0383019, 4.37845, -5.02046)

[node name="VisualAttractorSphere" parent="Manipulator2" instance=ExtResource("19_xjpkb")]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0)
strength = 39.61
attenuation = 1.46136
directionality = 1.0
radius = 2.0

[node name="MeshInstance3D" type="MeshInstance3D" parent="Manipulator2/VisualAttractorSphere"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, -0.11962)
mesh = SubResource("PrismMesh_be80n")
skeleton = NodePath("")
surface_material_override/0 = SubResource("StandardMaterial3D_hyt1m")

[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(-4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0, 1, 0, 3.12527, -4.09949)
mesh = SubResource("CylinderMesh_7qhvg")

[node name="AmbientParticles" parent="." instance=ExtResource("19_ssw3h")]

[node name="LevelSelect3D" parent="." instance=ExtResource("20_l6q7q")]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 1, 2)
