2024-05-27 13:30:43 +03:00
|
|
|
[gd_scene load_steps=11 format=3 uid="uid://4smofj8ou0g7"]
|
2023-10-31 23:15:33 +02:00
|
|
|
|
2023-11-05 16:16:07 +02:00
|
|
|
[ext_resource type="Script" path="res://content/entities/light/light.gd" id="1_ykxy3"]
|
2023-11-05 22:32:50 +02:00
|
|
|
[ext_resource type="Script" path="res://content/functions/movable.gd" id="4_4sfxb"]
|
2023-11-12 18:36:23 +02:00
|
|
|
[ext_resource type="Material" uid="uid://vce66e7sbc3n" path="res://content/entities/light/light_on.tres" id="5_50gph"]
|
2024-05-24 22:08:27 +03:00
|
|
|
[ext_resource type="PackedScene" uid="uid://chrjqr4l7atrc" path="res://content/ui/components/color_wheel/color_wheel.tscn" id="5_qj75k"]
|
2023-11-29 23:24:38 +02:00
|
|
|
[ext_resource type="PackedScene" uid="uid://pk5k1q8bx0rj" path="res://content/ui/components/slider/slider.tscn" id="6_mhjlm"]
|
2024-05-09 13:40:41 +03:00
|
|
|
[ext_resource type="AudioStream" uid="uid://du7ur0lu28cvn" path="res://assets/sound/finger-snap.mp3" id="8_3togy"]
|
2024-01-28 18:30:01 +02:00
|
|
|
[ext_resource type="PackedScene" uid="uid://bsjqdvkt0u87c" path="res://content/ui/components/button/button.tscn" id="8_nhcff"]
|
2024-05-24 22:08:27 +03:00
|
|
|
[ext_resource type="Script" path="res://content/functions/camera_follower.gd" id="9_a7u7m"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://de34yde00ngkv" path="res://content/entities/light/settings.tscn" id="10_su84f"]
|
2023-10-31 23:15:33 +02:00
|
|
|
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_ukj14"]
|
2023-11-14 01:51:48 +02:00
|
|
|
radius = 0.05
|
2023-10-31 23:15:33 +02:00
|
|
|
|
2024-04-17 17:49:58 +03:00
|
|
|
[node name="Light" type="StaticBody3D"]
|
2023-11-28 16:14:21 +02:00
|
|
|
collision_mask = 0
|
2023-10-31 23:15:33 +02:00
|
|
|
script = ExtResource("1_ykxy3")
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
|
|
shape = SubResource("SphereShape3D_ukj14")
|
|
|
|
|
2023-11-05 22:32:50 +02:00
|
|
|
[node name="Movable" type="Node" parent="."]
|
|
|
|
script = ExtResource("4_4sfxb")
|
2024-05-01 18:42:38 +03:00
|
|
|
resizable = true
|
2023-11-12 18:36:23 +02:00
|
|
|
|
2024-05-27 13:30:43 +03:00
|
|
|
[node name="CameraFollower" type="Node" parent="." node_paths=PackedStringArray("focus_point")]
|
|
|
|
script = ExtResource("9_a7u7m")
|
|
|
|
enabled = false
|
2024-05-27 13:35:43 +03:00
|
|
|
focus_point = NodePath("../Settings")
|
2024-05-27 13:30:43 +03:00
|
|
|
|
2024-04-17 17:49:58 +03:00
|
|
|
[node name="Lightbulb" type="CSGCombiner3D" parent="."]
|
2023-11-12 18:36:23 +02:00
|
|
|
transform = Transform3D(1, 9.69949e-05, 0.000589194, -9.77749e-05, 0.999999, 0.00135802, -0.000589065, -0.00135808, 0.999999, 0, 0, 0)
|
|
|
|
material_override = ExtResource("5_50gph")
|
|
|
|
|
2024-04-17 17:49:58 +03:00
|
|
|
[node name="CSGSphere3D" type="CSGSphere3D" parent="Lightbulb"]
|
2023-11-12 18:36:23 +02:00
|
|
|
radius = 0.05
|
|
|
|
radial_segments = 36
|
|
|
|
rings = 12
|
|
|
|
|
2024-04-17 17:49:58 +03:00
|
|
|
[node name="CSGCylinder3D" type="CSGCylinder3D" parent="Lightbulb"]
|
2023-11-12 18:36:23 +02:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0485739, 0)
|
|
|
|
radius = 0.02
|
|
|
|
height = 0.03
|
|
|
|
sides = 36
|
|
|
|
|
2023-11-29 01:16:25 +02:00
|
|
|
[node name="Slider" parent="." instance=ExtResource("6_mhjlm")]
|
2024-04-25 01:22:27 +03:00
|
|
|
transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 0.08, 0, 0)
|
2023-11-29 01:16:25 +02:00
|
|
|
max = 100.0
|
|
|
|
value = 100.0
|
|
|
|
step = 1.0
|
2024-01-28 18:13:32 +02:00
|
|
|
|
2024-05-24 22:08:27 +03:00
|
|
|
[node name="ColorWheel" parent="." instance=ExtResource("5_qj75k")]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.15, 0, 0)
|
|
|
|
color = Color(0, 0.616667, 1, 1)
|
|
|
|
size = Vector3(0.15, 0.2, 0.01)
|
2024-01-28 18:30:01 +02:00
|
|
|
|
|
|
|
[node name="Modes" type="Node3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.11, 0)
|
|
|
|
|
|
|
|
[node name="Next" parent="Modes" instance=ExtResource("8_nhcff")]
|
2024-04-25 01:22:27 +03:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.04, 0, 0)
|
2024-01-28 18:30:01 +02:00
|
|
|
label = "navigate_next"
|
|
|
|
icon = true
|
|
|
|
|
|
|
|
[node name="Previous" parent="Modes" instance=ExtResource("8_nhcff")]
|
2024-04-25 01:22:27 +03:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.1, 0, 0)
|
2024-01-28 18:30:01 +02:00
|
|
|
label = "navigate_before"
|
|
|
|
icon = true
|
|
|
|
|
|
|
|
[node name="Label" type="Label3D" parent="Modes"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.01, 0, 0)
|
|
|
|
pixel_size = 0.001
|
|
|
|
text = "Default"
|
|
|
|
horizontal_alignment = 0
|
2024-05-09 13:40:41 +03:00
|
|
|
|
|
|
|
[node name="SnapSound" type="AudioStreamPlayer" parent="."]
|
|
|
|
stream = ExtResource("8_3togy")
|
|
|
|
volume_db = -20.0
|
2024-05-24 22:08:27 +03:00
|
|
|
|
|
|
|
[node name="Settings" parent="." instance=ExtResource("10_su84f")]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.29, 0, 0)
|