123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379 |
- [gd_scene load_steps=23 format=3 uid="uid://37j1wgn5e8e"]
- [ext_resource type="Script" path="res://controls.gd" id="1_ojycn"]
- [sub_resource type="PhysicalSkyMaterial" id="PhysicalSkyMaterial_i2lbx"]
- ground_color = Color(1, 1, 1, 1)
- [sub_resource type="Sky" id="Sky_rtoqf"]
- sky_material = SubResource("PhysicalSkyMaterial_i2lbx")
- [sub_resource type="Environment" id="Environment_ixbrf"]
- background_mode = 2
- sky = SubResource("Sky_rtoqf")
- ambient_light_source = 2
- ambient_light_color = Color(1, 1, 1, 1)
- ambient_light_energy = 0.3
- tonemap_mode = 2
- tonemap_white = 6.0
- [sub_resource type="BoxMesh" id="BoxMesh_rpkrt"]
- size = Vector3(16, 16, 16)
- [sub_resource type="Gradient" id="Gradient_bk8jh"]
- [sub_resource type="FastNoiseLite" id="FastNoiseLite_p8y4k"]
- fractal_octaves = 10
- [sub_resource type="NoiseTexture2D" id="NoiseTexture2D_hdp3i"]
- seamless = true
- color_ramp = SubResource("Gradient_bk8jh")
- noise = SubResource("FastNoiseLite_p8y4k")
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_eicib"]
- albedo_color = Color(0.317647, 0.317647, 0.317647, 1)
- albedo_texture = SubResource("NoiseTexture2D_hdp3i")
- roughness_texture = SubResource("NoiseTexture2D_hdp3i")
- uv1_scale = Vector3(12, 8, 1)
- texture_filter = 5
- [sub_resource type="BoxMesh" id="BoxMesh_1f2ne"]
- size = Vector3(15, 1, 2)
- [sub_resource type="SphereMesh" id="SphereMesh_q0pwk"]
- radius = 2.0
- height = 4.0
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ekrgh"]
- albedo_color = Color(0.266667, 0.666667, 1, 1)
- [sub_resource type="TextMesh" id="TextMesh_oxha3"]
- text = "Billboard!"
- font_size = 72
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wvbit"]
- metallic = 0.91
- roughness = 0.14
- emission_enabled = true
- emission = Color(0.733333, 0.733333, 0.733333, 1)
- clearcoat_enabled = true
- clearcoat_roughness = 1.0
- backlight = Color(0.74902, 0.976471, 0, 1)
- disable_receive_shadows = true
- billboard_mode = 1
- billboard_keep_scale = true
- grow_amount = 4.497
- [sub_resource type="TorusMesh" id="TorusMesh_44mpc"]
- inner_radius = 2.5
- outer_radius = 3.5
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_i8ybo"]
- transparency = 1
- blend_mode = 1
- albedo_color = Color(0.0666667, 0.313726, 0.768627, 1)
- [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_r08do"]
- emission_shape = 3
- emission_box_extents = Vector3(8, 0, 8)
- sub_emitter_mode = 3
- sub_emitter_amount_at_collision = 1
- collision_mode = 1
- collision_friction = 0.0
- collision_bounce = 0.2
- [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jmbue"]
- shading_mode = 0
- [sub_resource type="SphereMesh" id="SphereMesh_f1qcl"]
- material = SubResource("StandardMaterial3D_jmbue")
- radius = 0.05
- height = 0.1
- radial_segments = 4
- rings = 1
- [sub_resource type="Animation" id="Animation_c3rry"]
- length = 0.001
- tracks/0/type = "bezier"
- tracks/0/imported = false
- tracks/0/enabled = true
- tracks/0/path = NodePath("Move/Text:position:x")
- tracks/0/interp = 1
- tracks/0/loop_wrap = true
- tracks/0/keys = {
- "handle_modes": PackedInt32Array(0),
- "points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
- "times": PackedFloat32Array(0)
- }
- tracks/1/type = "bezier"
- tracks/1/imported = false
- tracks/1/enabled = true
- tracks/1/path = NodePath("Move/Text:position:y")
- tracks/1/interp = 1
- tracks/1/loop_wrap = true
- tracks/1/keys = {
- "handle_modes": PackedInt32Array(0),
- "points": PackedFloat32Array(3.70893, -0.25, 0, 0.25, 0),
- "times": PackedFloat32Array(0)
- }
- tracks/2/type = "bezier"
- tracks/2/imported = false
- tracks/2/enabled = true
- tracks/2/path = NodePath("Move/Text:position:z")
- tracks/2/interp = 1
- tracks/2/loop_wrap = true
- tracks/2/keys = {
- "handle_modes": PackedInt32Array(0),
- "points": PackedFloat32Array(2, -0.25, 0, 0.25, 0),
- "times": PackedFloat32Array(0)
- }
- [sub_resource type="Animation" id="Animation_ww6nu"]
- resource_name = "move_text_around"
- length = 2.0
- loop_mode = 1
- tracks/0/type = "position_3d"
- tracks/0/imported = false
- tracks/0/enabled = true
- tracks/0/path = NodePath("Move/Text")
- tracks/0/interp = 2
- tracks/0/loop_wrap = true
- tracks/0/keys = PackedFloat32Array()
- tracks/1/type = "bezier"
- tracks/1/imported = false
- tracks/1/enabled = true
- tracks/1/path = NodePath("Move/Text:position:x")
- tracks/1/interp = 1
- tracks/1/loop_wrap = true
- tracks/1/keys = {
- "handle_modes": PackedInt32Array(0, 0, 0),
- "points": PackedFloat32Array(0, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0),
- "times": PackedFloat32Array(0, 1, 2)
- }
- tracks/2/type = "bezier"
- tracks/2/imported = false
- tracks/2/enabled = true
- tracks/2/path = NodePath("Move/Text:position:y")
- tracks/2/interp = 1
- tracks/2/loop_wrap = true
- tracks/2/keys = {
- "handle_modes": PackedInt32Array(0, 0, 0),
- "points": PackedFloat32Array(3.70893, -0.25, 0, 0.25, 0, 3.70893, -0.25, 0, 0.25, 0, 3.70893, -0.25, 0, 0.25, 0),
- "times": PackedFloat32Array(0, 1, 2)
- }
- tracks/3/type = "bezier"
- tracks/3/imported = false
- tracks/3/enabled = true
- tracks/3/path = NodePath("Move/Text:position:z")
- tracks/3/interp = 1
- tracks/3/loop_wrap = true
- tracks/3/keys = {
- "handle_modes": PackedInt32Array(0, 0, 0),
- "points": PackedFloat32Array(-2, -0.25, 0, 0.25, 0, 2, -0.25, 0, 0.25, 0, -2, -0.25, 0, 0.25, 0),
- "times": PackedFloat32Array(0, 1, 2)
- }
- [sub_resource type="AnimationLibrary" id="AnimationLibrary_2gye4"]
- _data = {
- "RESET": SubResource("Animation_c3rry"),
- "move_text_around": SubResource("Animation_ww6nu")
- }
- [node name="Node3D" type="Node3D"]
- [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
- transform = Transform3D(-0.98244, -0.0593698, 0.176879, 0.0241111, 0.899674, 0.435897, -0.185013, 0.432507, -0.882444, 0.181812, 3.12655, 5.93493)
- shadow_enabled = true
- shadow_bias = 0.04
- shadow_blur = 2.0
- directional_shadow_fade_start = 1.0
- directional_shadow_max_distance = 35.0
- [node name="WorldEnvironment" type="WorldEnvironment" parent="."]
- environment = SubResource("Environment_ixbrf")
- [node name="Move" type="Node3D" parent="."]
- [node name="Ground" type="MeshInstance3D" parent="Move"]
- transform = Transform3D(-1, 0, -3.82137e-15, 0, 1, -8.74228e-08, 3.82137e-15, -8.74228e-08, -1, -7.45058e-09, -8, 0)
- mesh = SubResource("BoxMesh_rpkrt")
- skeleton = NodePath("../..")
- surface_material_override/0 = SubResource("StandardMaterial3D_eicib")
- [node name="GPUParticlesCollisionBox3D" type="GPUParticlesCollisionBox3D" parent="Move/Ground"]
- transform = Transform3D(-7.37408e-15, 4.37114e-08, -1, 8.74228e-08, 1, 4.37114e-08, 1, -8.74228e-08, -1.31061e-14, -7.45058e-09, 9.53674e-07, 9.53674e-07)
- size = Vector3(16, 16, 16)
- [node name="Flat" type="MeshInstance3D" parent="Move"]
- transform = Transform3D(1, 0, 0, 0, 0.996195, -0.0871557, 0, 0.0871557, 0.996195, 0, -0.5, 4.9)
- mesh = SubResource("BoxMesh_1f2ne")
- [node name="Sphere" type="MeshInstance3D" parent="Move"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
- mesh = SubResource("SphereMesh_q0pwk")
- skeleton = NodePath("../..")
- surface_material_override/0 = SubResource("StandardMaterial3D_ekrgh")
- [node name="GPUParticlesCollisionSphere3D" type="GPUParticlesCollisionSphere3D" parent="Move/Sphere"]
- radius = 2.0
- [node name="Text" type="MeshInstance3D" parent="Move"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.70893, 2)
- cast_shadow = 0
- mesh = SubResource("TextMesh_oxha3")
- surface_material_override/0 = SubResource("StandardMaterial3D_wvbit")
- [node name="Torus" type="MeshInstance3D" parent="Move"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
- mesh = SubResource("TorusMesh_44mpc")
- skeleton = NodePath("../..")
- surface_material_override/0 = SubResource("StandardMaterial3D_i8ybo")
- [node name="CameraHolder" type="Node3D" parent="Move"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
- [node name="RotationX" type="Node3D" parent="Move/CameraHolder"]
- [node name="Camera3D" type="Camera3D" parent="Move/CameraHolder/RotationX"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 7)
- [node name="GPUParticles3D" type="GPUParticles3D" parent="Move"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 13, 0)
- amount = 1000
- lifetime = 3.0
- fixed_fps = 0
- interpolate = false
- collision_base_size = 0.05
- visibility_aabb = AABB(-15.9834, -43.9765, -15.9858, 31.982, 43.9765, 31.9815)
- local_coords = true
- process_material = SubResource("ParticleProcessMaterial_r08do")
- draw_pass_1 = SubResource("SphereMesh_f1qcl")
- [node name="Controls" type="VBoxContainer" parent="." node_paths=PackedStringArray("camera", "camera_holder", "rotation_x", "node_to_move", "rigid_body")]
- offset_left = 16.0
- offset_top = 16.0
- offset_right = 350.0
- offset_bottom = 399.0
- theme_override_constants/separation = 10
- script = ExtResource("1_ojycn")
- camera = NodePath("../Move/CameraHolder/RotationX/Camera3D")
- camera_holder = NodePath("../Move/CameraHolder")
- rotation_x = NodePath("../Move/CameraHolder/RotationX")
- node_to_move = NodePath("../Move")
- rigid_body = NodePath("")
- [node name="HelpLabel" type="Label" parent="Controls"]
- unique_name_in_owner = true
- layout_mode = 2
- theme_override_colors/font_color = Color(1, 0.666667, 0.666667, 1)
- theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
- theme_override_constants/outline_size = 4
- text = "Double precision is not enabled in this engine build.
- Visible shaking is expected at high coordinate levels
- (±65,536 or more on any axis)."
- [node name="Button" type="Button" parent="Controls"]
- layout_mode = 2
- text = "Open Documentation"
- [node name="HSeparator" type="HSeparator" parent="Controls"]
- layout_mode = 2
- [node name="Coordinates" type="RichTextLabel" parent="Controls"]
- unique_name_in_owner = true
- custom_minimum_size = Vector2(0, 70)
- layout_mode = 2
- theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
- theme_override_constants/outline_size = 4
- bbcode_enabled = true
- text = "Object coordinates:"
- [node name="IncrementX" type="CheckButton" parent="Controls"]
- unique_name_in_owner = true
- custom_minimum_size = Vector2(320, 0)
- layout_mode = 2
- size_flags_horizontal = 0
- theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
- theme_override_constants/outline_size = 4
- button_pressed = true
- text = "Increment X (10,000 per second)"
- [node name="IncrementY" type="CheckButton" parent="Controls"]
- unique_name_in_owner = true
- custom_minimum_size = Vector2(320, 0)
- layout_mode = 2
- size_flags_horizontal = 0
- theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
- theme_override_constants/outline_size = 4
- text = "Increment Y (100,000 per second)"
- [node name="IncrementZ" type="CheckButton" parent="Controls"]
- unique_name_in_owner = true
- custom_minimum_size = Vector2(320, 0)
- layout_mode = 2
- size_flags_horizontal = 0
- theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
- theme_override_constants/outline_size = 4
- text = "Increment Z (1,000,000 per second)"
- [node name="GoTo" type="Label" parent="Controls"]
- layout_mode = 2
- theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
- theme_override_constants/outline_size = 4
- text = "Go to X coordinate:"
- [node name="HFlowContainer" type="HFlowContainer" parent="Controls"]
- layout_mode = 2
- [node name="Button" type="Button" parent="Controls/HFlowContainer"]
- layout_mode = 2
- text = "0 (Reset All)"
- [node name="Button2" type="Button" parent="Controls/HFlowContainer"]
- layout_mode = 2
- text = "10,000"
- [node name="Button3" type="Button" parent="Controls/HFlowContainer"]
- layout_mode = 2
- text = "100,000"
- [node name="Button4" type="Button" parent="Controls/HFlowContainer"]
- layout_mode = 2
- text = "1,000,000"
- [node name="Button5" type="Button" parent="Controls/HFlowContainer"]
- layout_mode = 2
- text = "10,000,000"
- [node name="Button6" type="Button" parent="Controls/HFlowContainer"]
- layout_mode = 2
- text = "100,000,000"
- [node name="Button7" type="Button" parent="Controls/HFlowContainer"]
- layout_mode = 2
- text = "1,000,000,000"
- [node name="Button8" type="Button" parent="Controls/HFlowContainer"]
- layout_mode = 2
- text = "1,000,000,000,000"
- [node name="Button9" type="Button" parent="Controls/HFlowContainer"]
- layout_mode = 2
- text = "10,000,000,000,000"
- [node name="AnimationPlayer" type="AnimationPlayer" parent="."]
- autoplay = "move_text_around"
- libraries = {
- "": SubResource("AnimationLibrary_2gye4")
- }
- [connection signal="pressed" from="Controls/Button" to="Controls" method="_on_open_documentation_pressed"]
- [connection signal="pressed" from="Controls/HFlowContainer/Button" to="Controls" method="_on_go_to_button_pressed" binds= [0]]
- [connection signal="pressed" from="Controls/HFlowContainer/Button2" to="Controls" method="_on_go_to_button_pressed" binds= [10000]]
- [connection signal="pressed" from="Controls/HFlowContainer/Button3" to="Controls" method="_on_go_to_button_pressed" binds= [100000]]
- [connection signal="pressed" from="Controls/HFlowContainer/Button4" to="Controls" method="_on_go_to_button_pressed" binds= [1000000]]
- [connection signal="pressed" from="Controls/HFlowContainer/Button5" to="Controls" method="_on_go_to_button_pressed" binds= [10000000]]
- [connection signal="pressed" from="Controls/HFlowContainer/Button6" to="Controls" method="_on_go_to_button_pressed" binds= [100000000]]
- [connection signal="pressed" from="Controls/HFlowContainer/Button7" to="Controls" method="_on_go_to_button_pressed" binds= [1000000000]]
- [connection signal="pressed" from="Controls/HFlowContainer/Button8" to="Controls" method="_on_go_to_button_pressed" binds= [1000000000000]]
- [connection signal="pressed" from="Controls/HFlowContainer/Button9" to="Controls" method="_on_go_to_button_pressed" binds= [10000000000000]]
|