2024-09-02 13:13:14 +02:00
|
|
|
[gd_scene load_steps=6 format=3 uid="uid://cj4uqgtnylppu"]
|
2019-11-20 13:54:16 +01:00
|
|
|
|
2024-09-02 13:13:14 +02:00
|
|
|
[ext_resource type="Script" path="res://src/Main.gd" id="1"]
|
|
|
|
[ext_resource type="PackedScene" path="res://src/Taquin.tscn" id="2"]
|
|
|
|
[ext_resource type="PackedScene" path="res://src/NewGamePanel.tscn" id="3"]
|
|
|
|
[ext_resource type="PackedScene" path="res://src/DepthButton.tscn" id="4"]
|
|
|
|
[ext_resource type="Theme" path="res://assets/taqin_theme.tres" id="5"]
|
2019-11-21 00:25:53 +01:00
|
|
|
|
|
|
|
[node name="Main" type="Control"]
|
2024-09-02 13:13:14 +02:00
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
2019-11-21 00:25:53 +01:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2024-09-02 13:13:14 +02:00
|
|
|
theme = ExtResource("5")
|
|
|
|
script = ExtResource("1")
|
2020-02-07 13:39:41 +01:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2019-11-21 00:25:53 +01:00
|
|
|
|
2020-02-19 13:43:49 +01:00
|
|
|
[node name="Background" type="Panel" parent="."]
|
2024-09-02 13:13:14 +02:00
|
|
|
layout_mode = 0
|
2020-02-19 13:43:49 +01:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2024-09-02 13:13:14 +02:00
|
|
|
theme = ExtResource("5")
|
2020-02-19 13:43:49 +01:00
|
|
|
|
2020-06-03 16:08:31 +02:00
|
|
|
[node name="GridContainer" type="GridContainer" parent="."]
|
2024-09-02 13:13:14 +02:00
|
|
|
layout_mode = 0
|
2019-12-10 13:55:03 +01:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2024-09-02 13:13:14 +02:00
|
|
|
offset_left = 20.0
|
|
|
|
offset_top = 20.0
|
|
|
|
offset_right = -20.0
|
|
|
|
offset_bottom = -20.0
|
2020-06-03 16:08:31 +02:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
2024-09-02 13:13:14 +02:00
|
|
|
theme_override_constants/h_separation = 10
|
|
|
|
theme_override_constants/v_separation = 10
|
2020-06-03 16:08:31 +02:00
|
|
|
columns = 2
|
2019-12-10 13:55:03 +01:00
|
|
|
|
2024-09-02 13:13:14 +02:00
|
|
|
[node name="Taquin" parent="GridContainer" groups=["Persist"] instance=ExtResource("2")]
|
|
|
|
layout_mode = 2
|
2020-06-10 17:15:33 +02:00
|
|
|
autoload_fresh_game = false
|
2019-12-10 13:55:03 +01:00
|
|
|
|
2020-06-03 16:08:31 +02:00
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="GridContainer"]
|
2024-09-02 13:13:14 +02:00
|
|
|
layout_mode = 2
|
2020-06-03 16:08:31 +02:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
2020-02-07 13:39:41 +01:00
|
|
|
alignment = 1
|
2019-12-10 13:55:03 +01:00
|
|
|
|
2024-09-02 13:13:14 +02:00
|
|
|
[node name="New Game" parent="GridContainer/VBoxContainer" instance=ExtResource("4")]
|
|
|
|
custom_minimum_size = Vector2(0, 70)
|
|
|
|
layout_mode = 2
|
2020-05-28 19:03:23 +02:00
|
|
|
text = "New Game"
|
2020-02-07 13:39:41 +01:00
|
|
|
|
2024-09-02 13:13:14 +02:00
|
|
|
[node name="Hints" parent="GridContainer/VBoxContainer" instance=ExtResource("4")]
|
|
|
|
custom_minimum_size = Vector2(0, 70)
|
|
|
|
layout_mode = 2
|
2020-05-28 19:03:23 +02:00
|
|
|
text = "Hints"
|
2020-01-04 19:22:11 +01:00
|
|
|
|
2024-09-02 13:13:14 +02:00
|
|
|
[node name="NewGamePanel" parent="." instance=ExtResource("3")]
|
|
|
|
pivot_offset = Vector2(4, 4)
|
|
|
|
|
|
|
|
[connection signal="about_to_popup" from="NewGamePanel" to="." method="_on_NewGamePanel_about_to_show"]
|
2020-04-13 17:54:11 +02:00
|
|
|
[connection signal="popup_hide" from="NewGamePanel" to="." method="_on_NewGamePanel_popup_hide"]
|