[gd_scene load_steps=8 format=2] [ext_resource path="res://ui/theme/main.theme" type="Theme" id=1] [ext_resource path="res://ui/menus/settings/Settings.gd" type="Script" id=2] [ext_resource path="res://ui/checkboxbutton/CheckBoxButton.gd" type="Script" id=3] [ext_resource path="res://ui/menus/settings/Preview.gd" type="Script" id=4] [ext_resource path="res://ui/colorpicker/ColorPickerButton.tscn" type="PackedScene" id=5] [ext_resource path="res://ui/gridmenu/GridMenuButton.tscn" type="PackedScene" id=6] [ext_resource path="res://assets/pieces/california/wP.png" type="Texture" id=7] [node name="Settings" type="CenterContainer"] anchor_right = 1.0 anchor_bottom = 1.0 theme = ExtResource( 1 ) script = ExtResource( 2 ) [node name="V" type="VBoxContainer" parent="."] margin_left = 241.0 margin_top = 151.0 margin_right = 1181.0 margin_bottom = 649.0 [node name="resetbutton" type="Button" parent="V"] margin_left = 382.0 margin_right = 558.0 margin_bottom = 54.0 focus_mode = 0 size_flags_horizontal = 4 text = "reset all ﰇ" [node name="H" type="HBoxContainer" parent="V"] margin_top = 64.0 margin_right = 940.0 margin_bottom = 498.0 mouse_filter = 2 size_flags_horizontal = 0 size_flags_vertical = 0 custom_constants/separation = 40 alignment = 1 [node name="V" type="VBoxContainer" parent="V/H"] margin_right = 400.0 margin_bottom = 434.0 [node name="Spacer" type="Control" parent="V/H/V"] margin_right = 400.0 margin_bottom = 24.0 rect_min_size = Vector2( 0, 24 ) [node name="TabContainer" type="TabContainer" parent="V/H/V"] margin_top = 34.0 margin_right = 400.0 margin_bottom = 222.0 rect_min_size = Vector2( 400, 0 ) size_flags_horizontal = 4 size_flags_vertical = 4 custom_constants/hseparation = 20 drag_to_rearrange_enabled = true [node name=" gameplay" type="VBoxContainer" parent="V/H/V/TabContainer"] anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 40.0 margin_top = 94.0 margin_right = -40.0 margin_bottom = -40.0 alignment = 1 [node name="premoves" type="Button" parent="V/H/V/TabContainer/ gameplay"] unique_name_in_owner = true margin_left = 78.0 margin_right = 241.0 margin_bottom = 54.0 hint_tooltip = "allows you to makea move before your opponent moves" size_flags_horizontal = 4 text = "premoves" script = ExtResource( 3 ) [node name=" view" type="VBoxContainer" parent="V/H/V/TabContainer"] visible = false anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 40.0 margin_top = 94.0 margin_right = -40.0 margin_bottom = -40.0 mouse_filter = 2 alignment = 1 [node name="board" type="HBoxContainer" parent="V/H/V/TabContainer/ view"] margin_right = 40.0 margin_bottom = 40.0 [node name="boardcolor1" parent="V/H/V/TabContainer/ view/board" instance=ExtResource( 5 )] unique_name_in_owner = true margin_left = 63.0 margin_right = 257.0 margin_bottom = 54.0 size_flags_horizontal = 4 text = "boardcolor1" [node name="boardcolor2" parent="V/H/V/TabContainer/ view/board" instance=ExtResource( 5 )] unique_name_in_owner = true margin_left = 63.0 margin_top = 64.0 margin_right = 257.0 margin_bottom = 118.0 size_flags_horizontal = 4 text = "boardcolor2" [node name="PieceSet" parent="V/H/V/TabContainer/ view/board" instance=ExtResource( 6 )] unique_name_in_owner = true margin_left = 60.0 margin_top = 128.0 margin_right = 260.0 margin_bottom = 188.0 rect_min_size = Vector2( 200, 60 ) size_flags_horizontal = 4 text = "piece set" icon = ExtResource( 7 ) offset = Vector2( 50, -50 ) [node name="screen" type="HBoxContainer" parent="V/H/V/TabContainer/ view"] margin_right = 40.0 margin_bottom = 40.0 [node name="FullscreenButton" type="Button" parent="V/H/V/TabContainer/ view/screen"] unique_name_in_owner = true margin_left = 77.0 margin_top = 262.0 margin_right = 243.0 margin_bottom = 316.0 hint_tooltip = "to go fullscreen" focus_mode = 0 size_flags_horizontal = 3 toggle_mode = true text = "fullscreen" script = ExtResource( 3 ) [node name="VsyncButton" type="Button" parent="V/H/V/TabContainer/ view/screen"] unique_name_in_owner = true margin_left = 109.0 margin_top = 326.0 margin_right = 210.0 margin_bottom = 380.0 hint_tooltip = "syncs the refresh rate with the monitor preventing screen tearing " focus_mode = 0 size_flags_horizontal = 3 toggle_mode = true text = "vsync" script = ExtResource( 3 ) [node name="Borderless" type="Button" parent="V/H/V/TabContainer/ view/screen"] unique_name_in_owner = true margin_left = 93.0 margin_top = 390.0 margin_right = 226.0 margin_bottom = 444.0 focus_mode = 0 size_flags_horizontal = 3 toggle_mode = true text = "borderless" script = ExtResource( 3 ) __meta__ = { "_editor_description_": "removes the borders of the screen" } [node name="rainbow" type="Button" parent="V/H/V/TabContainer/ view"] unique_name_in_owner = true margin_left = 400.0 margin_top = -128.0 margin_right = 646.0 margin_bottom = 306.0 hint_tooltip = "try it and see" focus_mode = 0 size_flags_horizontal = 4 toggle_mode = true text = "rgb background" align = 2 script = ExtResource( 3 ) [node name="V2" type="VBoxContainer" parent="V/H"] margin_left = 440.0 margin_right = 940.0 margin_bottom = 434.0 rect_min_size = Vector2( 300, 0 ) custom_constants/separation = 0 [node name="PreviewLabel" type="Label" parent="V/H/V2"] margin_right = 500.0 margin_bottom = 34.0 text = "Preview" align = 1 [node name="Preview" type="GridContainer" parent="V/H/V2"] unique_name_in_owner = true margin_top = 34.0 margin_right = 500.0 margin_bottom = 434.0 rect_min_size = Vector2( 500, 0 ) size_flags_horizontal = 4 custom_constants/vseparation = 0 custom_constants/hseparation = 0 columns = 5 script = ExtResource( 4 ) __meta__ = { "_edit_group_": true } [connection signal="pressed" from="V/resetbutton" to="." method="_on_resetbutton_pressed"] [connection signal="toggled" from="V/H/V/TabContainer/ gameplay/premoves" to="." method="set_premoves"] [connection signal="changed" from="V/H/V/TabContainer/ view/board/boardcolor1" to="." method="_on_boardcolor1_changed"] [connection signal="newcolor" from="V/H/V/TabContainer/ view/board/boardcolor1" to="." method="_on_boardcolor1_newcolor"] [connection signal="changed" from="V/H/V/TabContainer/ view/board/boardcolor2" to="." method="_on_boardcolor2_changed"] [connection signal="newcolor" from="V/H/V/TabContainer/ view/board/boardcolor2" to="." method="_on_boardcolor2_newcolor"] [connection signal="selected" from="V/H/V/TabContainer/ view/board/PieceSet" to="." method="_on_PieceSet_selected"] [connection signal="toggled" from="V/H/V/TabContainer/ view/screen/FullscreenButton" to="." method="_on_FullscreenButton_toggled"] [connection signal="toggled" from="V/H/V/TabContainer/ view/screen/VsyncButton" to="." method="_on_VsyncButton_toggled"] [connection signal="toggled" from="V/H/V/TabContainer/ view/screen/Borderless" to="." method="_on_Borderless_toggled"] [connection signal="toggled" from="V/H/V/TabContainer/ view/rainbow" to="." method="_on_rainbow_toggled"]