[gd_scene load_steps=18 format=2]

[ext_resource path="res://3d_platforma/Player.tscn" type="PackedScene" id=1]
[ext_resource path="res://scripts/Library/Actions/Snare Admiral 2.wav" type="AudioStream" id=3]
[ext_resource path="res://3d_platforma/sqare_norm.png" type="Texture" id=4]
[ext_resource path="res://3d_platforma/texture_08.png" type="Texture" id=5]
[ext_resource path="res://scripts/Library/Actions/TriggerOnReady.gd" type="Script" id=6]
[ext_resource path="res://scripts/Library/Actions/ActionList.gd" type="Script" id=7]
[ext_resource path="res://scripts/Library/Actions/SFX BlackTiger.wav" type="AudioStream" id=8]
[ext_resource path="res://Tape/TapeFast.tscn" type="PackedScene" id=9]
[ext_resource path="res://Tape/TapeNormal.tscn" type="PackedScene" id=10]
[ext_resource path="res://Tape/TapeSlow.tscn" type="PackedScene" id=11]
[ext_resource path="res://scripts/RegisterAudioStreamPlayerSlow.gd" type="Script" id=12]
[ext_resource path="res://scripts/RegisterAudioStreamPlayerFast.gd" type="Script" id=13]
[ext_resource path="res://scripts/RegisterAudioStreamPlayerNormal.gd" type="Script" id=14]

[sub_resource type="SpatialMaterial" id=36]
resource_name = "CheckerGrid"
albedo_color = Color( 0.85, 0.85, 0.85, 1 )
albedo_texture = ExtResource( 5 )
roughness = 0.85
uv1_triplanar = true

[sub_resource type="SpatialMaterial" id=38]
resource_name = "CheckerGrid"
albedo_color = Color( 0.85, 0.85, 0.85, 1 )
albedo_texture = ExtResource( 5 )
roughness = 0.85
uv1_triplanar = true

[sub_resource type="OpenSimplexNoise" id=28]
octaves = 2
period = 0.8

[sub_resource type="NoiseTexture" id=29]
flags = 3
width = 32
height = 32
noise = SubResource( 28 )

[sub_resource type="SpatialMaterial" id=22]
albedo_color = Color( 0.478431, 0.235294, 0.486275, 1 )
roughness = 0.5
roughness_texture = SubResource( 29 )
normal_enabled = true
normal_scale = 1.0
normal_texture = ExtResource( 4 )
uv1_scale = Vector3( 3, 3, 3 )
uv1_triplanar = true

[sub_resource type="Animation" id=37]
resource_name = "move"
length = 30.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath(".:translation:y")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 10, 30 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ 0.0, 10.0, 0.0 ]
}

[sub_resource type="ProceduralSky" id=39]
sky_top_color = Color( 0.0901961, 0.121569, 0.141176, 1 )
sky_horizon_color = Color( 0.266667, 0.301961, 0.333333, 1 )
sky_energy = 0.1
ground_bottom_color = Color( 0.160784, 0.0666667, 0.0352941, 1 )
ground_horizon_color = Color( 0.266667, 0.301961, 0.333333, 1 )
ground_energy = 0.1
sun_color = Color( 0.972549, 0.976471, 0.345098, 1 )
sun_latitude = 15.0
sun_longitude = -3.96
sun_curve = 0.0170755

[sub_resource type="Environment" id=24]
resource_name = "black_env"
background_mode = 2
background_sky = SubResource( 39 )
background_sky_custom_fov = 50.0
background_color = Color( 0.137255, 0.137255, 0.137255, 1 )
background_energy = 2.0
ambient_light_color = Color( 0.501961, 0.501961, 0.501961, 1 )
ambient_light_energy = 0.45
ambient_light_sky_contribution = 0.6
fog_color = Color( 0.2304, 0.273707, 0.32, 1 )
fog_sun_amount = 0.25
fog_depth_begin = 5.0
fog_depth_end = 20.0
fog_transmit_enabled = true
fog_height_enabled = true
dof_blur_far_distance = 20.0
dof_blur_far_quality = 2
glow_intensity = 2.0
glow_bloom = 0.05
glow_blend_mode = 1
glow_hdr_scale = 4.0

[node name="Game" type="Spatial"]

[node name="start" type="CSGBox" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -24.1, 0 )
use_collision = true
width = 4.0
height = 48.0
depth = 6.0
material = SubResource( 36 )

[node name="Player" parent="." instance=ExtResource( 1 )]

[node name="enviroment" type="Spatial" parent="."]

[node name="Ring2" type="CSGPolygon" parent="enviroment"]
transform = Transform( 0.866025, 0.5, -2.18557e-08, 0, -4.37114e-08, -1, -0.5, 0.866025, -3.78552e-08, 0, -0.4, -21.4713 )
polygon = PoolVector2Array( 9, -2, 9.4, -1, 10, -1, 10, -2 )
mode = 1
spin_degrees = 360.0
spin_sides = 16
material = SubResource( 38 )

[node name="Ring3" type="CSGPolygon" parent="enviroment"]
transform = Transform( 0.866025, 0.5, -2.18557e-08, 0, -4.37114e-08, -1, -0.5, 0.866025, -3.78552e-08, -10, 6.6, -33.4713 )
polygon = PoolVector2Array( 13, -4, 14, -2, 15, -2, 15, -4 )
mode = 1
spin_degrees = 360.0
spin_sides = 16
material = SubResource( 38 )

[node name="Ring4" type="CSGPolygon" parent="enviroment"]
transform = Transform( 1.93185, -0.517638, 2.26267e-08, 0, -8.74228e-08, -2, 0.517638, 1.93185, -8.44439e-08, -11, -0.4, -62.4713 )
polygon = PoolVector2Array( 13, -4, 14, -2, 15, -2, 15, -4 )
mode = 1
spin_degrees = 360.0
spin_sides = 16
material = SubResource( 38 )

[node name="platforms_slow" type="Spatial" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, -4.4 )

[node name="pickup" type="CSGCylinder" parent="platforms_slow"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.3, -2 )
use_collision = true
radius = 2.3
height = 0.2
sides = 11

[node name="Ring" type="CSGPolygon" parent="platforms_slow"]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.7, -8.07128 )
use_collision = true
polygon = PoolVector2Array( 3, 0, 3.37031, 1.2588, 4.15364, 1.29316, 4, 0 )
mode = 1
spin_degrees = 360.0
spin_sides = 16
material = SubResource( 38 )

[node name="ramp2" type="CSGBox" parent="platforms_slow"]
transform = Transform( 1, 0, 0, 0, 0.984808, -0.173648, 0, 0.173648, 0.984808, 0, -1.2, -7.7 )
use_collision = true
width = 2.4
height = 0.4
depth = 4.0
material = SubResource( 22 )

[node name="slow_path" type="CSGBox" parent="platforms_slow"]
transform = Transform( 0.965926, 0, 0.258819, 0, 1, 0, -0.258819, 0, 0.965926, 0, -0.7, -11.4713 )
use_collision = true
width = 2.2
height = 0.6
material = SubResource( 22 )

[node name="slow_path2" type="CSGBox" parent="platforms_slow"]
transform = Transform( 0.866025, 0, 0.5, 0, 1, 0, -0.5, 0, 0.866025, -1.4, -0.4, -14.3713 )
use_collision = true
width = 2.2
height = 0.6
material = SubResource( 22 )

[node name="slow_path3" type="CSGBox" parent="platforms_slow"]
transform = Transform( 0.707107, 0, 0.707107, 0, 1, 0, -0.707107, 0, 0.707107, -2.6, 0.6, -16.3713 )
use_collision = true
width = 2.2
height = 0.6
material = SubResource( 22 )

[node name="lift" type="Spatial" parent="platforms_slow"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 8, -0.4, -16 )
visible = false

[node name="platform" type="CSGBox" parent="platforms_slow/lift"]
use_collision = true
width = 4.0
height = 1.0
depth = 4.0
material = SubResource( 38 )

[node name="AnimationPlayer" type="AnimationPlayer" parent="platforms_slow/lift/platform"]
autoplay = "move"
anims/move = SubResource( 37 )

[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, -0.5, 0.5, 0, 5, 0 )
light_energy = 0.65

[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource( 24 )

[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
stream = ExtResource( 3 )

[node name="AudioStreamPlayer3D2" type="AudioStreamPlayer3D" parent="."]
stream = ExtResource( 8 )

[node name="TriggerOnReady" type="Node" parent="."]
script = ExtResource( 6 )
action = NodePath("../ActionList")

[node name="ActionList" type="Node" parent="."]
script = ExtResource( 7 )

[node name="PlaySound" type="Node" parent="ActionList"]
script = ExtResource( 1 )

[node name="PlaySound2" type="Node" parent="ActionList"]
script = ExtResource( 1 )

[node name="TapeFast" parent="." instance=ExtResource( 9 )]
transform = Transform( 0.25, 0, 0, 0, 0.25, 0, 0, 0, 0.25, -1.34058, 0, -1.25926 )

[node name="TapeNormal" parent="." instance=ExtResource( 10 )]
transform = Transform( 0.25, 0, 0, 0, 0.25, 0, 0, 0, 0.25, 0.518271, 0, -1.35086 )

[node name="TapeSlow" parent="." instance=ExtResource( 11 )]
transform = Transform( 0.25, 0, 0, 0, 0.25, 0, 0, 0, 0.25, 2.24, 0, -1.3138 )

[node name="AudioStreamPlayer3DSlow" type="AudioStreamPlayer3D" parent="."]
script = ExtResource( 12 )

[node name="AudioStreamPlayer3DNormal" type="AudioStreamPlayer3D" parent="."]
script = ExtResource( 14 )

[node name="AudioStreamPlayer3DFast" type="AudioStreamPlayer3D" parent="."]
script = ExtResource( 13 )
