[gd_scene format=3 uid="uid://c50w214ctcjc7"] [ext_resource type="Shader" uid="uid://boy8idm1nge7n" path="res://objects/spawner/assets/shaders/portal.gdshader" id="1_jjtoq"] [ext_resource type="Script" uid="uid://bkljflytckumm" path="res://objects/spawner/spawner.gd" id="1_y68vg"] [sub_resource type="Animation" id="Animation_s17ww"] resource_name = "Appear" length = 0.4 [sub_resource type="Animation" id="Animation_y68vg"] length = 0.001 [sub_resource type="AnimationLibrary" id="AnimationLibrary_d6t07"] _data = { &"Appear": SubResource("Animation_s17ww"), &"RESET": SubResource("Animation_y68vg") } [sub_resource type="SphereMesh" id="SphereMesh_d6t07"] radius = 0.4 height = 0.8 [sub_resource type="Gradient" id="Gradient_y68vg"] offsets = PackedFloat32Array(0, 0.043333333, 0.98333335) colors = PackedColorArray(0, 0, 0, 1, 0.22352941, 0.03529412, 0.2784314, 1, 0, 0, 0, 1) [sub_resource type="GradientTexture1D" id="GradientTexture1D_fx0gv"] gradient = SubResource("Gradient_y68vg") [sub_resource type="FastNoiseLite" id="FastNoiseLite_fcnqv"] [sub_resource type="NoiseTexture2D" id="NoiseTexture2D_vf7ls"] width = 300 height = 300 noise = SubResource("FastNoiseLite_fcnqv") [sub_resource type="ShaderMaterial" id="ShaderMaterial_yf5fn"] render_priority = 0 shader = ExtResource("1_jjtoq") shader_parameter/noise_texture = SubResource("NoiseTexture2D_vf7ls") shader_parameter/gradient = SubResource("GradientTexture1D_fx0gv") shader_parameter/layers = 8 shader_parameter/depth_amount = 1.34 shader_parameter/fade_amount = 1.08999997563632 [sub_resource type="SphereMesh" id="SphereMesh_w02y4"] radius = 0.8 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ahe7j"] shading_mode = 0 albedo_color = Color(0.10980392, 0.050980393, 0.12941177, 1) [node name="Spawner" type="Node3D" unique_id=695896823] script = ExtResource("1_y68vg") duration = 1.0 spawn_rate = 200.0 [node name="SpawnPoint" type="Node3D" parent="." unique_id=949382199] unique_name_in_owner = true transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.1684067, 0, 0) [node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=2140330107] libraries/ = SubResource("AnimationLibrary_d6t07") autoplay = &"Appear" [node name="Aliens" type="Node" parent="." unique_id=1083817569] unique_name_in_owner = true [node name="MeshInstance3D2" type="MeshInstance3D" parent="." unique_id=1379665069] transform = Transform3D(26.585, 0, 0, 0, 26.585, 0, 0, 0, 26.585, 0, 1.429512, 2.0852394) mesh = SubResource("SphereMesh_d6t07") surface_material_override/0 = SubResource("ShaderMaterial_yf5fn") [node name="MeshInstance3D3" type="MeshInstance3D" parent="." unique_id=655614315] transform = Transform3D(15.39, 0, 0, 0, -6.727183e-07, 15.39, 0, -15.39, -6.727183e-07, -0.12734604, 1.4227005, 3.4225216) mesh = SubResource("SphereMesh_w02y4") surface_material_override/0 = SubResource("StandardMaterial3D_ahe7j")