taqin/src/Main.tscn

67 lines
2.1 KiB
Plaintext

[gd_scene load_steps=5 format=2]
[ext_resource path="res://src/Main.gd" type="Script" id=1]
[ext_resource path="res://src/Taquin.tscn" type="PackedScene" id=2]
[ext_resource path="res://src/NewGamePanel.tscn" type="PackedScene" id=3]
[ext_resource path="res://assets/taqin_theme.tres" type="Theme" id=5]
[node name="Main" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 5 )
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Background" type="Panel" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HSplitContainer" type="HSplitContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 20.0
margin_top = 20.0
margin_right = -20.0
margin_bottom = -20.0
custom_constants/separation = 0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Taquin" parent="HSplitContainer" instance=ExtResource( 2 )]
margin_right = 540.0
margin_bottom = 560.0
rows = 4
columns = 4
[node name="VSplitContainer" type="VBoxContainer" parent="HSplitContainer"]
margin_left = 548.0
margin_right = 984.0
margin_bottom = 560.0
alignment = 1
[node name="New game" type="Button" parent="HSplitContainer/VSplitContainer"]
margin_top = 233.0
margin_right = 436.0
margin_bottom = 278.0
text = "NEW GAME"
[node name="Hints" type="Button" parent="HSplitContainer/VSplitContainer"]
margin_top = 282.0
margin_right = 436.0
margin_bottom = 327.0
text = "HINTS"
[node name="NewGamePanel" parent="." instance=ExtResource( 3 )]
[connection signal="state_changed" from="HSplitContainer/Taquin" to="." method="_on_Taquin_state_changed"]
[connection signal="pressed" from="HSplitContainer/VSplitContainer/New game" to="." method="_on_New_game_pressed"]
[connection signal="about_to_show" from="NewGamePanel" to="." method="_on_NewGamePanel_about_to_show"]
[connection signal="popup_hide" from="NewGamePanel" to="." method="_on_NewGamePanel_popup_hide"]
[connection signal="start_triggered" from="NewGamePanel" to="HSplitContainer/Taquin" method="_on_NewGamePanel_start_triggered"]