godot-puzzle/main.tscn

84 lines
2.7 KiB
Text

[gd_scene load_steps=9 format=3 uid="uid://lrk2whqxl0w0"]
[ext_resource type="Script" uid="uid://c707s0tgd88pg" path="res://main.gd" id="1_ig7tw"]
[ext_resource type="PackedScene" uid="uid://de1snxsqng03d" path="res://level/level_1.tscn" id="2_lquwl"]
[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_ig7tw"]
ground_bottom_color = Color(0.270778, 0.538085, 0.397052, 1)
[sub_resource type="Sky" id="Sky_0xm2m"]
sky_material = SubResource("ProceduralSkyMaterial_ig7tw")
[sub_resource type="Environment" id="Environment_ig7tw"]
background_mode = 2
sky = SubResource("Sky_0xm2m")
ambient_light_color = Color(1, 1, 1, 1)
[node name="Main" type="Node3D"]
script = ExtResource("1_ig7tw")
[node name="Board" parent="." instance=ExtResource("2_lquwl")]
[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="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_ig7tw")
[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
[connection signal="pressed" from="UndoButton" to="." method="undo"]
[connection signal="pressed" from="RedoButton" to="." method="redo"]
[connection signal="pressed" from="RestartButton" to="." method="restart"]