diff --git a/export_presets.cfg b/export_presets.cfg index 1e0bd9d..7f425fc 100644 --- a/export_presets.cfg +++ b/export_presets.cfg @@ -15,9 +15,13 @@ script_encryption_key="" [preset.0.options] graphics/32_bits_framebuffer=true +xr_features/xr_mode=0 +xr_features/degrees_of_freedom=0 +xr_features/hand_tracking=0 one_click_deploy/clear_previous_install=false -custom_package/debug="" -custom_package/release="" +custom_template/debug="" +custom_template/release="" +custom_template/use_custom_build=false command_line/extra_args="" version/code=1 version/name="1.0" @@ -31,11 +35,9 @@ screen/support_normal=true screen/support_large=true screen/support_xlarge=true screen/opengl_debug=false -launcher_icons/xxxhdpi_192x192="" -launcher_icons/xxhdpi_144x144="" -launcher_icons/xhdpi_96x96="" -launcher_icons/hdpi_72x72="" -launcher_icons/mdpi_48x48="" +launcher_icons/main_192x192="" +launcher_icons/adaptive_foreground_432x432="" +launcher_icons/adaptive_background_432x432="" keystore/debug="" keystore/debug_user="" keystore/debug_password="" diff --git a/src/Main.tscn b/src/Main.tscn index 888ce4d..e33d5a1 100644 --- a/src/Main.tscn +++ b/src/Main.tscn @@ -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"] diff --git a/src/MainMobile.tscn b/src/MainMobile.tscn index 2cab8a9..27cf6b9 100644 --- a/src/MainMobile.tscn +++ b/src/MainMobile.tscn @@ -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"