godot-puzzle/main.tscn

100 lines
3.3 KiB
Text

[gd_scene load_steps=10 format=3 uid="uid://lrk2whqxl0w0"]
[ext_resource type="Script" uid="uid://c707s0tgd88pg" path="res://main.gd" id="1_ig7tw"]
[ext_resource type="Texture2D" uid="uid://crahyipmcudoy" path="res://ui/undo.png" id="3_lquwl"]
[ext_resource type="Texture2D" uid="uid://dyj5el5iro1cb" path="res://ui/redo.png" id="4_7mycd"]
[ext_resource type="Texture2D" uid="uid://cbb1q0usxd6ex" path="res://ui/restart.png" id="5_272bh"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_1bvp3"]
sky_top_color = Color(0.467272, 0.753409, 0.87431, 1)
sky_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)
ground_bottom_color = Color(0.200947, 0.396858, 0.21, 1)
ground_horizon_color = Color(0.538705, 0.699427, 0.772274, 1)
[sub_resource type="Sky" id="Sky_lquwl"]
sky_material = SubResource("ProceduralSkyMaterial_1bvp3")
[sub_resource type="Environment" id="Environment_7mycd"]
background_mode = 2
sky = SubResource("Sky_lquwl")
tonemap_mode = 2
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1bvp3"]
albedo_color = Color(0.250136, 0.493198, 0.284902, 1)
[sub_resource type="PlaneMesh" id="PlaneMesh_1bvp3"]
material = SubResource("StandardMaterial3D_1bvp3")
size = Vector2(200, 200)
[node name="Main" type="Node3D"]
script = ExtResource("1_ig7tw")
[node name="Sun" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.5, 0.866025, 0, -0.866025, 0.5, 0, 0, 0)
light_energy = 0.1
shadow_enabled = true
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_7mycd")
[node name="Camera" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 1.5, 0)
fov = 30.0
[node name="Sound" type="AudioStreamPlayer" parent="."]
[node name="TopLeft" type="VisibleOnScreenNotifier3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, -0.5, 0, -0.25)
aabb = AABB(-0.25, 0, -0.25, 2, 2, 2)
[node name="BottomRight" type="VisibleOnScreenNotifier3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.25, 0, 0.25)
aabb = AABB(0, 0, 0, 2, 2, 2)
[node name="UndoButton" type="Button" parent="."]
offset_left = -5.0
offset_top = 1.0
offset_right = 101.0
offset_bottom = 115.0
focus_mode = 0
icon = ExtResource("3_lquwl")
flat = true
expand_icon = true
[node name="RedoButton" type="Button" parent="."]
offset_left = 108.0
offset_top = 3.0
offset_right = 226.0
offset_bottom = 113.0
focus_mode = 0
icon = ExtResource("4_7mycd")
flat = true
expand_icon = true
[node name="RestartButton" type="Button" parent="."]
offset_left = 245.0
offset_top = 4.0
offset_right = 369.0
offset_bottom = 116.0
focus_mode = 0
icon = ExtResource("5_272bh")
flat = true
expand_icon = true
[node name="Clock" type="RichTextLabel" parent="."]
offset_left = 1063.0
offset_top = 28.0
offset_right = 1244.0
offset_bottom = 76.0
theme_override_font_sizes/normal_font_size = 32
text = "T = 0"
fit_content = true
[node name="Ground" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.1, 0)
mesh = SubResource("PlaneMesh_1bvp3")
[connection signal="pressed" from="UndoButton" to="." method="undo"]
[connection signal="pressed" from="RedoButton" to="." method="redo"]
[connection signal="pressed" from="RestartButton" to="." method="restart"]