[gd_scene load_steps=20 format=2] [ext_resource path="res://areas/ExitPortal.tscn" type="PackedScene" id=2] [ext_resource path="res://environments/red_env.tres" type="Environment3D" id=3] [ext_resource path="res://library/MainLibrary.tres" type="VoxelLibrarySimple" id=4] [ext_resource path="res://player/Player.tscn" type="PackedScene" id=5] [ext_resource path="res://particles/flake.png" type="Texture" id=6] [sub_resource type="VoxelChunkBlocky" id=1] resource_name = "Chunk[0,-1,-1]" transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -16, -16 ) position_y = -1 position_z = -1 size_x = 16 size_y = 16 size_z = 16 data_size_x = 18 data_size_y = 18 data_size_z = 18 margin_start = 1 margin_end = 1 library = ExtResource( 4 ) channel_count = 1 data_channel = PoolByteArray( 31, 0, 1, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 195, 31, 1, 198, 17, 255, 49, 15, 68, 1, 255, 255, 119, 15, 2, 0, 255, 31, 80, 0, 0, 0, 0, 0 ) [sub_resource type="VoxelChunkBlocky" id=2] resource_name = "Chunk[-1,-1,0]" transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -16, -16, 0 ) position_x = -1 position_y = -1 size_x = 16 size_y = 16 size_z = 16 data_size_x = 18 data_size_y = 18 data_size_z = 18 margin_start = 1 margin_end = 1 library = ExtResource( 4 ) channel_count = 1 data_channel = PoolByteArray( 31, 0, 1, 0, 255, 9, 44, 1, 1, 29, 1, 13, 17, 0, 15, 2, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 134, 80, 0, 0, 0, 0, 0 ) [sub_resource type="VoxelChunkBlocky" id=3] resource_name = "Chunk[-1,-1,-1]" transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -16, -16, -16 ) position_x = -1 position_y = -1 position_z = -1 size_x = 16 size_y = 16 size_z = 16 data_size_x = 18 data_size_y = 18 data_size_z = 18 margin_start = 1 margin_end = 1 library = ExtResource( 4 ) channel_count = 1 data_channel = PoolByteArray( 31, 0, 1, 0, 212, 31, 1, 232, 0, 212, 15, 2, 0, 255, 255, 255, 255, 255, 255, 255, 231, 15, 219, 8, 255, 50, 15, 68, 1, 255, 255, 255, 255, 255, 1, 29, 1, 16, 5, 13, 17, 0, 15, 2, 0, 255, 15, 15, 50, 1, 255, 32, 14, 2, 0, 15, 68, 1, 17, 15, 172, 2, 17, 15, 72, 0, 17, 15, 2, 0, 255, 14, 15, 68, 1, 255, 32, 15, 154, 2, 17, 15, 2, 0, 255, 49, 80, 0, 0, 0, 0, 0 ) [sub_resource type="VoxelChunkBlocky" id=4] resource_name = "Chunk[-1,0,-1]" transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -16, 0, -16 ) position_x = -1 position_z = -1 size_x = 16 size_y = 16 size_z = 16 data_size_x = 18 data_size_y = 18 data_size_z = 18 margin_start = 1 margin_end = 1 library = ExtResource( 4 ) channel_count = 1 data_channel = PoolByteArray( 31, 0, 1, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 197, 80, 0, 0, 0, 0, 0 ) [sub_resource type="VoxelChunkBlocky" id=5] resource_name = "Chunk[-1,-1,-2]" transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -16, -16, -32 ) position_x = -1 position_y = -1 position_z = -2 size_x = 16 size_y = 16 size_z = 16 data_size_x = 18 data_size_y = 18 data_size_z = 18 margin_start = 1 margin_end = 1 library = ExtResource( 4 ) channel_count = 1 data_channel = PoolByteArray( 31, 0, 1, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 84, 29, 1, 85, 19, 15, 18, 0, 52, 29, 1, 72, 0, 15, 18, 0, 0, 15, 125, 0, 16, 15, 2, 0, 255, 32, 13, 121, 1, 15, 2, 0, 255, 120, 80, 0, 0, 0, 0, 0 ) [sub_resource type="VoxelChunkBlocky" id=6] resource_name = "Chunk[-1,0,-2]" transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -16, 0, -32 ) position_x = -1 position_z = -2 size_x = 16 size_y = 16 size_z = 16 data_size_x = 18 data_size_y = 18 data_size_z = 18 margin_start = 1 margin_end = 1 library = ExtResource( 4 ) channel_count = 1 data_channel = PoolByteArray( 31, 0, 1, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 254, 43, 1, 1, 1, 19, 15, 17, 0, 15, 15, 35, 0, 34, 14, 53, 0, 15, 18, 0, 1, 11, 140, 0, 15, 35, 0, 1, 12, 176, 0, 14, 53, 0, 15, 18, 0, 0, 15, 2, 0, 255, 32, 13, 103, 1, 15, 2, 0, 255, 136, 80, 0, 0, 0, 0, 0 ) [sub_resource type="VoxelChunkBlocky" id=7] resource_name = "Chunk[-2,0,-2]" transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -32, 0, -32 ) position_x = -2 position_z = -2 size_x = 16 size_y = 16 size_z = 16 data_size_x = 18 data_size_y = 18 data_size_z = 18 margin_start = 1 margin_end = 1 library = ExtResource( 4 ) channel_count = 1 data_channel = PoolByteArray( 31, 0, 1, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 183, 58, 1, 1, 1, 186, 19, 15, 17, 0, 17, 10, 50, 0, 43, 0, 0, 67, 0, 0, 69, 0, 0, 6, 0, 8, 2, 0, 13, 18, 0, 13, 17, 0, 15, 2, 0, 168, 15, 204, 0, 185, 15, 2, 0, 48, 13, 15, 2, 14, 33, 2, 15, 18, 0, 18, 15, 2, 0, 92, 80, 0, 0, 0, 0, 0 ) [sub_resource type="VoxelChunkBlocky" id=8] resource_name = "Chunk[-2,0,-1]" transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -32, 0, -16 ) position_x = -2 position_z = -1 size_x = 16 size_y = 16 size_z = 16 data_size_x = 18 data_size_y = 18 data_size_z = 18 margin_start = 1 margin_end = 1 library = ExtResource( 4 ) channel_count = 1 data_channel = PoolByteArray( 31, 0, 1, 0, 169, 47, 1, 1, 190, 0, 169, 15, 2, 0, 62, 14, 14, 1, 15, 18, 0, 35, 15, 2, 0, 233, 14, 50, 1, 29, 2, 15, 1, 14, 18, 0, 14, 54, 0, 15, 2, 0, 233, 14, 14, 1, 14, 50, 1, 14, 18, 0, 14, 54, 0, 15, 2, 0, 233, 14, 14, 1, 15, 18, 0, 35, 15, 2, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 224, 80, 0, 0, 0, 0, 0 ) [sub_resource type="Gradient" id=10] [sub_resource type="GradientTexture" id=11] gradient = SubResource( 10 ) [sub_resource type="ParticlesMaterial" id=12] emission_shape = 2 emission_box_extents = Vector3( 70, 70, 70 ) gravity = Vector3( 0, -0.4, 0 ) initial_velocity_random = 0.15 angular_velocity = 16.55 angular_velocity_random = 0.51 radial_accel = -0.05 radial_accel_random = 0.37 scale = 0.4 color_ramp = SubResource( 11 ) hue_variation = 0.48 hue_variation_random = 0.09 anim_speed = 44.14 anim_offset = 0.07 [sub_resource type="SpatialMaterial" id=13] flags_transparent = true vertex_color_use_as_albedo = true params_specular_mode = 4 params_billboard_mode = 3 particles_anim_h_frames = 1 particles_anim_v_frames = 1 particles_anim_loop = false albedo_texture = ExtResource( 6 ) [sub_resource type="QuadMesh" id=14] material = SubResource( 13 ) [node name="Level4" type="VoxelWorldBlocky"] editable = true max_concurrent_generations = 5 library = ExtResource( 4 ) chunks = [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ), SubResource( 7 ), SubResource( 8 ) ] __meta__ = { "_edit_lock_": true } [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = ExtResource( 3 ) [node name="Player" parent="." instance=ExtResource( 5 )] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.379907, 0.165382, -0.480157 ) [node name="DirectionalLight" type="DirectionalLight" parent="."] transform = Transform( 0.969817, 0.22762, -0.0874344, 0, 0.35858, 0.933499, 0.243835, -0.905323, 0.347757, 0, 5.5679, -6.05193 ) light_color = Color( 0.47451, 0.352941, 0.607843, 1 ) light_energy = 0.31 shadow_enabled = true [node name="DirectionalLight2" type="DirectionalLight" parent="."] transform = Transform( 0.902848, -0.382056, -0.197228, 0, -0.458712, 0.888585, -0.42996, -0.802257, -0.414147, 0, 5.5679, -6.94149 ) light_color = Color( 0.682353, 0.145098, 0.145098, 1 ) light_energy = 0.17 shadow_enabled = true [node name="OmniLight" type="OmniLight" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -5.33566, 8.78919, -13.4252 ) light_color = Color( 0.894118, 0.894118, 0.894118, 1 ) light_energy = 1.17 light_negative = true shadow_enabled = true omni_range = 7.3664 omni_attenuation = 2.0 omni_shadow_mode = 0 [node name="OmniLight2" type="OmniLight" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -8.18059, 1.65957, -15.6395 ) light_color = Color( 0.141176, 0.427451, 0.552941, 1 ) light_energy = 2.55 light_indirect_energy = 5.47 light_specular = 0.61 omni_range = 8.88538 omni_attenuation = 1.1487 [node name="OmniLight3" type="OmniLight" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -17.2802, 1.65957, -7.3639 ) light_color = Color( 0.462745, 0.0980392, 0.380392, 1 ) light_energy = 2.55 light_indirect_energy = 5.47 light_specular = 0.61 omni_range = 8.88538 omni_attenuation = 1.1487 [node name="OmniLight4" type="OmniLight" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -8.53726, 4.41136, -7.73945 ) light_color = Color( 0.164706, 0.054902, 0.690196, 1 ) light_energy = 2.55 light_indirect_energy = 5.47 light_specular = 0.61 omni_range = 8.88538 omni_attenuation = 0.406128 [node name="OmniLight5" type="OmniLight" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.674599, 2.49094, 1.27345 ) light_color = Color( 0.372549, 0.572549, 0.705882, 1 ) light_energy = 0.83 light_indirect_energy = 5.47 light_negative = true light_specular = 0.61 omni_range = 7.6254 omni_attenuation = 0.70711 [node name="Particles" type="Particles" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -10.1743, 5.65334, -9.91923 ) amount = 50 lifetime = 8.41 speed_scale = 4.44 randomness = 0.38 visibility_aabb = AABB( -61.9632, -36.4177, -64.4469, 123.926, 72.8355, 128.894 ) process_material = SubResource( 12 ) draw_pass_1 = SubResource( 14 ) [node name="ExitPortal" parent="." instance=ExtResource( 2 )] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -23.7753, 10.3203, -13.9228 )