godot-puzzle/main.tscn

73 lines
2.5 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="Script" uid="uid://c8ywa33v3jq7t" path="res://board.gd" id="2_0xm2m"]
[ext_resource type="Texture2D" uid="uid://bl73lsxse1roj" path="res://undo.png" id="3_lquwl"]
[ext_resource type="Texture2D" uid="uid://cs7ofsoatkhpk" path="res://redo.png" id="4_7mycd"]
[ext_resource type="Texture2D" uid="uid://dkl0lf6wlidup" path="res://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")
[node name="Main" type="Node3D"]
script = ExtResource("1_ig7tw")
[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="Board" type="Node3D" parent="."]
script = ExtResource("2_0xm2m")
metadata/_custom_type_script = "uid://c8ywa33v3jq7t"
[node name="UndoButton" type="Button" parent="."]
offset_left = -5.0
offset_top = 1.0
offset_right = 101.0
offset_bottom = 115.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
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
icon = ExtResource("5_272bh")
flat = true
expand_icon = 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"]