add DepthButton
This commit is contained in:
parent
e758168757
commit
47234f1bc1
9 changed files with 304 additions and 62 deletions
|
@ -1,8 +1,9 @@
|
|||
[gd_scene load_steps=5 format=2]
|
||||
[gd_scene load_steps=6 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://src/DepthButton.tscn" type="PackedScene" id=4]
|
||||
[ext_resource path="res://assets/taqin_theme.tres" type="Theme" id=5]
|
||||
|
||||
[node name="Main" type="Control"]
|
||||
|
@ -42,30 +43,35 @@ anchor_bottom = 0.0
|
|||
margin_right = 540.0
|
||||
margin_bottom = 560.0
|
||||
|
||||
[node name="VSplitContainer" type="VBoxContainer" parent="HSplitContainer"]
|
||||
margin_left = 548.0
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="HSplitContainer"]
|
||||
margin_left = 556.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="New Game" parent="HSplitContainer/VBoxContainer" instance=ExtResource( 4 )]
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_top = 206.0
|
||||
margin_right = 428.0
|
||||
margin_bottom = 276.0
|
||||
rect_min_size = Vector2( 0, 70 )
|
||||
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="Hints" parent="HSplitContainer/VBoxContainer" instance=ExtResource( 4 )]
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_top = 284.0
|
||||
margin_right = 428.0
|
||||
margin_bottom = 354.0
|
||||
rect_min_size = Vector2( 0, 70 )
|
||||
text = "Hints"
|
||||
|
||||
[node name="NewGamePanel" parent="." instance=ExtResource( 3 )]
|
||||
window_scale_factor = 0.9
|
||||
[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="button_down" from="HSplitContainer/VSplitContainer/Hints" to="HSplitContainer/Taquin" method="_on_Hints_button_down"]
|
||||
[connection signal="button_up" from="HSplitContainer/VSplitContainer/Hints" to="HSplitContainer/Taquin" method="_on_Hints_button_up"]
|
||||
[connection signal="pressed" from="HSplitContainer/VBoxContainer/New Game" to="." method="_on_New_game_pressed"]
|
||||
[connection signal="button_down" from="HSplitContainer/VBoxContainer/Hints" to="HSplitContainer/Taquin" method="_on_Hints_button_down"]
|
||||
[connection signal="button_up" from="HSplitContainer/VBoxContainer/Hints" to="HSplitContainer/Taquin" method="_on_Hints_button_up"]
|
||||
[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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue