[gd_scene load_steps=22 format=2]

[ext_resource path="res://Assets/Images/Dropper_Liquid.png" type="Texture" id=1]
[ext_resource path="res://Classes/3_Play/Canvas.gd" type="Script" id=2]
[ext_resource path="res://Assets/Misc/Quicksand-Bold.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://Assets/Images/Undo.png" type="Texture" id=4]
[ext_resource path="res://Classes/3_Play/Play.gd" type="Script" id=5]
[ext_resource path="res://Classes/3_Play/Color_Picker.gd" type="Script" id=6]
[ext_resource path="res://Classes/3_Play/Game_Timer.gd" type="Script" id=7]
[ext_resource path="res://Assets/Images/send.png" type="Texture" id=8]
[ext_resource path="res://Assets/Images/Dropper_Empty.png" type="Texture" id=9]
[ext_resource path="res://Screens/Components/Color_Button.tscn" type="PackedScene" id=10]
[ext_resource path="res://Screens/Styles/Game_Timer.tres" type="StyleBox" id=12]

[sub_resource type="StyleBoxFlat" id=1]
content_margin_left = 0.0
content_margin_right = 0.0
content_margin_top = 0.0
content_margin_bottom = 0.0
bg_color = Color( 1, 0.945098, 0.909804, 1 )
border_width_left = 20
border_width_top = 20
border_width_right = 20
border_width_bottom = 20
border_color = Color( 0.513726, 0.462745, 0.611765, 1 )
corner_radius_top_left = 50
corner_radius_top_right = 50
corner_radius_bottom_right = 50
corner_radius_bottom_left = 50
shadow_color = Color( 0.952941, 0.843137, 0.329412, 0 )

[sub_resource type="DynamicFont" id=2]
size = 90
outline_size = 5
outline_color = Color( 0.113725, 0.168627, 0.32549, 1 )
font_data = ExtResource( 3 )

[sub_resource type="StyleBoxFlat" id=3]
bg_color = Color( 1, 1, 1, 1 )
border_width_left = 3
border_width_top = 3
border_width_right = 3
border_width_bottom = 3
border_color = Color( 0, 0, 0, 1 )
corner_radius_top_left = 20
corner_radius_top_right = 20
corner_radius_bottom_right = 20
corner_radius_bottom_left = 20

[sub_resource type="StyleBoxFlat" id=4]
content_margin_left = 0.0
content_margin_right = 0.0
content_margin_top = 0.0
content_margin_bottom = 0.0
bg_color = Color( 1, 0.945098, 0.909804, 1 )
border_width_left = 20
border_width_top = 20
border_width_right = 20
border_width_bottom = 20
border_color = Color( 0.113725, 0.168627, 0.32549, 1 )
corner_radius_top_left = 50
corner_radius_top_right = 50
corner_radius_bottom_right = 50
corner_radius_bottom_left = 50
shadow_color = Color( 0.952941, 0.843137, 0.329412, 0 )

[sub_resource type="InputEventAction" id=5]
action = "ui_undo"
pressed = true

[sub_resource type="ShortCut" id=6]
shortcut = SubResource( 5 )

[sub_resource type="StyleBoxFlat" id=7]
content_margin_left = 0.0
content_margin_right = 0.0
content_margin_top = 0.0
content_margin_bottom = 0.0
bg_color = Color( 0.960784, 0.945098, 0.929412, 1 )
border_width_left = 20
border_width_top = 20
border_width_right = 20
border_width_bottom = 20
border_color = Color( 0.670588, 0.160784, 0.160784, 1 )
corner_radius_top_left = 50
corner_radius_top_right = 50
corner_radius_bottom_right = 50
corner_radius_bottom_left = 50

[sub_resource type="DynamicFont" id=8]
size = 90
outline_size = 5
outline_color = Color( 1, 0.639216, 0, 1 )
font_data = ExtResource( 3 )

[sub_resource type="InputEventAction" id=9]
action = "ui_accept"

[sub_resource type="ShortCut" id=10]
shortcut = SubResource( 9 )

[node name="Play" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": false,
"_edit_vertical_guides_": [ 960.0 ]
}

[node name="Name_Debug" type="LineEdit" parent="."]
visible = false
margin_left = 10.0
margin_top = 940.0
margin_right = 760.0
margin_bottom = 1070.0
focus_mode = 0
mouse_filter = 2
mouse_default_cursor_shape = 0
custom_styles/read_only = SubResource( 1 )
custom_fonts/font = SubResource( 2 )
custom_colors/selection_color = Color( 0.160784, 0.678431, 1, 0.235294 )
custom_colors/cursor_color = Color( 0.160784, 0.678431, 1, 0.392157 )
custom_colors/font_color_selected = Color( 1, 0.92549, 0.152941, 1 )
custom_colors/font_color = Color( 1, 0.92549, 0.152941, 1 )
custom_colors/font_color_uneditable = Color( 1, 0.92549, 0.152941, 1 )
text = "name debug"
align = 1
max_length = 255
editable = false
expand_to_text_length = true
selecting_enabled = false
placeholder_alpha = 1.0
caret_blink = true
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Canvas" type="Control" parent="."]
margin_right = 1920.0
margin_bottom = 1080.0
mouse_filter = 1
mouse_default_cursor_shape = 3
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Colors" type="Control" parent="."]
visible = false
margin_left = 10.0
margin_top = 170.0
margin_right = 340.0
margin_bottom = 180.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Color_Grid" type="GridContainer" parent="Colors"]
margin_top = 10.0
margin_right = 340.0
margin_bottom = 350.0
custom_constants/vseparation = 5
custom_constants/hseparation = 5
columns = 4
__meta__ = {
"_edit_use_anchors_": false
}

[node name="000000" parent="Colors/Color_Grid" instance=ExtResource( 10 )]
margin_right = 81.0
margin_bottom = 81.0
rect_pivot_offset = Vector2( 30, 70 )
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 3 )
custom_styles/focus = SubResource( 3 )
custom_styles/disabled = SubResource( 3 )
custom_styles/normal = SubResource( 3 )

[node name="1D2B53" parent="Colors/Color_Grid" instance=ExtResource( 10 )]
margin_left = 86.0
margin_right = 167.0
margin_bottom = 81.0
rect_pivot_offset = Vector2( 30, 70 )
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 3 )
custom_styles/focus = SubResource( 3 )
custom_styles/disabled = SubResource( 3 )
custom_styles/normal = SubResource( 3 )

[node name="7E2553" parent="Colors/Color_Grid" instance=ExtResource( 10 )]
margin_left = 172.0
margin_right = 253.0
margin_bottom = 81.0
rect_pivot_offset = Vector2( 30, 70 )
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 3 )
custom_styles/focus = SubResource( 3 )
custom_styles/disabled = SubResource( 3 )
custom_styles/normal = SubResource( 3 )

[node name="008751" parent="Colors/Color_Grid" instance=ExtResource( 10 )]
margin_left = 258.0
margin_right = 339.0
margin_bottom = 81.0
rect_pivot_offset = Vector2( 30, 70 )
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 3 )
custom_styles/focus = SubResource( 3 )
custom_styles/disabled = SubResource( 3 )
custom_styles/normal = SubResource( 3 )

[node name="AB5236" parent="Colors/Color_Grid" instance=ExtResource( 10 )]
margin_top = 86.0
margin_right = 81.0
margin_bottom = 167.0
rect_pivot_offset = Vector2( 30, 70 )
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 3 )
custom_styles/focus = SubResource( 3 )
custom_styles/disabled = SubResource( 3 )
custom_styles/normal = SubResource( 3 )

[node name="5F574F" parent="Colors/Color_Grid" instance=ExtResource( 10 )]
margin_left = 86.0
margin_top = 86.0
margin_right = 167.0
margin_bottom = 167.0
rect_pivot_offset = Vector2( 30, 70 )
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 3 )
custom_styles/focus = SubResource( 3 )
custom_styles/disabled = SubResource( 3 )
custom_styles/normal = SubResource( 3 )

[node name="C2C3C7" parent="Colors/Color_Grid" instance=ExtResource( 10 )]
margin_left = 172.0
margin_top = 86.0
margin_right = 253.0
margin_bottom = 167.0
rect_pivot_offset = Vector2( 30, 70 )
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 3 )
custom_styles/focus = SubResource( 3 )
custom_styles/disabled = SubResource( 3 )
custom_styles/normal = SubResource( 3 )

[node name="FFF1E8" parent="Colors/Color_Grid" instance=ExtResource( 10 )]
margin_left = 258.0
margin_top = 86.0
margin_right = 339.0
margin_bottom = 167.0
rect_pivot_offset = Vector2( 30, 70 )
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 3 )
custom_styles/focus = SubResource( 3 )
custom_styles/disabled = SubResource( 3 )
custom_styles/normal = SubResource( 3 )

[node name="FF004D" parent="Colors/Color_Grid" instance=ExtResource( 10 )]
margin_top = 172.0
margin_right = 81.0
margin_bottom = 253.0
rect_pivot_offset = Vector2( 30, 70 )
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 3 )
custom_styles/focus = SubResource( 3 )
custom_styles/disabled = SubResource( 3 )
custom_styles/normal = SubResource( 3 )

[node name="FFA300" parent="Colors/Color_Grid" instance=ExtResource( 10 )]
margin_left = 86.0
margin_top = 172.0
margin_right = 167.0
margin_bottom = 253.0
rect_pivot_offset = Vector2( 30, 70 )
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 3 )
custom_styles/focus = SubResource( 3 )
custom_styles/disabled = SubResource( 3 )
custom_styles/normal = SubResource( 3 )

[node name="FFEC27" parent="Colors/Color_Grid" instance=ExtResource( 10 )]
margin_left = 172.0
margin_top = 172.0
margin_right = 253.0
margin_bottom = 253.0
rect_pivot_offset = Vector2( 30, 70 )
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 3 )
custom_styles/focus = SubResource( 3 )
custom_styles/disabled = SubResource( 3 )
custom_styles/normal = SubResource( 3 )

[node name="00E436" parent="Colors/Color_Grid" instance=ExtResource( 10 )]
margin_left = 258.0
margin_top = 172.0
margin_right = 339.0
margin_bottom = 253.0
rect_pivot_offset = Vector2( 30, 70 )
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 3 )
custom_styles/focus = SubResource( 3 )
custom_styles/disabled = SubResource( 3 )
custom_styles/normal = SubResource( 3 )

[node name="29ADFF" parent="Colors/Color_Grid" instance=ExtResource( 10 )]
margin_top = 258.0
margin_right = 81.0
margin_bottom = 339.0
rect_pivot_offset = Vector2( 30, 70 )
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 3 )
custom_styles/focus = SubResource( 3 )
custom_styles/disabled = SubResource( 3 )
custom_styles/normal = SubResource( 3 )

[node name="83769C" parent="Colors/Color_Grid" instance=ExtResource( 10 )]
margin_left = 86.0
margin_top = 258.0
margin_right = 167.0
margin_bottom = 339.0
rect_pivot_offset = Vector2( 30, 70 )
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 3 )
custom_styles/focus = SubResource( 3 )
custom_styles/disabled = SubResource( 3 )
custom_styles/normal = SubResource( 3 )

[node name="FF77A8" parent="Colors/Color_Grid" instance=ExtResource( 10 )]
margin_left = 172.0
margin_top = 258.0
margin_right = 253.0
margin_bottom = 339.0
rect_pivot_offset = Vector2( 30, 70 )
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 3 )
custom_styles/focus = SubResource( 3 )
custom_styles/disabled = SubResource( 3 )
custom_styles/normal = SubResource( 3 )

[node name="FFCCAA" parent="Colors/Color_Grid" instance=ExtResource( 10 )]
margin_left = 258.0
margin_top = 258.0
margin_right = 339.0
margin_bottom = 339.0
rect_pivot_offset = Vector2( 30, 70 )
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 3 )
custom_styles/focus = SubResource( 3 )
custom_styles/disabled = SubResource( 3 )
custom_styles/normal = SubResource( 3 )

[node name="Controls" type="HBoxContainer" parent="."]
margin_left = 10.0
margin_top = 10.0
margin_right = 1910.0
margin_bottom = 171.667
custom_constants/separation = 10
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Color_Picker" type="Button" parent="Controls"]
margin_right = 161.667
margin_bottom = 161.0
rect_min_size = Vector2( 161.667, 0 )
focus_mode = 0
mouse_default_cursor_shape = 2
size_flags_vertical = 3
custom_styles/hover = SubResource( 4 )
custom_styles/pressed = SubResource( 4 )
custom_styles/disabled = SubResource( 1 )
custom_styles/normal = SubResource( 1 )
action_mode = 0
expand_icon = true
script = ExtResource( 6 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Liquid" type="Sprite" parent="Controls/Color_Picker"]
self_modulate = Color( 0, 0, 0, 1 )
position = Vector2( 80, 80 )
texture = ExtResource( 1 )

[node name="Dropper" type="Sprite" parent="Controls/Color_Picker"]
position = Vector2( 80, 80 )
texture = ExtResource( 9 )

[node name="Undo" type="Button" parent="Controls"]
margin_left = 171.0
margin_right = 332.667
margin_bottom = 161.0
rect_min_size = Vector2( 161.667, 0 )
hint_tooltip = "Ctrl+Z"
focus_mode = 0
mouse_default_cursor_shape = 2
size_flags_vertical = 3
custom_styles/hover = SubResource( 4 )
custom_styles/pressed = SubResource( 4 )
custom_styles/disabled = SubResource( 1 )
custom_styles/normal = SubResource( 1 )
shortcut_in_tooltip = false
action_mode = 0
shortcut = SubResource( 6 )
icon = ExtResource( 4 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Title_Mask" type="Panel" parent="Controls"]
margin_left = 342.0
margin_right = 1340.0
margin_bottom = 161.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/panel = SubResource( 7 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Title" type="LineEdit" parent="Controls/Title_Mask"]
margin_right = 1000.0
margin_bottom = 160.0
mouse_filter = 2
custom_styles/read_only = SubResource( 1 )
custom_styles/focus = SubResource( 4 )
custom_styles/normal = SubResource( 1 )
custom_fonts/font = SubResource( 2 )
custom_colors/selection_color = Color( 0.160784, 0.678431, 1, 0.235294 )
custom_colors/cursor_color = Color( 0.160784, 0.678431, 1, 0.392157 )
custom_colors/font_color_selected = Color( 1, 0.92549, 0.152941, 1 )
custom_colors/font_color = Color( 1, 0.92549, 0.152941, 1 )
custom_colors/font_color_uneditable = Color( 1, 0.92549, 0.152941, 1 )
align = 1
max_length = 255
placeholder_text = "guess word"
placeholder_alpha = 1.0
caret_blink = true
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Game_Timer" type="Label" parent="Controls"]
margin_left = 1350.0
margin_right = 1630.0
margin_bottom = 161.0
rect_min_size = Vector2( 280, 0 )
size_flags_vertical = 3
custom_styles/normal = ExtResource( 12 )
custom_fonts/font = SubResource( 8 )
custom_colors/font_color = Color( 1, 0.92549, 0.152941, 1 )
text = "0:00"
align = 1
valign = 1
clip_text = true
script = ExtResource( 7 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Countdown" type="Timer" parent="Controls/Game_Timer"]
autostart = true

[node name="Send" type="Button" parent="Controls"]
margin_left = 1640.0
margin_right = 1900.0
margin_bottom = 161.0
rect_min_size = Vector2( 260, 0 )
focus_mode = 0
mouse_default_cursor_shape = 2
size_flags_vertical = 3
custom_styles/hover = SubResource( 4 )
custom_styles/pressed = SubResource( 4 )
custom_styles/disabled = SubResource( 1 )
custom_styles/normal = SubResource( 1 )
shortcut = SubResource( 10 )
icon = ExtResource( 8 )
align = 0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Pause" type="ColorRect" parent="."]
visible = false
margin_right = 1920.0
margin_bottom = 1080.0
color = Color( 0.760784, 0.764706, 0.780392, 0.392157 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Waiting_Label" type="Label" parent="Pause"]
margin_left = 200.0
margin_top = 460.0
margin_right = 1720.0
margin_bottom = 620.0
custom_styles/normal = ExtResource( 12 )
custom_fonts/font = SubResource( 8 )
custom_colors/font_color = Color( 1, 0.92549, 0.152941, 1 )
text = "Waiting for X"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="Controls/Undo" to="Canvas" method="undo"]
[connection signal="game_timer_expired" from="Controls/Game_Timer" to="." method="_on_Game_Timer_expired"]
[connection signal="timeout" from="Controls/Game_Timer/Countdown" to="Controls/Game_Timer" method="_on_Countdown_timeout"]
[connection signal="button_down" from="Controls/Send" to="." method="_on_Send_button_down"]
