265 lines
8.7 KiB
Plaintext
265 lines
8.7 KiB
Plaintext
[gd_scene load_steps=8 format=3 uid="uid://cqv0qxebb6ago"]
|
|
|
|
[ext_resource type="Script" uid="uid://rcrqfnlhe4bb" path="res://scripts/configuration.gd" id="1_hc4xr"]
|
|
|
|
[sub_resource type="ViewportTexture" id="ViewportTexture_glv2v"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kporg"]
|
|
bg_color = Color(0.196078, 0.309804, 0.368627, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_hc4xr"]
|
|
bg_color = Color(0.588235, 0.654902, 0.686275, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7wcdq"]
|
|
bg_color = Color(0.588235, 0.654902, 0.686275, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_lditi"]
|
|
bg_color = Color(0.196078, 0.309804, 0.368627, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_sb302"]
|
|
bg_color = Color(0.8, 0.8, 0.8, 1)
|
|
|
|
[node name="Configuration" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_hc4xr")
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="ScrollContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_constants/margin_left = 30
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer/MarginContainer"]
|
|
layout_direction = 2
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 10
|
|
|
|
[node name="Label8" type="Label" parent="ScrollContainer/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.196078, 0.309804, 0.368627, 1)
|
|
theme_override_font_sizes/font_size = 40
|
|
text = "CONFIGURACIÓN"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="Label6" type="Label" parent="ScrollContainer/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.196078, 0.309804, 0.368627, 1)
|
|
theme_override_font_sizes/font_size = 30
|
|
text = "Seleccionar jugador"
|
|
vertical_alignment = 3
|
|
|
|
[node name="PlayersMenu" type="MenuButton" parent="ScrollContainer/MarginContainer/VBoxContainer"]
|
|
custom_minimum_size = Vector2(1000, 40)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 4
|
|
text = "Jugadores "
|
|
icon = SubResource("ViewportTexture_glv2v")
|
|
flat = false
|
|
item_count = 2
|
|
popup/item_0/text = "Jose Manuel"
|
|
popup/item_0/id = 0
|
|
popup/item_1/text = "Maria Carmen"
|
|
popup/item_1/id = 1
|
|
|
|
[node name="Label" type="Label" parent="ScrollContainer/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.196078, 0.309804, 0.368627, 1)
|
|
theme_override_font_sizes/font_size = 30
|
|
text = "Seleccionar color de fondo"
|
|
|
|
[node name="bg_color_picker" type="ColorPickerButton" parent="ScrollContainer/MarginContainer/VBoxContainer"]
|
|
custom_minimum_size = Vector2(200, 100)
|
|
layout_direction = 2
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
color = Color(1, 1, 1, 1)
|
|
|
|
[node name="Label5" type="Label" parent="ScrollContainer/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.196078, 0.309804, 0.368627, 1)
|
|
theme_override_font_sizes/font_size = 30
|
|
text = "Seleccionar formas"
|
|
|
|
[node name="Label9" type="Label" parent="ScrollContainer/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
|
text = "Facil"
|
|
|
|
[node name="EasyContainer" type="HBoxContainer" parent="ScrollContainer/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label10" type="Label" parent="ScrollContainer/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
|
text = "Medio"
|
|
|
|
[node name="MediumContainer" type="HBoxContainer" parent="ScrollContainer/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label11" type="Label" parent="ScrollContainer/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
|
text = "Dificil"
|
|
|
|
[node name="HardContainer" type="HBoxContainer" parent="ScrollContainer/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label7" type="Label" parent="ScrollContainer/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.196078, 0.309804, 0.368627, 1)
|
|
text = "Formas seleccionados(Orden)"
|
|
|
|
[node name="FlowContainer" type="FlowContainer" parent="ScrollContainer/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label2" type="Label" parent="ScrollContainer/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.196078, 0.309804, 0.368627, 1)
|
|
theme_override_font_sizes/font_size = 30
|
|
text = "Seleccionar color de línea"
|
|
|
|
[node name="line_color_picker" type="ColorPickerButton" parent="ScrollContainer/MarginContainer/VBoxContainer"]
|
|
custom_minimum_size = Vector2(200, 100)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
color = Color(0, 0, 0.941176, 1)
|
|
|
|
[node name="Label3" type="Label" parent="ScrollContainer/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.196078, 0.309804, 0.368627, 1)
|
|
theme_override_font_sizes/font_size = 30
|
|
text = "Seleccionar tamaño de la forma"
|
|
|
|
[node name="size_slider" type="HSlider" parent="ScrollContainer/MarginContainer/VBoxContainer"]
|
|
custom_minimum_size = Vector2(1000, 30)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 4
|
|
min_value = 0.1
|
|
max_value = 0.6
|
|
step = 0.1
|
|
value = 0.5
|
|
|
|
[node name="Label4" type="Label" parent="ScrollContainer/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.196078, 0.309804, 0.368627, 1)
|
|
theme_override_font_sizes/font_size = 30
|
|
text = "Selecciona grosor de la línea"
|
|
|
|
[node name="width_slider" type="HSlider" parent="ScrollContainer/MarginContainer/VBoxContainer"]
|
|
custom_minimum_size = Vector2(1000, 30)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 4
|
|
min_value = 40.0
|
|
max_value = 70.0
|
|
value = 50.0
|
|
|
|
[node name="play_button" type="Button" parent="ScrollContainer/MarginContainer/VBoxContainer"]
|
|
custom_minimum_size = Vector2(1000, 70)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_kporg")
|
|
text = "INICAR JUEGO"
|
|
|
|
[node name="LogInWindow" type="Window" parent="."]
|
|
initial_position = 1
|
|
size = Vector2i(500, 230)
|
|
visible = false
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="LogInWindow"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0.8, 0.8, 0.8, 1)
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="LogInWindow"]
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -20.0
|
|
offset_top = -20.0
|
|
offset_right = 20.0
|
|
offset_bottom = 20.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/separation = 10
|
|
|
|
[node name="Label" type="Label" parent="LogInWindow/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.196078, 0.309804, 0.368627, 1)
|
|
text = "Correo electronico_"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="EmailInput" type="LineEdit" parent="LogInWindow/VBoxContainer"]
|
|
custom_minimum_size = Vector2(400, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
theme_override_colors/font_color = Color(0.196078, 0.309804, 0.368627, 1)
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_hc4xr")
|
|
|
|
[node name="Label2" type="Label" parent="LogInWindow/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.196078, 0.309804, 0.368627, 1)
|
|
text = "Contraseña:"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="PasswordInput" type="LineEdit" parent="LogInWindow/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.196078, 0.309804, 0.368627, 1)
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_7wcdq")
|
|
|
|
[node name="LogInButton" type="Button" parent="LogInWindow/VBoxContainer"]
|
|
custom_minimum_size = Vector2(250, 50)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_lditi")
|
|
text = "Iniciar sesion"
|
|
|
|
[node name="Blocker" type="ColorRect" parent="."]
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0.196078, 0.309804, 0.368627, 0.784314)
|
|
|
|
[node name="Warning" type="Popup" parent="."]
|
|
borderless = false
|
|
|
|
[node name="Panel" type="Panel" parent="Warning"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_sb302")
|
|
|
|
[connection signal="pressed" from="ScrollContainer/MarginContainer/VBoxContainer/play_button" to="." method="_on_play_button_pressed"]
|
|
[connection signal="pressed" from="LogInWindow/VBoxContainer/LogInButton" to="." method="_on_log_in_button_pressed"]
|