update android scene

This commit is contained in:
Fabien Freling 2020-02-20 13:37:48 +01:00
parent c7bd92f895
commit 6a5e183472
3 changed files with 54 additions and 19 deletions

View file

@ -83,5 +83,5 @@ __meta__ = {
[node name="GameState" type="Node" parent="."]
script = ExtResource( 3 )
[connection signal="state_changed" from="GameState" to="." method="_on_GameState_state_changed"]
[connection signal="state_changed" from="GameState" to="HSplitContainer/Taquin" method="_on_GameState_state_changed"]
[connection signal="state_changed" from="GameState" to="." method="_on_GameState_state_changed"]

View file

@ -1,20 +1,53 @@
[gd_scene load_steps=3 format=2]
[gd_scene load_steps=4 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://assets/taqin_theme.tres" type="Theme" id=3]
[node name="Main" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 3 )
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Taquin" parent="." instance=ExtResource( 2 )]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -270.0
margin_top = -280.0
margin_right = 270.0
margin_bottom = 280.0
[connection signal="solved" from="Taquin" to="." method="_on_Taquin_solved"]
[node name="Panel" type="Panel" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VSplitContainer" type="VSplitContainer" parent="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 20.0
margin_top = 20.0
margin_right = -20.0
margin_bottom = -20.0
split_offset = 200
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CenterContainer" type="CenterContainer" parent="Panel/VSplitContainer"]
margin_right = 984.0
margin_bottom = 540.0
[node name="Taquin" parent="Panel/VSplitContainer/CenterContainer" instance=ExtResource( 2 )]
margin_left = 222.0
margin_right = 762.0
margin_bottom = 540.0
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/VSplitContainer"]
margin_top = 552.0
margin_right = 984.0
margin_bottom = 632.0
[node name="Hints" type="Button" parent="Panel/VSplitContainer/VBoxContainer"]
margin_right = 984.0
margin_bottom = 80.0
rect_min_size = Vector2( 0, 80 )
text = "HINTS"